![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| ResourceName | GetIconPath () |
| ResourceName | GetIcon () |
| ResourceName | GetImageSetPath () |
| string | GetIconSetName () |
| bool | HasIcon () |
| bool | SetIconTo (ImageWidget imageWidget) |
| override void | Log (string prefix=string.Empty, LogLevel logLevel=LogLevel.VERBOSE) |
| override void | CopyFrom (SCR_UIName source) |
Static Protected Member Functions | |
| static SCR_UIInfo | GetInfo (BaseContainer source, string varName) |
| static SCR_UIInfo | CreateInfo (UIInfo source) |
| static SCR_UIInfo | CreateInfo (LocalizedString name, LocalizedString description=LocalizedString.Empty, ResourceName icon=ResourceName.Empty, string iconSetName=string.Empty) |
| static SCR_UIInfo | CreatePlaceholderInfo (typename type) |
Protected Attributes | |
| ResourceName | Icon |
| string | IconSetName |
Class used to hold UI information. Data are intentionally READ ONLY, because the class is often used on prefabs, not instances. Instead of adding SetXXX() functions here, consider using specialized inherited class. Inspired by engine-driven UIInfo, but not related to it.
Definition at line 7 of file SCR_UIInfo.c.
|
inlineprotected |
Definition at line 188 of file SCR_UIInfo.c.
|
inlinestaticprotected |
Create SCR_UIInfo from basic params.
| name | |
| description | |
| icon | |
| iconSetName |
Definition at line 165 of file SCR_UIInfo.c.
|
inlinestaticprotected |
Create SCR_UIInfo from engine UIInfo.
| source | Source info |
Definition at line 146 of file SCR_UIInfo.c.
|
inlinestaticprotected |
Get placeholder info
| type | inherited from SCR_UIInfo |
Definition at line 179 of file SCR_UIInfo.c.
|
inlineprotected |
Definition at line 37 of file SCR_UIInfo.c.
|
inlineprotected |
Get icon. When using it to fill ImageWIdget, use SetIconTo() if possible. Especially important since the image can point to image set instead of plain texture!
Definition at line 20 of file SCR_UIInfo.c.
|
inlineprotected |
Returns Icon Set name if imageset
Definition at line 65 of file SCR_UIInfo.c.
|
inlineprotected |
Get Image Set. When using it to fill ImageWIdget, use SetIconTo() if possible. Especially important since the image can point to image set instead of plain texture!
Definition at line 47 of file SCR_UIInfo.c.
|
inlinestaticprotected |
Get UIInfo from a source object.
| source | Source object, most commonly entity or component source |
| varName | Variable name of UIInfo |
Definition at line 133 of file SCR_UIInfo.c.
|
inlineprotected |
Check if the info has an icon defined.
Definition at line 79 of file SCR_UIInfo.c.
|
inlineprotected |
| prefix | |
| logLevel |
Definition at line 123 of file SCR_UIInfo.c.
|
inlineprotected |
Set icon to given image widget. Use this function instead of retrieving the texture using GetIconPath() and setting it manually! When the texture is an image set, manual setting would not work.
| imageWidget | Target image widget |
Definition at line 102 of file SCR_UIInfo.c.
|
protected |
Definition at line 10 of file SCR_UIInfo.c.
|
protected |
Definition at line 13 of file SCR_UIInfo.c.