#include <mmspopupwindow.h>
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 |
MMSPopupWindowClass * | popupWindowClass |
MMSPopupWindowClass | myPopupWindowClass |
MMSTimer * | timer |
sigc::connection | timeOut_connection |
Definition at line 39 of file mmspopupwindow.h.
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.
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] |
bool MMSPopupWindow::beforeHideAction | ( | MMSPulser * | pulser | ) | [virtual] |
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.
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.
string MMSPopupWindow::className [private] |
Definition at line 42 of file mmspopupwindow.h.
Definition at line 43 of file mmspopupwindow.h.
Definition at line 44 of file mmspopupwindow.h.
MMSTimer* MMSPopupWindow::timer [private] |
Definition at line 46 of file mmspopupwindow.h.
sigc::connection MMSPopupWindow::timeOut_connection [private] |
Definition at line 47 of file mmspopupwindow.h.