MezzanineEngine March 18, 2012

Mezzanine::UI::RenderableContainerWidget Class Reference

This is an abstract class for the creation and storage of widgets to be used by other classes. More...

#include <uirenderablecontainerwidget.h>

Inheritance diagram for Mezzanine::UI::RenderableContainerWidget:
Mezzanine::UI::Widget Mezzanine::UI::Window Mezzanine::UI::MenuWindow

List of all members.

Public Member Functions

 RenderableContainerWidget (ConstString &name, const RenderableRect &Rect, Layer *PLayer)
 Class constructor.
virtual ~RenderableContainerWidget ()
 Class destructor.
virtual ButtonCreateButton (ConstString &Name, const RenderableRect &Rect)
 Creates a button within this widget.
virtual CaptionCreateCaption (ConstString &Name, const RenderableRect &Rect, const Whole &Glyph, const String &Text)
 Creates a caption within this widget.
virtual CaptionCreateCaption (ConstString &Name, const RenderableRect &Rect, const Real &LineHeight, const String &Text)
 Creates a caption within this widget.
virtual CheckBoxCreateCheckBox (ConstString &Name, const RenderableRect &Rect, const Real &LineHeight, const String &LabelText)
 Creates a CheckBox within this widget.
virtual DropDownListCreateDropDownList (ConstString &Name, const RenderableRect &Rect, const Real &LineHeight, const UI::ScrollbarStyle &ScrollStyle)
 Creates a drop down list within this widget.
virtual ListBoxCreateListBox (ConstString &Name, const RenderableRect &Rect, const UI::ScrollbarStyle &ScrollbarStyle)
 Creates a List Box within this widget.
virtual MarkupTextCreateMarkupText (ConstString &Name, const RenderableRect &Rect, const Real &LineHeight, const String &Text)
 Creates a markup text within this widget.
virtual MarkupTextCreateMarkupText (ConstString &Name, const RenderableRect &Rect, const Whole &Glyph, const String &Text)
 Creates a markup text within this widget.
virtual PagedCellGridCreatePagedCellGrid (ConstString &Name, const RenderableRect &Rect, const RenderableRect &SpnRect, const UI::SpinnerStyle &SStyle, const Real &GlyphHeight)
 Creates a paged cell grid within this widget.
virtual RectangleCreateRectangle (const RenderableRect &Rect)
 Creates a rectangle within this widget.
virtual ScrollbarCreateScrollbar (ConstString &Name, const RenderableRect &Rect, const UI::ScrollbarStyle &Style)
 Creates a Scrollbar within this widget.
virtual ScrolledCellGridCreateScrolledCellGrid (ConstString &Name, const RenderableRect &Rect, const Real &Thickness, const UI::ScrollbarStyle &Style)
 Creates a scrolled cell grid within this widget.
virtual SpinnerCreateSpinner (ConstString &Name, const RenderableRect &Rect, const UI::SpinnerStyle &SStyle, const Real &GlyphHeight)
 Creates a Spinner within this widget.
virtual TabSetCreateTabSet (ConstString &Name, const RenderableRect &SetRect)
 Creates a tabset within this widget.
virtual TextButtonCreateTextButton (ConstString &Name, const RenderableRect &Rect, const Whole &Glyph, ConstString &Text)
 Creates a text button within this widget.
virtual TextButtonCreateTextButton (ConstString &Name, const RenderableRect &Rect, const Real &LineHeight, ConstString &Text)
 Creates a text button within this widget.
virtual void DestroyButton (UI::Button *ToBeDestroyed)
 Destroys a button.
virtual void DestroyCaption (UI::Caption *ToBeDestroyed)
 Destroys a caption.
virtual void DestroyMarkupText (UI::MarkupText *ToBeDestroyed)
 Destroys a markup text.
virtual void DestroyRectangle (UI::Rectangle *ToBeDestroyed)
 Destroys a rectangle.
virtual void DestroyWidget (UI::Widget *ToBeDestroyed)
 Destroys a widget.
