|
override void | HandlerAttached (Widget w) |
|
void | SetGroup (notnull SCR_AIGroup group) |
|
void | UpdateGroup (bool canJoin=true) |
|
void | UpdateGroupName () |
|
string | GetGroupName () |
|
int | GetGroupId () |
|
SCR_AIGroup | GetGroup () |
|
void | UpdateGroupPrivacy (bool isPrivate) |
|
void | UpdateButtonAvailability (SCR_PlayerControllerGroupComponent groupCtrl) |
|
void | UpdateGroupFrequency () |
|
void | UpdateGroupFlag () |
|
override void | SetSelected (bool selected) |
| Visually set the button as selected.
|
|
override void | HandlerDeattached (Widget w) |
|
override bool | OnFocus (Widget w, int x, int y) |
|
override bool | OnFocusLost (Widget w, int x, int y) |
|
Widget | GetList () |
|
GridLayoutWidget | GetGridList () |
|
void | ExpandList () |
|
void | CollapseList () |
|
void | SetParentHandler (SCR_DeployRequestUIBaseComponent parent) |
|
void | HideTooltip () |
|
void | Update (float dt) |
|
void | Lock (bool loadingAnim=false) |
| Lock the button (eg. during a request)
|
|
void | Unlock () |
| Unlock the button (eg. after receiving a request response)
|
|
void | SetFocused () |
| Set the button focused.
|
|
override bool | OnClick (Widget w, int x, int y, int button) |
|
override void | SetEnabled (bool enabled, bool animate=true) |
|
void | SetShouldUnlock (bool shouldUnlock) |
| Marks if the buttons should be unlocked when calling the Unlock() method.
|
|
void | SetTooltipAvailable (bool available) |
| Set if tooltip should be shown.
|
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
|
ImageWidget | GetImageWidget () |
|
void | SetImage (ResourceName texture, bool fromLocalStorage=false) |
|
void | SetImage (ResourceName imageSet, string imageName) |
|
string | GetImage (out string imageSet) |
|
void | SetToggled (bool toggled, bool animate=true, bool invokeChange=true, bool instant=false) |
|
bool | IsToggled () |
|
void | SetToggleable (bool togglable) |
|
bool | GetToggleable () |
|
void | ShowBorder (bool show, bool animate=true) |
|
bool | IsBorderShown () |
|
void | SetBackgroundColors (Color defColor=null, Color hoverColor=null, Color selectColor=null, Color selectHoverColor=null, Color clickColor=null) |
| Alternate way of setting button background colors through script.
|
|
void | ColorizeBackground (bool animate=true) |
|
void | SetHoverSound (string soundHover) |
|
void | SetClickedSound (string soundClicked) |
|
string | GetHoverSound () |
|
string | GetClickedSound () |
|
void | SetVisible (bool visible, bool animate=true) |
|
bool | IsEnabled () |
|
void | SetMouseOverToFocus (bool mouseOverToFocus) |
|
void | SetDisabledOpacity (float newDisabledOpacity) |
|
void | SetData (Managed data) |
| Store custom data.
|
|
Managed | GetData () |
| Get stored data.
|
|
Widget | GetRootWidget () |
|
bool | IsVisible () |
|
|
static void | SGetGroupName (notnull SCR_AIGroup group, notnull TextWidget widget) |
| Set the group name into a TextWidget widget.
|
|
static SCR_ButtonImageComponent | GetButtonImage (string name, Widget parent, bool searchAllChildren=true) |
|
static SCR_ButtonBaseComponent | GetButtonBase (string name, Widget parent, bool searchAllChildren=true) |
|
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
|
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
| Base method for component lookup through the widget library.
|
|
Component attached to the group button.