Window Framework for UI Toolkit Scripting v1.3.0
GWG.WindowFramework.WindowFramePositionDrawer Class Reference
Inheritance diagram for GWG.WindowFramework.WindowFramePositionDrawer:
Collaboration diagram for GWG.WindowFramework.WindowFramePositionDrawer:

Public Member Functions

override VisualElement CreatePropertyGUI (SerializedProperty property)

Private Member Functions

void CreateGrid (VisualElement gridContainer, SerializedProperty property)
Button CreatePositionButton (string labelText, int index, int currentValue, SerializedProperty property)
void UpdateAllButtonStyles (VisualElement gridContainer, int selectedIndex)
void UpdateButtonStyle (Button button, bool isSelected)

Static Private Attributes

const string description
static readonly string[] labels

Member Function Documentation

◆ CreateGrid()

void GWG.WindowFramework.WindowFramePositionDrawer.CreateGrid ( VisualElement gridContainer,
SerializedProperty property )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreatePositionButton()

Button GWG.WindowFramework.WindowFramePositionDrawer.CreatePositionButton ( string labelText,
int index,
int currentValue,
SerializedProperty property )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreatePropertyGUI()

override VisualElement GWG.WindowFramework.WindowFramePositionDrawer.CreatePropertyGUI ( SerializedProperty property)
inline
Here is the call graph for this function:

◆ UpdateAllButtonStyles()

void GWG.WindowFramework.WindowFramePositionDrawer.UpdateAllButtonStyles ( VisualElement gridContainer,
int selectedIndex )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateButtonStyle()

void GWG.WindowFramework.WindowFramePositionDrawer.UpdateButtonStyle ( Button button,
bool isSelected )
inlineprivate
Here is the caller graph for this function:

Member Data Documentation

◆ description

const string GWG.WindowFramework.WindowFramePositionDrawer.description
staticprivate
Initial value:
= "Initial Position:\n" +
"Select the initial window position.\n" +
"This is only the initial anchor point, " +
"the window can be moved after opening unless locked"

◆ labels

readonly string [] GWG.WindowFramework.WindowFramePositionDrawer.labels
staticprivate
Initial value:
=
{
"↖",
"↑",
"↗",
"←",
"•",
"→",
"↙",
"↓",
"↘"
}