virtual ButtonGetButton (ConstString &Name)
 Gets an already created button by name.
virtual ButtonGetButton (const Whole &Index)
 Gets an already created button by index.
virtual CaptionGetCaption (const Whole &Index)
 Gets an already created caption by index.
virtual CaptionGetCaption (ConstString &Name)
 Gets an already created caption by name.
virtual MarkupTextGetMarkupText (ConstString &Name)
 Gets an already created markup text by name.
virtual MarkupTextGetMarkupText (const Whole &Index)
 Gets an already created markup text by index.
virtual Whole GetNumButtons ()
 Gets the number of buttons created and stored in this class.
virtual Whole GetNumCaptions ()
 Gets the number of captions created and stored in this class.
virtual Whole GetNumMarkupTexts ()
 Gets the number of markup texts created and stored in this class.
virtual Whole GetNumRectangles ()
 Gets the number of rectangles created and stored in this class.
virtual Whole GetNumWidgets ()
 Gets the number of widgets created and stored in this class.
virtual OffsetButtonInfoGetOffsetButtonInfo (const Whole &Index)
 Gets the OffsetButtonInfo of an already created button by index.
virtual OffsetButtonInfoGetOffsetButtonInfo (ConstString &Name)
 Gets the OffsetButtonInfo of an already created button by name.
virtual OffsetCaptionInfoGetOffsetCaptionInfo (const Whole &Index)
 Gets the OffsetCaptionInfo of an already created caption by index.
virtual OffsetCaptionInfoGetOffsetCaptionInfo (ConstString &Name)
 Gets the OffsetCaptionInfo of an already created caption by name.
virtual OffsetMarkupTextInfoGetOffsetMarkupTextInfo (ConstString &Name)
 Gets the OffsetMarkupTextInfo of an already created markup text by name.
virtual OffsetMarkupTextInfoGetOffsetMarkupTextInfo (const Whole &Index)
 Gets the OffsetMarkupTextInfo of an already created markup text by index.
virtual OffsetRectangleInfoGetOffsetRectangleInfo (const Whole &Index)
 Gets the OffsetRectangleInfo of an already created rectangle by index.
virtual OffsetWidgetInfoGetOffsetWidgetInfo (ConstString &Name)
 Gets the OffsetWidgetInfo of an already created widget by name.
virtual OffsetWidgetInfoGetOffsetWidgetInfo (const Whole &Index)
 Gets the OffsetWidgetInfo of an already created widget by index.
virtual RectangleGetRectangle (const Whole &Index)
 Gets an already created rectangle by index.
virtual WidgetGetWidget (const Whole &Index)
 Gets an already created widget by index.
virtual WidgetGetWidget (ConstString &Name)
 Gets an already created widget by name.
virtual RectangleGetWidgetBack ()
 Gets the background object of this widget.
virtual void SetActualPosition (const Vector2 &Position)
 Sets the pixel position of this widget.
virtual void SetActualSize (const Vector2 &Size)
 Sets the pixel size of this widget.
virtual void SetPosition (const Vector2 &Position)
 Sets the relative position of this widget.
virtual void SetSize (const Vector2 &Size)
 Sets the relative size of this widget.
virtual void UpdateDimensions ()
 Updates the dimensions of this widget to match those of the new screen size.

Protected Member Functions

virtual Vector2 CalculateOffset (const Vector2 &NewSize, const Vector2 &OldSize, const Vector2 &EleOffset, const UI::ResizeableAnchor &Anchor)
 Calculates a new offset for an individual element.
virtual Vector2 CalculateSize (const Vector2 &NewSize, const Vector2 &OldSize, const Vector2 &EleSize, const UI::ResizeableTether &Tether)
 Calculates a new size for an individual element.
virtual bool CheckMouseHoverImpl ()
 Child specific mouse hover method.
virtual void SetArea (const Vector2 &Size)
 Internal function for setting the area(size) of this widget.
virtual void SetLocation (const Vector2 &Position)
 Internal function for setting the location(position) of this widget.
