Property | Type | Description | |
---|---|---|---|
Button | object | ||
ButtonDestroy | |||
ButtonEnalbed | |||
ButtonImportant | |||
ButtonOnClick | |||
ButtonOnMouseEnter | |||
ButtonOnMouseLeave | |||
ButtonText | |||
ButtonTextColor | |||
ButtonTexturePath | |||
ButtonToolTip | |||
ButtonVisibility | |||
ButtonVisible | |||
ClickHandlerType | |||
GameScenesVisibilityType | |||
IButton | |||
MouseEnterHandlerType | |||
MouseLeaveHandlerType | |||
TBManagerAdd | |||
TBManagerInstance | object | ||
ToolbarManager |
Method | Description | |
---|---|---|
AddButtonClickHandler ( Action |
Adds event handler to receive "on click" events.
|
|
AddButtonOnMouseEnterHandler ( Action |
Adds event handler that can be registered with to receive "on mouse enter" events.
|
|
AddButtonOnMouseLeaveHandler ( Action |
Adds event handler that can be registered with to receive "on mouse leave" events.
|
|
Destroy ( ) : void |
Permanently destroys this button so that it is no longer displayed. Should be used when a plugin is stopped to remove leftover buttons.
|
|
SetButtonVisibility ( ) : void |
Sets this button's visibility. Can be used in addition to or as a replacement for Visible.
|
|
TryWrapToolbarButton ( string ns, string id ) : |
If ToolbarManager is present, initializes a new instance of the VOID.ToolbarButtonWrapper class.
|
Method | Description | |
---|---|---|
AddButtonEventHandler ( |
||
ToolbarButtonWrapper ( object button ) : System |
Initializes a new instance of the VOID.ToolbarButtonWrapper class.
|
|
TryWrapToolbarManager ( ) : bool |
Wraps the ToolbarManager class, if present.
|
Method | Description | |
---|---|---|
ToolbarButtonWrapper ( ) : System |
public AddButtonClickHandler ( Action | ||
Handler | Action | Delegate to handle "on click" events |
return | void |
protected AddButtonEventHandler ( |
||
Event | ||
Handler | Action | |
return | void |
public AddButtonOnMouseEnterHandler ( Action | ||
Handler | Action | Delegate to handle "OnMouseEnter" events. |
return | void |
public AddButtonOnMouseLeaveHandler ( Action | ||
Handler | Action | Delegate to handle "OnMouseLeave" events. |
return | void |
protected ToolbarButtonWrapper ( object button ) : System | ||
button | object | |
return | System |
public static TryWrapToolbarButton ( string ns, string id ) : |
||
ns | string | Namespace, usually the plugin name. |
id | string | Identifier, unique per namespace. |
return |
protected static TryWrapToolbarManager ( ) : bool | ||
return | bool |
protected MethodInfo,System.Reflection ButtonDestroy | ||
return |
protected PropertyInfo,System.Reflection ButtonEnalbed | ||
return |
protected PropertyInfo,System.Reflection ButtonImportant | ||
return |
protected EventInfo,System.Reflection ButtonOnClick | ||
return |
protected EventInfo,System.Reflection ButtonOnMouseEnter | ||
return |
protected EventInfo,System.Reflection ButtonOnMouseLeave | ||
return |
protected PropertyInfo,System.Reflection ButtonText | ||
return |
protected PropertyInfo,System.Reflection ButtonTextColor | ||
return |
protected PropertyInfo,System.Reflection ButtonTexturePath | ||
return |
protected PropertyInfo,System.Reflection ButtonToolTip | ||
return |
protected PropertyInfo,System.Reflection ButtonVisibility | ||
return |
protected PropertyInfo,System.Reflection ButtonVisible | ||
return |
protected Type,System GameScenesVisibilityType | ||
return |
protected Type,System MouseEnterHandlerType | ||
return |
protected Type,System MouseLeaveHandlerType | ||
return |
protected static MethodInfo,System.Reflection TBManagerAdd | ||
return |