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

#include <ControlFreeChat.h>

Inheritance diagram for ControlFreeChat:
ControlRichEdit ControlEdit Window PropertyClass

Additional Inherited Members

- Public Member Functions inherited from ControlEdit
CYRUS std::wstring getText () const
 Get the text content of the control.
 
CYRUS void setText (const std::wstring &text)
 Set the text content of the control.
 
CYRUS bool isEditing () const
 Check if the control is in editing mode.
 
CYRUS void setEditing (bool editing)
 Set the editing mode of the control.
 
CYRUS bool isDeleteOnFirstChar () const
 Check if the text should be deleted on the first character input.
 
CYRUS void setDeleteOnFirstChar (bool deleteOnFirstChar)
 Set the behavior to delete text on the first character input.
 
CYRUS int getMaxLength () const
 Get the maximum length of the text.
 
CYRUS void setMaxLength (int maxLength)
 Set the maximum length of the text.
 
CYRUS bool isPasswordMode () const
 Check if the control is in password mode.
 
CYRUS void setPasswordMode (bool password)
 Set the password mode of the control.
 
CYRUS bool isLogMode () const
 Check if the control is in log mode.
 
CYRUS void setLogMode (bool log)
 Set the log mode of the control.
 
CYRUS bool isAllowPaste () const
 Check if paste is allowed in the control.
 
CYRUS void setAllowPaste (bool allowPaste)
 Set the paste allowance in the control.
 
CYRUS bool isPreviousNextEnabled () const
 Check if previous and next navigation is enabled.
 
CYRUS void setPreviousNextEnabled (bool previousNext)
 Set the previous and next navigation.
 
CYRUS int getLogPosition () const
 Get the current log position.
 
CYRUS void setLogPosition (int logPosition)
 Set the current log position.
 
CYRUS int getMaxLogSize () const
 Get the maximum size of the log.
 
CYRUS void setMaxLogSize (int maxLogSize)
 Set the maximum size of the log.
 
CYRUS int getCursorPosition () const
 Get the cursor position.
 
CYRUS void setCursorPosition (int cursorPosition)
 Set the cursor position.
 
CYRUS int getEditBegin () const
 Get the start position of the text being edited.
 
CYRUS void setEditBegin (int editBegin)
 Set the start position of the text being edited.
 
CYRUS int getEditEnd () const
 Get the end position of the text being edited.
 
CYRUS void setEditEnd (int editEnd)
 Set the end position of the text being edited.
 
CYRUS std::wstring getSavedText () const
 Get the saved text content.
 
CYRUS void setSavedText (const std::wstring &savedText)
 Set the saved text content.
 
CYRUS float getCursorBlinkSpeed () const
 Get the cursor blink speed.
 
CYRUS void setCursorBlinkSpeed (float cursorBlinkSpeed)
 Set the cursor blink speed.
 
CYRUS float getCursorTimer () const
 Get the cursor timer value.
 
CYRUS void setCursorTimer (float cursorTimer)
 Set the cursor timer value.
 
CYRUS bool isCursorBlinking () const
 Check if the cursor is blinking.
 
CYRUS void setCursorBlinking (bool cursorBlink)
 Set the cursor blinking state.
 
CYRUS double getMinRange () const
 Get the minimum range value for the control.
 
CYRUS void setMinRange (double minRange)
 Set the minimum range value for the control.
 
CYRUS double getMaxRange () const
 Get the maximum range value for the control.
 
CYRUS void setMaxRange (double maxRange)
 Set the maximum range value for the control.
 
CYRUS int getPrecision () const
 Get the precision value for the control.
 
CYRUS void setPrecision (int precision)
 Set the precision value for the control.
 
- 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.