PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
UIPropertyAttachment Class Reference

Private Member Functions

void UIPropertyAttachment (Widget root)
 
void ~UIPropertyAttachment ()
 
bool OnClick (Widget w, int x, int y, int button)
 
void SetPos (float x, float y)
 
void SetSize (float width, float height)
 
void Show (EntityAI e, string slot_name, TStringArray att_items)
 
void Hide ()
 
bool IsVisible ()
 

Private Attributes

private Widget m_WgtRoot
 
private Widget m_WgtThis
 
private XComboBoxWidget m_WgtComboBox
 
private TextWidget m_WgtSlotName
 
private ref TStringArray m_ComboItems
 
private int m_PrevIndex
 
private EntityAI m_Obj
 
private int m_SlotID
 

Constructor & Destructor Documentation

◆ UIPropertyAttachment()

◆ ~UIPropertyAttachment()

void ~UIPropertyAttachment ( )
inlineprivate

References m_WgtComboBox, m_WgtRoot, and m_WgtThis.

Member Function Documentation

◆ Hide()

void Hide ( )
inlineprivate

References m_Obj, m_SlotID, and m_WgtThis.

◆ IsVisible()

bool IsVisible ( )
inlineprivate

◆ OnClick()

bool OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ SetPos()

void SetPos ( float  x,
float  y 
)
inlineprivate

References m_WgtThis, x, and y.

Referenced by UIScriptedMenu::Refresh().

◆ SetSize()

void SetSize ( float  width,
float  height 
)
inlineprivate

References m_WgtThis.

Referenced by UIScriptedMenu::Refresh().

◆ Show()

void Show ( EntityAI  e,
string  slot_name,
TStringArray  att_items 
)
inlineprivate

Field Documentation

◆ m_ComboItems

private ref TStringArray m_ComboItems
private

Referenced by OnClick(), Show(), and UIPropertyAttachment().

◆ m_Obj

private EntityAI m_Obj
private

Referenced by Hide(), OnClick(), and Show().

◆ m_PrevIndex

private int m_PrevIndex
private

Referenced by OnClick(), and Show().

◆ m_SlotID

private int m_SlotID
private

Referenced by Hide(), OnClick(), and Show().

◆ m_WgtComboBox

private XComboBoxWidget m_WgtComboBox
private

◆ m_WgtRoot

private Widget m_WgtRoot
private

◆ m_WgtSlotName

private TextWidget m_WgtSlotName
private

Referenced by Show(), and UIPropertyAttachment().

◆ m_WgtThis


The documentation for this class was generated from the following file: