MMSPopupWindow Class Reference

#include <mmspopupwindow.h>

Inheritance diagram for MMSPopupWindow:

List of all members.


Public Member Functions

 MMSPopupWindow (string className, string dx, string dy, string w, string h, MMSALIGNMENT alignment=MMSALIGNMENT_CENTER, MMSWINDOW_FLAGS flags=MMSW_NONE, MMSTheme *theme=NULL, bool *own_surface=NULL, bool *backbuffer=NULL, unsigned int duration=0)
 MMSPopupWindow (string className, string w, string h, MMSALIGNMENT alignment=MMSALIGNMENT_CENTER, MMSWINDOW_FLAGS flags=MMSW_NONE, MMSTheme *theme=NULL, bool *own_surface=NULL, bool *backbuffer=NULL, unsigned int duration=0)
virtual ~MMSPopupWindow ()
void timeOut (void)
virtual void afterShowAction (MMSPulser *pulser)
virtual bool beforeHideAction (MMSPulser *pulser)
unsigned int getDuration ()
void setDuration (unsigned int duration)
 Sets the duration in seconds to display the popupwindow when show() is called.
void updateFromThemeClass (MMSPopupWindowClass *themeClass)

Private Member Functions

bool create (string className, string dx, string dy, string w, string h, MMSALIGNMENT alignment, MMSWINDOW_FLAGS flags, MMSTheme *theme, bool *own_surface, bool *backbuffer, unsigned int duration)

Private Attributes

string className
MMSPopupWindowClasspopupWindowClass
MMSPopupWindowClass myPopupWindowClass
MMSTimertimer
sigc::connection timeOut_connection

Detailed Description

Definition at line 39 of file mmspopupwindow.h.


Constructor & Destructor Documentation

MMSPopupWindow::MMSPopupWindow ( string  className,
string  dx,
string  dy,
string  w,
string  h,
MMSALIGNMENT  alignment = MMSALIGNMENT_CENTER,
MMSWINDOW_FLAGS  flags = MMSW_NONE,
MMSTheme theme = NULL,
bool *  own_surface = NULL,
bool *  backbuffer = NULL,
unsigned int  duration = 0 
)

Definition at line 35 of file mmspopupwindow.cpp.

MMSPopupWindow::MMSPopupWindow ( string  className,
string  w,
string  h,
MMSALIGNMENT  alignment = MMSALIGNMENT_CENTER,
MMSWINDOW_FLAGS  flags = MMSW_NONE,
MMSTheme theme = NULL,
bool *  own_surface = NULL,
bool *  backbuffer = NULL,
unsigned int  duration = 0 
)

Definition at line 41 of file mmspopupwindow.cpp.

MMSPopupWindow::~MMSPopupWindow (  )  [virtual]

Definition at line 47 of file mmspopupwindow.cpp.


Member Function Documentation

bool MMSPopupWindow::create ( string  className,
string  dx,
string  dy,
string  w,
string  h,
MMSALIGNMENT  alignment,
MMSWINDOW_FLAGS  flags,
MMSTheme theme,
bool *  own_surface,
bool *  backbuffer,
unsigned int  duration 
) [private]

Definition at line 54 of file mmspopupwindow.cpp.

void MMSPopupWindow::timeOut ( void   ) 

Definition at line 76 of file mmspopupwindow.cpp.

void MMSPopupWindow::afterShowAction ( MMSPulser pulser  )  [virtual]

Reimplemented from MMSWindow.

Definition at line 82 of file mmspopupwindow.cpp.

bool MMSPopupWindow::beforeHideAction ( MMSPulser pulser  )  [virtual]

Reimplemented from MMSWindow.

Definition at line 94 of file mmspopupwindow.cpp.

unsigned int MMSPopupWindow::getDuration (  ) 

Definition at line 113 of file mmspopupwindow.cpp.

void MMSPopupWindow::setDuration ( unsigned int  duration  ) 

Sets the duration in seconds to display the popupwindow when show() is called.

If the window is already shown, the current timeout is resetted.

Parameters:
duration [in] time in seconds to display the popupwindow

Definition at line 121 of file mmspopupwindow.cpp.

void MMSPopupWindow::updateFromThemeClass ( MMSPopupWindowClass themeClass  ) 

Definition at line 138 of file mmspopupwindow.cpp.


Member Data Documentation

string MMSPopupWindow::className [private]

Definition at line 42 of file mmspopupwindow.h.

Definition at line 46 of file mmspopupwindow.h.

sigc::connection MMSPopupWindow::timeOut_connection [private]

Definition at line 47 of file mmspopupwindow.h.


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