virtual void SetVisibleImpl (bool visible)
 Child specific visibility method.
virtual void UpdateImpl (bool Force=false)
 Child specific update method.

Protected Attributes

std::vector< OffsetButtonInfoButtons
std::vector< OffsetCaptionInfoCaptions
std::vector< OffsetMarkupTextInfoMarkupTexts
std::vector< OffsetRectangleInfoRectangles
Whole RenderablesAdded
RectangleWidgetBack
std::vector< OffsetWidgetInfoWidgets

Detailed Description

This is an abstract class for the creation and storage of widgets to be used by other classes.

Definition at line 77 of file uirenderablecontainerwidget.h.


Constructor & Destructor Documentation

Mezzanine::UI::RenderableContainerWidget::RenderableContainerWidget ( ConstString name,
const RenderableRect Rect,
Layer PLayer 
)

Class constructor.

Parameters:
nameThe name of the window.
RectThe Rect representing the position and size of the window.
PLayerThe parent layer this window belongs to.

Definition at line 70 of file uirenderablecontainerwidget.cpp.


Member Function Documentation

Button * Mezzanine::UI::RenderableContainerWidget::CreateButton ( ConstString Name,
const RenderableRect Rect 
) [virtual]

Creates a button within this widget.

Returns:
Returns a pointer to the created button.
Parameters:
NameThe name of the button.
RectThe Rect representing the position and size of the button.

Definition at line 429 of file uirenderablecontainerwidget.cpp.

Caption * Mezzanine::UI::RenderableContainerWidget::CreateCaption ( ConstString Name,
const RenderableRect Rect,
const Whole Glyph,
const String Text 
) [virtual]

Creates a caption within this widget.

Returns:
Returns a pointer to the created caption.
Parameters:
NameThe name of this caption.
RectThe Rect representing the position and size of the caption.
GlyphOne of the glyphs specified in your mta file. Must be valid.
TextAny text you want printed on the caption.

Definition at line 585 of file uirenderablecontainerwidget.cpp.

Caption * Mezzanine::UI::RenderableContainerWidget::CreateCaption ( ConstString Name,
const RenderableRect Rect,
const Real LineHeight,
const String Text 
) [virtual]

Creates a caption within this widget.

Returns:
Returns a pointer to the created caption.
Parameters:
NameThe name of this caption.
RectThe Rect representing the position and size of the caption.
LineHeightThe lineheight you want the text to have in relative units. This will automatically select the glyph and scale it for you.
TextAny text you want printed on the caption.

Definition at line 598 of file uirenderablecontainerwidget.cpp.

CheckBox * Mezzanine::UI::RenderableContainerWidget::CreateCheckBox ( ConstString Name,
const RenderableRect Rect,
const Real LineHeight,
const String LabelText 
) [virtual]

Creates a CheckBox within this widget.

The label uses the Markup Text class, and thus it's light markup text language. You can also pass in a blank string if you don't wish to have a label, you can create a label after construction.

Returns:
Returns a pointer to the created CheckBox.
Parameters:
NameThe name of the CheckBox.
RectThe Rect representing the position and size of the widget.
LineHeightThe lineheight you want the text to have. If the Rect passed in is relative, this will expect LineHeight to be relative as well.
LabelTextThe text to display with the label.

Definition at line 818 of file uirenderablecontainerwidget.cpp.

DropDownList * Mezzanine::UI::RenderableContainerWidget::CreateDropDownList ( ConstString Name,
const RenderableRect Rect,
const Real LineHeight,
const UI::ScrollbarStyle ScrollStyle 
) [virtual]

Creates a drop down list within this widget.

Returns:
Returns a pointer to the created DropDownList.
Parameters:
NameThe Name for the Widget.
RectThe renderable rect representing the position and size of this widget.
LineHeightThe lineheight you want the text to have. If the Rect passed in is relative, this will expect LineHeight to be relative as well.
ScrollStyleThe style of the scrollbar you want for this List Box. See Scrollbar class for more information.

