OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
UIMapRotationListBox Class Reference
Inheritance diagram for UIMapRotationListBox:
UIListBox UIListBase UIWidget USignal Listener Class LightClass

Public Member Functions

void RefreshRotationList (Event *ev)
 
void PopulateRotationList ()
 
- Public Member Functions inherited from UIListBox
 CLASS_PROTOTYPE (UIListBox)
 
void AddItem (const char *item, const char *command)
 
void AddItem (int index, const char *command)
 
void FrameInitialized (void) override
 
void LayoutAddListItem (Event *ev)
 
void LayoutAddConfigstringListItem (Event *ev)
 
str getItemText (int which)
 
int getNumItems (void) override
 
void DeleteAllItems (void) override
 
void DeleteItem (int which) override
 
void InsertItem (const char *string, int which, const char *command=NULL)
 
void setCurrentItem (int which)
 
- Public Member Functions inherited from UIListBase
 CLASS_PROTOTYPE (UIListBase)
 
int getCurrentItem (void)
 
UIVertScrollGetScrollBar (void)
 
void SetUseScrollBar (qboolean bUse)
 
- Public Member Functions inherited from UIWidget
 CLASS_PROTOTYPE (UIWidget)
 
virtual void Shutdown (void)
 
virtual void InitFrame (UIWidget *parentview, float x, float y, float width, float height, int border=-1, const char *fontname="verdana-12")
 
void InitFrame (UIWidget *parentview, const UIRect2D &r, int border, const char *fontname="verdana-12")
 
void LayoutSize (Event *ev)
 
void LayoutRect (Event *ev)
 
void LayoutName (Event *ev)
 
void LayoutTitle (Event *ev)
 
void LayoutFont (Event *ev)
 
void LayoutBgColor (Event *ev)
 
void LayoutFgColor (Event *ev)
 
void LayoutBorderStyle (Event *ev)
 
void LayoutBorderColor (Event *ev)
 
void LayoutShader (Event *ev)
 
void LayoutTileShader (Event *ev)
 
void LayoutHoverShader (Event *ev)
 
void LayoutPressedShader (Event *ev)
 
void LayoutFadeIn (Event *ev)
 
void LayoutStopSound (Event *ev)
 
void LayoutClickSound (Event *ev)
 
void LayoutStretch (Event *ev)
 
void LayoutVirtualRes (Event *ev)
 
void LayoutInitData (Event *ev)
 
void LayoutDirection (Event *ev)
 
void LayoutAlign (Event *ev)
 
void LayoutStuffCommand (Event *ev)
 
void LayoutLinkCvar (Event *ev)
 
void LayoutNoParentClipping (Event *ev)
 
void LayoutNoParentAdjustment (Event *ev)
 
void LayoutOrderNumber (Event *ev)
 
void TextAlignment (Event *ev)
 
void LayoutAliasCache (Event *ev)
 
void SetEnabledCvar (Event *ev)
 
void SetScaleCvar (Event *ev)
 
void SetDontLocalize (Event *ev)
 
void EventFadeSequence (Event *ev)
 
void SetVirtualScale (vec2_t out)
 
void SetDontLocalize ()
 
void setParent (UIWidget *parent)
 
class UIWidgetgetParent (void)
 
class UIWidgetgetFirstChild (void)
 
class UIWidgetgetNextSibling (void)
 
class UIWidgetgetNextChild (UIWidget *child)
 
class UIWidgetgetPrevChild (UIWidget *child)
 
class UIWidgetgetPrevSibling (void)
 
class UIWidgetgetPrevSibling (UIWidget *curr)
 
class UIWidgetgetLastSibling (void)
 
class UIWidgetfindSibling (str name)
 
void Enable (void)
 
void Disable (void)
 
bool isEnabled (void)
 
bool IsDying (void)
 
class UIWidgetFindResponder (const UIPoint2D &pos)
 
void setFont (const char *name)
 
void setFontHorizontalAlignment (fonthorzjustify_t alignment)
 
void setFontVerticalAlignment (fontvertjustify_t alignment)
 
void setShow (bool visible)
 
bool getShow (void)
 
class UColor getBackgroundColor (void)
 
virtual void setBackgroundColor (const UColor &color, bool setbordercolor)
 
class UBorderColor getBorderColor (void)
 
void setBorderColor (const UBorderColor &color)
 
class UColor getForegroundColor (void)
 
virtual void setForegroundColor (const UColor &color)
 
