Cyrus Mod Loader
Loading...
Searching...
No Matches
ControlList Class Reference

#include <ControlList.h>

Inheritance diagram for ControlList:
ControlText Window PropertyClass

Public Member Functions

Color getTextColor ()
 
void setTextColor (Color val)
 
Color getSelectColor ()
 
void setSelectColor (Color val)
 
Color getHighlightColor ()
 
void setHighlightColor (Color val)
 
bool getBSortEnable ()
 
void setBSortEnable (bool val)
 
int getNSortByColumn ()
 
void setNSortByColumn (int val)
 
bool getBSortAscending ()
 
void setBSortAscending (bool val)
 
int getNHighlighted ()
 
void setNHighlighted (int val)
 
int getNSelected ()
 
void setNSelected (int val)
 
bool getBListInvalid ()
 
void setBListInvalid (bool val)
 
bool getBSortInvalid ()
 
void setBSortInvalid (bool val)
 
SharedPointer< Window > * getPScrollWin ()
 
void setPScrollWin (SharedPointer< Window > *val)
 
int getItemHeight ()
 
void setItemHeight (int val)
 
ControlList__ListItemState ** getItemNormalState ()
 
void setItemNormalState (ControlList__ListItemState **val)
 
ControlList__ListItemState ** getItemHighlightedState ()
 
void setItemHighlightedState (ControlList__ListItemState **val)
 
ControlList__ListItemState ** getItemSelectedState ()
 
void setItemSelectedState (ControlList__ListItemState **val)
 
ControlList__ListItemState ** getItemDisabledState ()
 
void setItemDisabledState (ControlList__ListItemState **val)
 
int ColumnCount ()
 
struct ControlList::Column * ColumnByIndex (int a0)
 
int AddColumn (int a0, Color a1, int a2, int a3)
 
int AddExistingColumn (struct ControlList::Column a0)
 
void SetColumn (int a0, struct ControlList::Column a1)
 
void RemoveColumn (int a0)
 
int ItemCount ()
 
std::wstring ItemByIndex (int a0, int a1)
 
int AddItem (std::wstring a0, int a1)
 
int AddSeperatedItems (std::wstring a0, std::wstring a1, int a2)
 
int SetItem (int a0, int a1, std::wstring a2)
 
void RemoveItem (int a0)
 
void SwapItems (int a0, int a1)
 
void MoveItem (int a0, int a1)
 
void RemoveAllItems ()
 
void RemoveAll ()
 
int Selected ()
 
int SortedItem (int a0)
 
void SetSelected (int a0)
 
void SetSortEnable (bool a0, bool a1)
 
void SetSort (int a0, bool a1)
 
- Public Member Functions inherited from ControlText
std::wstring getText () const
 Get the text of the control.
 
void setText (const std::wstring &text)
 Set the text of the control.
 
std::wstring getTooltip () const
 Get the tooltip text of the control.
 
void setTooltip (const std::wstring &tooltip)
 Set the tooltip text of the control.
 
bool isToggleEnabled () const
 Check if toggle is enabled.
 
void setToggleEnabled (bool enableToggle)
 Enable or disable toggle.
 
bool isDropShadowUsed () const
 Check if drop shadow is used.
 
void setDropShadowUsed (bool useDropShadow)
 Enable or disable drop shadow.
 
bool isOutlineUsed () const
 Check if outline is used.
 
void setOutlineUsed (bool useOutline)
 Enable or disable outline.
 
bool isWordWrapEnabled () const
 Check if word wrap is enabled.
 
void setWordWrapEnabled (bool enableWordWrap)
 Enable or disable word wrap.
 
int getLeadingAdjust () const
 Get the leading adjustment value.
 
void setLeadingAdjust (int leadingAdjust)
 Set the leading adjustment value.
 
- Public Member Functions inherited from Window
CYRUS int32_t getWindowID () const
 Retrieve the unique identifier for the Window.
 
CYRUS std::list< ClickResponder_t > getClickResponders ()
 
CYRUS std::string getName ()
 Retrieve the name of the Window.
 
CYRUS std::vector< std::shared_ptr< Window > > getChildren ()
 Retrieve the child Windows of this Window.
 
CYRUS WindowgetParent ()
 Get the Windows parent Window.
 
