HPL3/Amnesia: Rebirth/Scripting/cWidgetItem

From Frictional Wiki
Jump to navigation Jump to search

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.

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

void AddProperty(const tWString &in asText)


Parameters

Returns:

  • void

AddProperty

void AddProperty(const cGuiGfxElement@ apGfx)


Parameters

Returns:

  • void

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

void SetText(const tWString &in asText)


Parameters

Returns:

  • void

SetUserValue

void SetUserValue(int alValue)


Parameters

  • alValue (int) —

Returns:

  • void

References

See all references...