Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/cWidgetItem"
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cWidgetItem has no public fields. ==Funct...") |
(No difference)
|
Latest revision as of 23:02, 15 November 2020
|
|
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
cWidgetItem has no public fields.
Functions
| Return Type | Function And Description |
|---|---|
| void | AddProperty(const tWString &in asText) |
| void | AddProperty(const cGuiGfxElement@ apGfx) |
| int | GetIndex() |
| int | GetPropertyNum() |
| tWString | GetText() |
| int | GetUserValue() |
| bool | IsSelectable() |
| bool | IsSelected() |
| void | SetIndex(int alIdx) |
| void | SetSelectable(bool abX) |
| void | SetSelected(bool abX) |
| void | SetText(const tWString &in asText) |
| void | SetUserValue(int alValue) |
Details
AddProperty
AddProperty
GetIndex
int GetIndex()
Returns:
- int—
GetPropertyNum
int GetPropertyNum()
Returns:
- int—
GetText
const tWString& GetText()
Returns:
- const tWString&—
GetUserValue
int GetUserValue()
Returns:
- int—
IsSelectable
bool IsSelectable()
Returns:
- bool—
IsSelected
bool IsSelected()
Returns:
- bool—
SetIndex
void SetIndex(int alIdx)
Parameters
- alIdx (int) —
Returns:
- void
SetSelectable
void SetSelectable(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSelected
void SetSelected(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetText
SetUserValue
void SetUserValue(int alValue)
Parameters
- alValue (int) —
Returns:
- void