CYRUS std::string getFlags ()
 
CYRUS std::string getStyles ()
 
CYRUS void addFlag (uint32_t flag)
 Unconditionally sets the specified Window flag to 1.
 
CYRUS void addStyle (uint32_t style)
 Unconditionally sets the specified Window style to 1.
 
CYRUS void toggleFlag (uint32_t flag)
 Toggles the current value of the specified Window flag.
 
CYRUS void toggleStyle (uint32_t style)
 Toggles the current value of the specified Window style.
 
CYRUS void removeFlag (uint32_t flag)
 Unconditionally sets the specified Window flag to 0.
 
CYRUS void removeStyle (uint32_t style)
 Unconditionally sets the specified Window style to 0.
 
CYRUS RectgetTransform ()
 Get the transformation coordinates of the window.
 
CYRUS void setTransform (Rect in)
 Sets the transformation coordinates of the window.
 
CYRUS VectorI2D getParentOffset () const
 Get the offset of the window relative to its parent.
 
CYRUS float getTimeOnScreen () const
 Get the total time the window has been displayed on the screen.
 
CYRUS void setTimeOnScreen (float screenTime)
 Set the total time the window has been displayed on the screen.
 
CYRUS float getDisabledAlpha () const
 Get the alpha value when the window is disabled.
 
CYRUS void setFDisabledAlpha (float fDisabledAlpha)
 Set the alpha value for when the window is disabled.
 
CYRUS float getTargetAlpha () const
 Get the target alpha value of the window.
 
CYRUS void setFTargetAlpha (float fTargetAlpha)
 Set the target alpha value of the window.
 
CYRUS Vector2D getScale () const
 Get the scale of the window.
 
CYRUS void setScale (float x, float y)
 Sets the scale of the window.
 
CYRUS VectorI2D getOffset () const
 Get the offset of the window.
 
CYRUS void performScale (float factor)
 Scales the current Window, and all descendants, by the scale factor. If the scale factor is 2, the Window and it's descendants will be twice as large. If the scale factor is 0.5, the Window and it's descendants will be twice as small.
 
template<class T >
CYRUS T * findChild (const std::string &name)
 Find a child Window by name and cast it to the specified type.
 
template<class T >
CYRUS T * findDescendant (const std::string &name)
 Find a descendant Window by name and cast it to the specified type.
 
virtual void func1 ()
 
virtual void func2 ()
 
virtual void func3 ()
 
virtual void func4 ()
 
virtual void func5 ()
 
virtual void func6 ()
 
virtual void func7 ()
 
virtual void func8 ()
 
virtual void func9 ()
 
virtual void func10 ()
 
virtual void func11 ()
 
virtual void func12 ()
 
virtual void func13 ()
 
virtual void func14 ()
 
virtual void func15 ()
 
virtual void func16 ()
 
virtual void func17 ()
 
virtual void func18 ()
 
virtual void func19 ()
 
virtual void func20 ()
 
virtual void func21 ()
 
virtual void func22 ()
 
virtual void func23 ()
 
virtual void func24 ()
 
virtual void func25 ()
 
virtual void func26 ()
 
virtual void func27 ()
 
virtual void func28 ()
 
virtual void func29 ()
 
virtual void func30 ()
 
virtual void func31 ()
 
virtual void func32 ()
 
virtual void func33 ()
 
virtual void func34 ()
 
virtual void func35 ()
 
virtual bool updateDockPosition ()
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Member Function Documentation

◆ AddColumn()

int ControlList::AddColumn ( int a0,
Color a1,
int a2,
int a3 )
inline

◆ AddExistingColumn()

int ControlList::AddExistingColumn ( struct ControlList::Column a0)
inline

◆ AddItem()

int ControlList::AddItem ( std::wstring a0,
int a1 )
inline

◆ AddSeperatedItems()

int ControlList::AddSeperatedItems ( std::wstring a0,
std::wstring a1,
int a2 )
inline

◆ ColumnByIndex()

struct ControlList::Column * ControlList::ColumnByIndex ( int a0)
inline

◆ ColumnCount()

int ControlList::ColumnCount ( )
inline

◆ getBListInvalid()

bool ControlList::getBListInvalid ( )
inline