borderstyle_t getBorderStyle (void)
 
void setBorderStyle (borderstyle_t style)
 
class UISize2D getSize (void)
 
void setSize (const UISize2D &newsize)
 
class UIRect2D getFrame (void)
 
void setFrame (const UIRect2D &newframe)
 
class UIPoint2D getOrigin (void)
 
void setOrigin (const UIPoint2D &neworigin)
 
void setName (str name)
 
const char * getName (void)
 
void setTitle (str title)
 
const char * getTitle (void)
 
void setDirection (direction_t dir)
 
direction_t getDirection (void)
 
void setMotionType (motion_t type)
 
motion_t getMotionType (void)
 
void setMotionTime (float time)
 
float getMotionTime (void)
 
void setAlign (int align)
 
int getAlign (void)
 
void setMaterial (UIReggedMaterial *mat)
 
void setHoverMaterial (UIReggedMaterial *mat)
 
void setPressedMaterial (UIReggedMaterial *mat)
 
class UIPoint2D getLocalPoint (const UIPoint2D &pos)
 
class UIPoint2D getGlobalPoint (const UIPoint2D &pos)
 
virtual void setBackgroundAlpha (float f)
 
float getBackgroundAlpha (void)
 
void Display (const UIRect2D &drawframe, float parent_alpha)
 
virtual void CharEvent (int ch)
 
virtual void UpdateData (void)
 
virtual void UpdateUIElement (void)
 
float getTitleWidth (void)
 
float getTitleHeight (void)
 
bool CanActivate (void)
 
void AllowActivate (bool canactivate)
 
bool IsActive (void)
 
bool IsVisible (void)
 
virtual void LinkCvar (str cvarname)
 
void LinkCommand (str cmd)
 
void ExecuteShowCommands (void)
 
void ExecuteHideCommands (void)
 
void InitializeCommandHandler (void(*fcn)(const char *, void *))
 
class UIWidgetFindWidget (str name)
 
void ResetMotion (motion_t type)
 
virtual void Realign (void)
 
void BringToFrontPropogated (void)
 
class UIWidgetIsThisOrChildActive (void)
 
class UIPoint2D MouseEventToClientPoint (Event *ev)
 
class UIRect2D getClientFrame (void)
 
void setAlwaysOnBottom (bool b)
 
void setAlwaysOnTop (bool b)
 
bool getAlwaysOnBottom (void)
 
bool getAlwaysOnTop (void)
 
bool SendSignal (Event &event)
 
void ShowCommand (Event *ev)
 
void HideCommand (Event *ev)
 
void AddFlag (int flag)
 
void SetHovermaterialActive (bool a)
 
void SetPressedmaterialActive (bool a)
 
int getOrderNum (void)
 
class str getCommand (void)
 
void ActivateOrder (void)
 
void EnableEvent (Event *ev)
 
void DisableEvent (Event *ev)
 
void setConfigstringIndex (int cs)
 
int getConfigstringIndex (void)
 
bool PassEventToWidget (str name, Event *ev)
 
UIFontgetFont () const
 
bool isVirtual () const
 
const vec2_t & getVirtualScale () const
 
const vec2_t & getHighResScale () const
 
- Public Member Functions inherited from USignal
 CLASS_PROTOTYPE (USignal)
 
bool SendSignal (Event &ev)
 
bool Connect (Listener *object, Event &inevent, Event &outevent)
 
bool Disconnect (Listener *object, Event &ev)
 
bool Disconnect (Listener *object)
 
- Public Member Functions inherited from Listener
 CLASS_PROTOTYPE (Listener)
 
virtual ListenerGetScriptOwner (void)
 
virtual void SetScriptOwner (Listener *newOwner)
 
void Archive (Archiver &arc) override
 
void CancelEventsOfType (Event *ev)
 
void CancelEventsOfType (Event &ev)
 
void CancelFlaggedEvents (int flags)
 
void CancelPendingEvents (void)
 
qboolean EventPending (Event &ev)
 
void PostEvent (Event *ev, float delay, int flags=0)
 
void PostEvent (const Event &ev, float delay, int flags=0)
 
qboolean PostponeAllEvents (float time)
 
qboolean PostponeEvent (Event &ev, float time)
 
bool ProcessEvent (const Event &ev)
 
bool ProcessEvent (Event *ev)
 
bool ProcessEvent (Event &ev)
 
ScriptVariableProcessEventReturn (Event *ev)
 
