◆ AddItem()
◆ CloseDropdown()
void SCR_CustomDropdownEditorUIComponent.CloseDropdown |
( |
| ) |
|
◆ GetOnChanged()
ScriptInvoker SCR_CustomDropdownEditorUIComponent.GetOnChanged |
( |
| ) |
|
- Returns
- On Change script invoker
◆ GetOnClosed()
ScriptInvoker SCR_CustomDropdownEditorUIComponent.GetOnClosed |
( |
| ) |
|
- Returns
- On Closed script invoker
◆ GetOnOpened()
ScriptInvoker SCR_CustomDropdownEditorUIComponent.GetOnOpened |
( |
| ) |
|
- Returns
- On Opened script invoker
◆ GetRootWidget()
Widget SCR_CustomDropdownEditorUIComponent.GetRootWidget |
( |
| ) |
|
◆ GetSelectedIndex()
int SCR_CustomDropdownEditorUIComponent.GetSelectedIndex |
( |
| ) |
|
Get selected index.
- Returns
- int get selected index
◆ HandlerAttached()
override void SCR_CustomDropdownEditorUIComponent.HandlerAttached |
( |
Widget |
w | ) |
|
◆ HandlerDeattached()
override void SCR_CustomDropdownEditorUIComponent.HandlerDeattached |
( |
Widget |
w | ) |
|
◆ IsOpened()
bool SCR_CustomDropdownEditorUIComponent.IsOpened |
( |
| ) |
|
If dropdown is open.
- Returns
- bool if dropdown is open
◆ OnDropDownClicked()
◆ OnDropDownFocus()
void SCR_CustomDropdownEditorUIComponent.OnDropDownFocus |
( |
| ) |
|
|
protected |
◆ OnInputDeviceIsGamepad()
void SCR_CustomDropdownEditorUIComponent.OnInputDeviceIsGamepad |
( |
bool |
isGamepad | ) |
|
|
protected |
◆ OnItemClicked()
◆ OnLMB()
void SCR_CustomDropdownEditorUIComponent.OnLMB |
( |
| ) |
|
|
protected |
◆ OnMenuActionLeft()
void SCR_CustomDropdownEditorUIComponent.OnMenuActionLeft |
( |
| ) |
|
|
protected |
◆ OnMouseEnter()
override bool SCR_CustomDropdownEditorUIComponent.OnMouseEnter |
( |
Widget |
w, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
◆ OnMouseLeave()
override bool SCR_CustomDropdownEditorUIComponent.OnMouseLeave |
( |
Widget |
w, |
|
|
Widget |
enterW, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
◆ OpenDropdown()
void SCR_CustomDropdownEditorUIComponent.OpenDropdown |
( |
int |
focusIndex = -1 | ) |
|
Open the dropdown.
- Parameters
-
[in] | focusIndex | set which button should be focused. Ignored if -1 |
◆ SetCurrentItem()
void SCR_CustomDropdownEditorUIComponent.SetCurrentItem |
( |
int |
index, |
|
|
bool |
callOnChanged |
|
) |
| |
Set current item selected in dropdown.
- Parameters
-
[in] | index | index of item |
[in] | callOnChanged | if the Event_OnChanged event should be called |
◆ SetDropdownEnable()
void SCR_CustomDropdownEditorUIComponent.SetDropdownEnable |
( |
bool |
enable | ) |
|
If enabled shows the dropdown arrow else it looks like a static header.
- Parameters
-
[in] | enabled | to set enabled or disabled |
◆ SetItemEnabled()
void SCR_CustomDropdownEditorUIComponent.SetItemEnabled |
( |
int |
index, |
|
|
bool |
enabled |
|
) |
| |
Set item enabled.
- Parameters
-
[in] | index | index of item |
[in] | enabled | enabled state |
◆ SetItemVisible()
void SCR_CustomDropdownEditorUIComponent.SetItemVisible |
( |
int |
index, |
|
|
bool |
visible |
|
) |
| |
Set item visible.
- Parameters
-
[in] | index | index of item |
[in] | visible | visible state |
◆ Event_OnChanged
ref ScriptInvoker SCR_CustomDropdownEditorUIComponent.Event_OnChanged |
|
protected |
◆ Event_OnDropdownClosed
ref ScriptInvoker SCR_CustomDropdownEditorUIComponent.Event_OnDropdownClosed |
|
protected |
◆ Event_OnDropdownOpened
ref ScriptInvoker SCR_CustomDropdownEditorUIComponent.Event_OnDropdownOpened |
|
protected |
◆ m_aItemButtons
◆ m_aModeUIInfo
◆ m_ArrowWidget
ImageWidget SCR_CustomDropdownEditorUIComponent.m_ArrowWidget |
|
protected |
◆ m_bHovered
bool SCR_CustomDropdownEditorUIComponent.m_bHovered |
|
protected |
◆ m_bIsEnabled
bool SCR_CustomDropdownEditorUIComponent.m_bIsEnabled = true |
|
protected |
◆ m_bIsOpened
bool SCR_CustomDropdownEditorUIComponent.m_bIsOpened |
|
protected |
◆ m_DropdownButton
◆ m_DropdownText
TextWidget SCR_CustomDropdownEditorUIComponent.m_DropdownText |
|
protected |
◆ m_DropdownTextName
string SCR_CustomDropdownEditorUIComponent.m_DropdownTextName |
|
protected |
◆ m_fButtonFadeSpeed
float SCR_CustomDropdownEditorUIComponent.m_fButtonFadeSpeed |
|
protected |
◆ m_fFadeDelayNextButton
float SCR_CustomDropdownEditorUIComponent.m_fFadeDelayNextButton |
|
protected |
◆ m_iAvailableActionsOffsetY
int SCR_CustomDropdownEditorUIComponent.m_iAvailableActionsOffsetY |
|
protected |
◆ m_iCloseOnIndex
int SCR_CustomDropdownEditorUIComponent.m_iCloseOnIndex |
|
protected |
◆ m_iSelectedItem
int SCR_CustomDropdownEditorUIComponent.m_iSelectedItem |
|
protected |
◆ m_ItemHolder
Widget SCR_CustomDropdownEditorUIComponent.m_ItemHolder |
|
protected |
◆ m_ListWidget
Widget SCR_CustomDropdownEditorUIComponent.m_ListWidget |
|
protected |
◆ m_ListWidgetStripeFadeComponent
◆ m_Root
Widget SCR_CustomDropdownEditorUIComponent.m_Root |
|
protected |
◆ m_sArrowWidgetName
string SCR_CustomDropdownEditorUIComponent.m_sArrowWidgetName |
|
protected |
◆ m_sDropdownButtonName
string SCR_CustomDropdownEditorUIComponent.m_sDropdownButtonName |
|
protected |
◆ m_sGamepadHintWidgetName
string SCR_CustomDropdownEditorUIComponent.m_sGamepadHintWidgetName |
|
protected |
◆ m_sItemHolderName
string SCR_CustomDropdownEditorUIComponent.m_sItemHolderName |
|
protected |
◆ m_sItemPrefab
ResourceName SCR_CustomDropdownEditorUIComponent.m_sItemPrefab |
|
protected |
◆ m_sListWidgetName
string SCR_CustomDropdownEditorUIComponent.m_sListWidgetName |
|
protected |
◆ m_sListWidgetStripeName
string SCR_CustomDropdownEditorUIComponent.m_sListWidgetStripeName |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Editor/UI/Components/Common/SCR_CustomDropdownEditorUIComponent.c