OpenMoHAA ..
Loading...
Searching...
No Matches
UIWindowSizer Class Reference
Inheritance diagram for UIWindowSizer:
UIWidget USignal

Public Member Functions

 CLASS_PROTOTYPE (UIWindowSizer)
 UIWindowSizer (UIWidget *w)
void Draw (void) override
void FrameInitialized (void) override
void MouseDown (Event *ev)
void MouseUp (Event *ev)
void MouseDragged (Event *ev)
void setDraggingWidget (UIWidget *w)
UIWidgetgetDraggingWidget (void)
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 qboolean KeyEvent (int key, unsigned int time)
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)

Protected Attributes

class UIWidgetm_draggingwidget
mouseState_t m_mouseState
UIPoint2D m_screenDragPoint
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_t * m_scaleCvar
float lastShowTime

Additional Inherited Members

Public Attributes inherited from UIWidget
void(* m_commandhandler )(const char *, void *)
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)
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)

Member Function Documentation

◆ Draw()

void UIWindowSizer::Draw ( void )
overridevirtual

Reimplemented from UIWidget.

◆ FrameInitialized()

void UIWindowSizer::FrameInitialized ( void )
overridevirtual

Reimplemented from UIWidget.


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