Definition at line 888 of file uirenderablecontainerwidget.cpp.

ListBox * Mezzanine::UI::RenderableContainerWidget::CreateListBox ( ConstString Name,
const RenderableRect Rect,
const UI::ScrollbarStyle ScrollbarStyle 
) [virtual]

Creates a List Box within this widget.

Returns:
Returns a pointer to the created List Box.
Parameters:
NameThe name of the List Box.
RectThe Rect representing the position and size of the widget.
ScrollbarStyleThe style of scrollbar you want to create, see Scrollbar documentation for more details.

Definition at line 832 of file uirenderablecontainerwidget.cpp.

MarkupText * Mezzanine::UI::RenderableContainerWidget::CreateMarkupText ( ConstString Name,
const RenderableRect Rect,
const Whole Glyph,
const String Text 
) [virtual]

Creates a markup text within this widget.

The constructor will ignore the size portion of the Rect passed in, since Markup Texts don't have a default size.

Returns:
Returns a pointer to the created markup text.
Parameters:
NameThe name of this markup text.
RectThe Rect representing the position and size of the markup text.
GlyphOne of the glyphs specified in your mta file. Must be valid.
TextAny text you want printed on the markup text.

Definition at line 666 of file uirenderablecontainerwidget.cpp.

MarkupText * Mezzanine::UI::RenderableContainerWidget::CreateMarkupText ( ConstString Name,
const RenderableRect Rect,
const Real LineHeight,
const String Text 
) [virtual]

Creates a markup text within this widget.

The constructor will ignore the size portion of the Rect passed in, since Markup Texts don't have a default size.

Returns:
Returns a pointer to the created markup text.
Parameters:
NameThe name of this markup text.
RectThe Rect representing the position and size of the markup text.
LineHeightThe lineheight you want the text to have in relative units. This will automatically select the glyph and scale it for you.
TextAny text you want printed on the markup text.

Definition at line 680 of file uirenderablecontainerwidget.cpp.

PagedCellGrid * Mezzanine::UI::RenderableContainerWidget::CreatePagedCellGrid ( ConstString Name,
const RenderableRect Rect,
const RenderableRect SpnRect,
const UI::SpinnerStyle SStyle,
const Real GlyphHeight 
) [virtual]

Creates a paged cell grid within this widget.

Returns:
Returns a pointer to the created PagedCellGrid.
Parameters:
NameThe name of the widget.
RectThe Rect representing the position and size of the CellGrid.
SpnRectThe Rect representing the position and size of the Spinner.
SStyleThe style of spinner to create.
GlyphHeightThe desired lineheight of the glyphs to be used with the spinner.

Definition at line 874 of file uirenderablecontainerwidget.cpp.

Rectangle * Mezzanine::UI::RenderableContainerWidget::CreateRectangle ( const RenderableRect Rect) [virtual]

Creates a rectangle within this widget.

Returns:
Returns a pointer to the created rectangle.
Parameters:
RectThe Rect representing the position and size of the rectangle.

Definition at line 543 of file uirenderablecontainerwidget.cpp.

Scrollbar * Mezzanine::UI::RenderableContainerWidget::CreateScrollbar ( ConstString Name,
const RenderableRect Rect,
const UI::ScrollbarStyle Style 
) [virtual]

Creates a Scrollbar within this widget.

Returns:
Returns a pointer to the created Scrollbar.
Parameters:
NameThe name of the Scrollbar.
RectThe Rect representing the position and size of the widget.
StyleThe style of scrollbar you want to create, see Scrollbar documentation for more details.

Definition at line 804 of file uirenderablecontainerwidget.cpp.

ScrolledCellGrid * Mezzanine::UI::RenderableContainerWidget::CreateScrolledCellGrid ( ConstString Name,
const RenderableRect Rect,
const Real Thickness,
const UI::ScrollbarStyle Style 
) [virtual]

Creates a scrolled cell grid within this widget.

