Hymn to Beauty
C++ 3D Engine
GUI::ScriptEditor Class Reference

Used to edit a script. More...

#include <ScriptEditor.hpp>

Public Member Functions

void Show ()
 Show the editor. More...
 
const ScriptFileGetScript () const
 Get the script file being edited. More...
 
void SetScript (ScriptFile *script)
 Set the script file to edit. More...
 
bool IsVisible () const
 Get whether the window is visible. More...
 
void SetVisible (bool visible)
 Set whether the window should be visible. More...
 

Detailed Description

Used to edit a script.

Member Function Documentation

◆ GetScript()

const ScriptFile * ScriptEditor::GetScript ( ) const

Get the script file being edited.

Returns
The script file being edited.

◆ IsVisible()

bool ScriptEditor::IsVisible ( ) const

Get whether the window is visible.

Returns
Whether the window is visible.

◆ SetScript()

void ScriptEditor::SetScript ( ScriptFile script)

Set the script file to edit.

Parameters
scriptScript file to edit.

◆ SetVisible()

void ScriptEditor::SetVisible ( bool  visible)

Set whether the window should be visible.

Parameters
visibleWhether the window should be visible.

◆ Show()

void ScriptEditor::Show ( )

Show the editor.


The documentation for this class was generated from the following files: