Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PG_Slider Class Reference

Inheritance diagram for PG_Slider:

Inheritance graph
[legend]
Collaboration diagram for PG_Slider:

Collaboration graph
[legend]
List of all members.

Detailed Description

Examples:

paratest.cpp.


Public Member Functions

 PG_Slider (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, ScrollDirection direction=VERTICAL, int id=-1, const char *style="Slider")
 ~PG_Slider ()
void LoadThemeStyle (const char *widgettype)
 Load a specific themestyle.

void RecalcPositions ()

Public Attributes

SignalSlide< long > sigSlide
SignalSlideEnd< long > sigSlideEnd

Protected Member Functions

bool eventMouseButtonUp (const SDL_MouseButtonEvent *button)
 Overridable Eventhandler for a SDL_MouseButtonEvent message.


Constructor & Destructor Documentation

PG_Slider::PG_Slider PG_Widget parent,
const PG_Rect r = PG_Rect::null,
ScrollDirection  direction = VERTICAL,
int  id = -1,
const char *  style = "Slider"
 

PG_Slider::~PG_Slider  ) 
 


Member Function Documentation

bool PG_Slider::eventMouseButtonUp const SDL_MouseButtonEvent *  button  )  [protected, virtual]
 

Overridable Eventhandler for a SDL_MouseButtonEvent message.

This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.

Parameters:
button SDL_MouseButtonEvent message
Returns:
Notifies the message pump if this message is processed by this object or it should be routed to the next message receiver.

Reimplemented from PG_ScrollBar.

void PG_Slider::LoadThemeStyle const char *  widgettype  ) 
 

Load a specific themestyle.

Parameters:
widgettype name of widget type to load

Reimplemented from PG_ScrollBar.

void PG_Slider::RecalcPositions  )  [virtual]
 

Reimplemented from PG_ScrollBar.


Member Data Documentation

SignalSlide<long> PG_Slider::sigSlide
 

Examples:
paratest.cpp.

SignalSlideEnd<long> PG_Slider::sigSlideEnd
 

Examples:
paratest.cpp.


The ParaGUI Project - Alexander Pipelka