Returns:
Returns a pointer to the created ScrolledCellGrid.
Parameters:
NameThe name of the widget.
RectThe Rect representing the position and size of the widget.
ThicknessThe width of the vertical scrollbar in relative units. The same amount of actual pixels is used to determine the height of the horizontal scrollbar.
StyleAn enum value representing how you want your scrollbar constructed. See class details for more info.

Definition at line 860 of file uirenderablecontainerwidget.cpp.

Spinner * Mezzanine::UI::RenderableContainerWidget::CreateSpinner ( ConstString Name,
const RenderableRect Rect,
const UI::SpinnerStyle SStyle,
const Real GlyphHeight 
) [virtual]

Creates a Spinner within this widget.

Returns:
Returns a pointer to the created Spinner.
Parameters:
NameThe Name for the Widget.
RectThe Rect representing the position and size of the widget.
SStyleThe layout of buttons this widget will have. See SpinnerStyle enum or class description for more details.
GlyphHeightThe desired relative height of the text you want.

Definition at line 846 of file uirenderablecontainerwidget.cpp.

TabSet * Mezzanine::UI::RenderableContainerWidget::CreateTabSet ( ConstString Name,
const RenderableRect SetRect 
) [virtual]

Creates a tabset within this widget.

Returns:
Returns a pointer to the created tabset.
Parameters:
NameThe Name for the Widget.
SetRectThe Rect representing the position and size of all the Renderable Sets generated by the tabset.

Definition at line 570 of file uilayer.cpp.

TextButton * Mezzanine::UI::RenderableContainerWidget::CreateTextButton ( ConstString Name,
const RenderableRect Rect,
const Real LineHeight,
ConstString Text 
) [virtual]

Creates a text button within this widget.

Returns:
Returns a pointer to the created button.
Parameters:
NameThe name of the button.
RectThe Rect representing the position and size of the button.
LineHeightThe lineheight you want the text to have in relative units. This will automatically select the glyph and scale it for you.
TextAny text you want printed on the button.

Definition at line 468 of file uirenderablecontainerwidget.cpp.

TextButton * Mezzanine::UI::RenderableContainerWidget::CreateTextButton ( ConstString Name,
const RenderableRect Rect,
const Whole Glyph,
ConstString Text 
) [virtual]

Creates a text button within this widget.

Returns:
Returns a pointer to the created button.
Parameters:
NameThe name of the button.
RectThe Rect representing the position and size of the button.
GlyphOne of the glyphs specified in your mta file. Must be valid.
TextAny text you want printed on the button.

Definition at line 448 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::DestroyButton ( UI::Button ToBeDestroyed) [virtual]

Destroys a button.

Parameters:
ToBeDestroyedPointer to the button you want destroyed.

Definition at line 530 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::DestroyCaption ( UI::Caption ToBeDestroyed) [virtual]

Destroys a caption.

Parameters:
ToBeDestroyedPointer to the caption you want destroyed.

Definition at line 653 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::DestroyMarkupText ( UI::MarkupText ToBeDestroyed) [virtual]

Destroys a markup text.

Parameters:
ToBeDestroyedPointer to the markup text you want destroyed.

Definition at line 736 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::DestroyRectangle ( UI::Rectangle ToBeDestroyed) [virtual]

Destroys a rectangle.

Parameters:
ToBeDestroyedPointer to the rectangle you want destroyed.

Definition at line 572 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::DestroyWidget ( UI::Widget ToBeDestroyed) [virtual]

Destroys a widget.

Parameters:
ToBeDestroyedPointer to the widget you want destroyed.

Definition at line 791 of file uirenderablecontainerwidget.cpp.

Button * Mezzanine::UI::RenderableContainerWidget::GetButton ( ConstString Name) [virtual]

Gets an already created button by name.

Returns:
Returns a pointer to the button of the specified name.

Definition at line 488 of file uirenderablecontainerwidget.cpp.

Button * Mezzanine::UI::RenderableContainerWidget::GetButton ( const Whole Index) [virtual]

Gets an already created button by index.

Returns:
Returns a pointer to the button at the specified index.