void ProcessContainerEvent (const Container< Event * > &conev)
 
qboolean ProcessPendingEvents (void)
 
bool ProcessScriptEvent (Event &ev)
 
bool ProcessScriptEvent (Event *ev)
 
int GetFlags (Event *event) const
 
qboolean ValidEvent (str name) const
 
void CommandDelay (Event *ev)
 
void Remove (Event *ev)
 
void ScriptRemove (Event *ev)
 
void EventInheritsFrom (Event *ev)
 
void EventIsInheritedBy (Event *ev)
 
void GetClassname (Event *ev)
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Public Attributes inherited from UIWidget
void(* m_commandhandler )(const char *, void *)
 
- Static Public Attributes inherited from Listener
static bool EventSystemStarted = false
 
static bool ProcessingEvents = false
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from UIListBox
void Draw (void) override
 
void MousePressed (Event *ev)
 
void MouseReleased (Event *ev)
 
void DeleteAllItems (Event *ev)
 
void SetListFont (Event *ev)
 
void TrySelectItem (int which) override
 
- Protected Member Functions inherited from UIListBase
qboolean KeyEvent (int key, unsigned int time) override
 
- Protected Member Functions inherited from UIWidget
bool addChild (UIWidget *widget)
 
bool removeChild (UIWidget *widget)
 
void PropogateCoordinateSystem (void)
 
void set2D (void)
 
void DrawTitle (float x, float y)
 
void Motion (void)
 
virtual void AlignPosition (void)
 
void Hide (Event *ev)
 
void Activate (Event *ev)
 
void BringToFront (void)
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 
- Static Protected Member Functions inherited from UIWidget
static void SplitWidgets (Container< UIWidget * > &src, Container< UIWidget * > &bottom, Container< UIWidget * > &normal, Container< UIWidget * > &top)
 
static void CombineWidgets (Container< UIWidget * > &dst, Container< UIWidget * > &bottom, Container< UIWidget * > &normal, Container< UIWidget * > &top)
 
static void ArrangeWidgetList (Container< UIWidget * > &list)
 
- Protected Attributes inherited from UIListBox
Container< ListItem * > m_itemlist
 
struct { 
 
   int   time 
 
   int   selected 
 
   UIPoint2D   point 
 
m_clickState 
 
- Protected Attributes inherited from UIListBase
int m_currentItem
 
class UIVertScrollm_vertscroll
 
qboolean m_bUseVertScroll
 
- Protected Attributes inherited from UIWidget
UIRect2D m_frame
 
vec2_t m_vVirtualScale
 
UIPoint2D m_startingpos
 
UIPoint2D m_origin
 
UIRect2D m_screenframe
 
UIPoint2D m_screenorigin
 
UIRect2D m_clippedframe
 
UIPoint2D m_clippedorigin
 
UColor m_background_color
 
UColor m_foreground_color
 
UBorderColor m_border_color
 
borderstyle_t m_borderStyle
 
bool m_visible
 
bool m_enabled
 
UIFontm_font
 
class UIWidgetm_parent
 
Container< UIWidget * > m_children
 
str m_name
 
bool m_canactivate
 
str m_cvarname
 
str m_cvarvalue
 
str m_command
 
Container< str * > m_showcommands
 
Container< str * > m_hidecommands
 
str m_title
 
float m_indent
 
float m_bottomindent
 
UIReggedMaterialm_material
 
UIReggedMaterialm_hovermaterial
 
UIReggedMaterialm_pressedmaterial
 
bool m_hovermaterial_active
 
bool m_pressedmaterial_active
 
direction_t m_direction
 
direction_t m_direction_orig
 
motion_t m_motiontype
 
float m_starttime
 
float m_fadetime
 
float m_alpha
 
float m_local_alpha
 
float m_motiontime
 
float m_fadeSequenceDelay
 
float m_fadeSequenceFadeIn
 
float m_fadeSequenceHold
 
float m_fadeSequenceFadeOut
 
float m_fadeSequenceRemainingTime
 
float m_fadeSequenceLastTime
 
int m_fadeSequenceState
 
str m_stopsound
 
str m_clicksound
 
int m_align
 
int m_flags
 
bool m_dying
 
int m_ordernum
 
int m_configstring_index
 
fonthorzjustify_t m_iFontAlignmentHorizontal
 
fontvertjustify_t m_iFontAlignmentVertical
 
qboolean m_bVirtual
 
str m_enabledCvar
 
cvar_tm_scaleCvar
 

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