◆ getBSortAscending()

bool ControlList::getBSortAscending ( )
inline

◆ getBSortEnable()

bool ControlList::getBSortEnable ( )
inline

◆ getBSortInvalid()

bool ControlList::getBSortInvalid ( )
inline

◆ getHighlightColor()

Color ControlList::getHighlightColor ( )
inline

◆ getItemDisabledState()

ControlList__ListItemState ** ControlList::getItemDisabledState ( )
inline

◆ getItemHeight()

int ControlList::getItemHeight ( )
inline

◆ getItemHighlightedState()

ControlList__ListItemState ** ControlList::getItemHighlightedState ( )
inline

◆ getItemNormalState()

ControlList__ListItemState ** ControlList::getItemNormalState ( )
inline

◆ getItemSelectedState()

ControlList__ListItemState ** ControlList::getItemSelectedState ( )
inline

◆ getNHighlighted()

int ControlList::getNHighlighted ( )
inline

◆ getNSelected()

int ControlList::getNSelected ( )
inline

◆ getNSortByColumn()

int ControlList::getNSortByColumn ( )
inline

◆ getPScrollWin()

SharedPointer< Window > * ControlList::getPScrollWin ( )
inline

◆ getSelectColor()

Color ControlList::getSelectColor ( )
inline

◆ getTextColor()

Color ControlList::getTextColor ( )
inline

◆ ItemByIndex()

std::wstring ControlList::ItemByIndex ( int a0,
int a1 )
inline

◆ ItemCount()

int ControlList::ItemCount ( )
inline

◆ MoveItem()

void ControlList::MoveItem ( int a0,
int a1 )
inline

◆ RemoveAll()

void ControlList::RemoveAll ( )
inline

◆ RemoveAllItems()

void ControlList::RemoveAllItems ( )
inline

◆ RemoveColumn()

void ControlList::RemoveColumn ( int a0)
inline

◆ RemoveItem()

void ControlList::RemoveItem ( int a0)
inline

◆ Selected()

int ControlList::Selected ( )
inline

◆ setBListInvalid()

void ControlList::setBListInvalid ( bool val)
inline

◆ setBSortAscending()

void ControlList::setBSortAscending ( bool val)
inline

◆ setBSortEnable()

void ControlList::setBSortEnable ( bool val)
inline

◆ setBSortInvalid()

void ControlList::setBSortInvalid ( bool val)
inline

◆ SetColumn()

void ControlList::SetColumn ( int a0,
struct ControlList::Column a1 )
inline

◆ setHighlightColor()

void ControlList::setHighlightColor ( Color val)
inline

◆ SetItem()

int ControlList::SetItem ( int a0,
int a1,
std::wstring a2 )
inline

◆ setItemDisabledState()

void ControlList::setItemDisabledState ( ControlList__ListItemState ** val)
inline

◆ setItemHeight()

void ControlList::setItemHeight ( int val)
inline

◆ setItemHighlightedState()

void ControlList::setItemHighlightedState ( ControlList__ListItemState ** val)
inline

◆ setItemNormalState()

void ControlList::setItemNormalState ( ControlList__ListItemState ** val)
inline

◆ setItemSelectedState()

void ControlList::setItemSelectedState ( ControlList__ListItemState ** val)
inline

◆ setNHighlighted()

void ControlList::setNHighlighted ( int val)
inline

◆ setNSelected()

void ControlList::setNSelected ( int val)
inline

◆ setNSortByColumn()

void ControlList::setNSortByColumn ( int val)
inline

◆ setPScrollWin()

void ControlList::setPScrollWin ( SharedPointer< Window > * val)
inline

◆ setSelectColor()

void ControlList::setSelectColor ( Color val)
inline

◆ SetSelected()

void ControlList::SetSelected ( int a0)
inline

◆ SetSort()

void ControlList::SetSort ( int a0,
bool a1 )
inline

◆ SetSortEnable()

void ControlList::SetSortEnable ( bool a0,
bool a1 )
inline

◆ setTextColor()

void ControlList::setTextColor ( Color val)
inline

◆ SortedItem()

int ControlList::SortedItem ( int a0)
inline

◆ SwapItems()

void ControlList::SwapItems ( int a0,
int a1 )
inline