Definition at line 501 of file uirenderablecontainerwidget.cpp.

Caption * Mezzanine::UI::RenderableContainerWidget::GetCaption ( ConstString Name) [virtual]

Gets an already created caption by name.

Returns:
Returns a pointer to the caption of the specified name.

Definition at line 611 of file uirenderablecontainerwidget.cpp.

Caption * Mezzanine::UI::RenderableContainerWidget::GetCaption ( const Whole Index) [virtual]

Gets an already created caption by index.

Returns:
Returns a pointer to the caption at the specified index.

Definition at line 624 of file uirenderablecontainerwidget.cpp.

MarkupText * Mezzanine::UI::RenderableContainerWidget::GetMarkupText ( const Whole Index) [virtual]

Gets an already created markup text by index.

Returns:
Returns a pointer to the markup text at the specified index.

Definition at line 707 of file uirenderablecontainerwidget.cpp.

MarkupText * Mezzanine::UI::RenderableContainerWidget::GetMarkupText ( ConstString Name) [virtual]

Gets an already created markup text by name.

Returns:
Returns a pointer to the markup text of the specified name.

Definition at line 694 of file uirenderablecontainerwidget.cpp.

Whole Mezzanine::UI::RenderableContainerWidget::GetNumButtons ( ) [virtual]

Gets the number of buttons created and stored in this class.

Returns:
Returns the number of buttons this class is storing.

Definition at line 525 of file uirenderablecontainerwidget.cpp.

Whole Mezzanine::UI::RenderableContainerWidget::GetNumCaptions ( ) [virtual]

Gets the number of captions created and stored in this class.

Returns:
Returns the number of captions this class is storing.

Definition at line 648 of file uirenderablecontainerwidget.cpp.

Whole Mezzanine::UI::RenderableContainerWidget::GetNumMarkupTexts ( ) [virtual]

Gets the number of markup texts created and stored in this class.

Returns:
Returns the number of markup texts this class is storing.

Definition at line 731 of file uirenderablecontainerwidget.cpp.

Whole Mezzanine::UI::RenderableContainerWidget::GetNumRectangles ( ) [virtual]

Gets the number of rectangles created and stored in this class.

Returns:
Returns the number of rectangles this class is storing.

Definition at line 567 of file uirenderablecontainerwidget.cpp.

Whole Mezzanine::UI::RenderableContainerWidget::GetNumWidgets ( ) [virtual]

Gets the number of widgets created and stored in this class.

Returns:
Returns the number of widgets this class is storing.

Definition at line 786 of file uirenderablecontainerwidget.cpp.

OffsetButtonInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetButtonInfo ( ConstString Name) [virtual]

Gets the OffsetButtonInfo of an already created button by name.

Returns:
Returns a reference to the button of the specified name.

Definition at line 506 of file uirenderablecontainerwidget.cpp.

OffsetButtonInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetButtonInfo ( const Whole Index) [virtual]

Gets the OffsetButtonInfo of an already created button by index.

Returns:
Returns a reference to the button at the specified index.

Definition at line 519 of file uirenderablecontainerwidget.cpp.

OffsetCaptionInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetCaptionInfo ( const Whole Index) [virtual]

Gets the OffsetCaptionInfo of an already created caption by index.

Returns:
Returns a reference to the caption at the specified index.

Definition at line 642 of file uirenderablecontainerwidget.cpp.

OffsetCaptionInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetCaptionInfo ( ConstString Name) [virtual]

Gets the OffsetCaptionInfo of an already created caption by name.

Returns:
Returns a reference to the caption of the specified name.

Definition at line 629 of file uirenderablecontainerwidget.cpp.

OffsetMarkupTextInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetMarkupTextInfo ( ConstString Name) [virtual]

Gets the OffsetMarkupTextInfo of an already created markup text by name.

Returns:
Returns a reference to the markup text of the specified name.

Definition at line 712 of file uirenderablecontainerwidget.cpp.

OffsetMarkupTextInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetMarkupTextInfo ( const Whole Index) [virtual]

Gets the OffsetMarkupTextInfo of an already created markup text by index.

Returns:
Returns a reference to the markup text at the specified index.

Definition at line 725 of file uirenderablecontainerwidget.cpp.

OffsetRectangleInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetRectangleInfo ( const Whole Index) [virtual]

Gets the OffsetRectangleInfo of an already created rectangle by index.

Returns:
Returns a reference to the rectangle at the specified index.

Definition at line 561 of file uirenderablecontainerwidget.cpp.

OffsetWidgetInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetWidgetInfo ( ConstString Name) [virtual]

Gets the OffsetWidgetInfo of an already created widget by name.

Returns:
Returns a reference to the widget of the specified name.

Definition at line 767 of file uirenderablecontainerwidget.cpp.

OffsetWidgetInfo * Mezzanine::UI::RenderableContainerWidget::GetOffsetWidgetInfo ( const Whole Index) [virtual]

Gets the OffsetWidgetInfo of an already created widget by index.

Returns:
Returns a reference to the widget at the specified index.

Definition at line 780 of file uirenderablecontainerwidget.cpp.

Rectangle * Mezzanine::UI::RenderableContainerWidget::GetRectangle ( const Whole Index) [virtual]

Gets an already created rectangle by index.

Returns:
Returns a pointer to the rectangle at the specified index.

Definition at line 556 of file uirenderablecontainerwidget.cpp.

Widget * Mezzanine::UI::RenderableContainerWidget::GetWidget ( const Whole Index) [virtual]

Gets an already created widget by index.

Returns:
Returns a pointer to the widget at the specified index.

Definition at line 762 of file uirenderablecontainerwidget.cpp.

Widget * Mezzanine::UI::RenderableContainerWidget::GetWidget ( ConstString Name) [virtual]

Gets an already created widget by name.

Returns:
Returns a pointer to the widget of the specified name.

Definition at line 749 of file uirenderablecontainerwidget.cpp.

Rectangle * Mezzanine::UI::RenderableContainerWidget::GetWidgetBack ( ) [virtual]

Gets the background object of this widget.

Returns:
Returns a pointer to the rectangle that is the background for this widget.

Definition at line 424 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::SetActualPosition ( const Vector2 Position) [virtual]

Sets the pixel position of this widget.

Parameters:
PositionA vector2 representing the pixel position of this widget.

Implements Mezzanine::UI::Widget.

Reimplemented in Mezzanine::UI::Window.

Definition at line 368 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::SetActualSize ( const Vector2 Size) [virtual]

Sets the pixel size of this widget.

Parameters:
SizeA vector2 representing the pixel size of this widget.

Implements Mezzanine::UI::Widget.

Reimplemented in Mezzanine::UI::Window.

Definition at line 381 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::SetPosition ( const Vector2 Position) [virtual]

Sets the relative position of this widget.

The position is relative to the screen size. Values range from 0.0 to 1.0.

Parameters:
PositionA vector2 representing the relative position of this widget.

Implements Mezzanine::UI::Widget.

Reimplemented in Mezzanine::UI::Window.

Definition at line 361 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::SetSize ( const Vector2 Size) [virtual]

Sets the relative size of this widget.

The size is relative to the screen size. Values range from 0.0 to 1.0.

Parameters:
SizeA vector2 representing the relative size of this widget.

Implements Mezzanine::UI::Widget.

Reimplemented in Mezzanine::UI::Window.

Definition at line 374 of file uirenderablecontainerwidget.cpp.

void Mezzanine::UI::RenderableContainerWidget::UpdateDimensions ( ) [virtual]

Updates the dimensions of this widget to match those of the new screen size.

This function is called automatically when a viewport changes in size, and shouldn't need to be called manually.

Implements Mezzanine::UI::Widget.

Reimplemented in Mezzanine::UI::MenuWindow, and Mezzanine::UI::Window.

Definition at line 387 of file uirenderablecontainerwidget.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines