Public Member Functions | Protected Member Functions | Protected Attributes

sp::gui::GUIGadget Class Reference

#include <spGUIGadget.hpp>

Inheritance diagram for sp::gui::GUIGadget:
sp::gui::GUIController sp::gui::GUIBaseObject sp::gui::GUIButtonGadget sp::gui::GUICheckboxGadget sp::gui::GUIContainerGadget sp::gui::GUIListGadget sp::gui::GUIProgressbarGadget sp::gui::GUIScrollbarGadget sp::gui::GUIStringGadget sp::gui::GUITextGadget sp::gui::GUITrackbarGadget sp::gui::GUITreeGadget sp::gui::GUIWebGadget

List of all members.

Public Member Functions

virtual ~GUIGadget ()
virtual bool update ()=0
virtual void draw ()=0
EGUIGadgets getGadgetType () const
 Returns the type of the gadget.

Protected Member Functions

 GUIGadget (const EGUIGadgets Type)
void drawBgRect (const dim::rect2di &DrawRect, const dim::rect2di &MouseRect, bool isSwaped=false, bool isAlwaysUsing=false, s32 UsageType=-1)

Protected Attributes

EGUIGadgets GadType_

Detailed Description

In this GUI gadget is the object class for buttons, lists, trackbars etc. all things the user can comunicate with the program. Its another type of controller.

Constructor & Destructor Documentation

virtual sp::gui::GUIGadget::~GUIGadget (  )  [virtual]
sp::gui::GUIGadget::GUIGadget ( const EGUIGadgets  Type  )  [protected]

Member Function Documentation

void sp::gui::GUIGadget::drawBgRect ( const dim::rect2di DrawRect,
const dim::rect2di MouseRect,
bool  isSwaped = false,
bool  isAlwaysUsing = false,
s32  UsageType = -1 
) [protected]
EGUIGadgets sp::gui::GUIGadget::getGadgetType (  )  const [inline]

Returns the type of the gadget.

Member Data Documentation

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