 
    #include "mmsgui/mmsmenuwidget.h"#include "mmsgui/mmssliderwidget.h"#include <string.h>

Go to the source code of this file.
| Defines | |
| #define | MMSMENUWIDGET_ANIM_MAX_OFFSET 20 | 
| #define | MMSMENUWIDGET_ANIM_STEPS_PER_SECOND (getSmoothDelay()>=100)?MMSMENUWIDGET_ANIM_MAX_OFFSET * 1000 / getSmoothDelay():MMSMENUWIDGET_ANIM_MAX_OFFSET * 5 | 
| #define | MMSMENUWIDGET_GET_SLOOP(sloop) | 
| #define | MMSMENUWIDGET_SSLEEP { msleep(this->frame_delay); } | 
| #define | MMSMENUWIDGET_GET_SSTART { if (!this->frame_delay_set) start_ts = getMTimeStamp(); } | 
| #define | MMSMENUWIDGET_GET_SEND | 
| #define | MMSMENUWIDGET_CALC_DELAY | 
| #define | GETMENU(x) | 
| #define | GETMENU_X(x, y) | 
| #define GETMENU | ( | x | ) | 
Value:
if (this->myMenuWidgetClass.is##x()) return myMenuWidgetClass.get##x(); \ else if ((menuWidgetClass)&&(menuWidgetClass->is##x())) return menuWidgetClass->get##x(); \ else return this->da->theme->menuWidgetClass.get##x();
Definition at line 2991 of file mmsmenuwidget.cpp.
| #define GETMENU_X | ( | x, | |||
| y | ) | 
Value:
if (this->myMenuWidgetClass.is##x()) { y = myMenuWidgetClass.get##x(); return true; } \ else if ((menuWidgetClass)&&(menuWidgetClass->is##x())) { y = menuWidgetClass->get##x(); return true; } \ else { y = this->da->theme->menuWidgetClass.get##x(); return true; }
Definition at line 2996 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_ANIM_MAX_OFFSET 20 | 
Definition at line 37 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_ANIM_STEPS_PER_SECOND (getSmoothDelay()>=100)?MMSMENUWIDGET_ANIM_MAX_OFFSET * 1000 / getSmoothDelay():MMSMENUWIDGET_ANIM_MAX_OFFSET * 5 | 
Definition at line 38 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_CALC_DELAY | 
Value:
{ if (!this->frame_delay_set) { \
    this->frame_delay = fd_sum / (sloop - 1); \
    this->frame_delay_set = true; } }
Definition at line 1371 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_GET_SEND | 
Value:
{ if (!this->frame_delay_set) { \
    end_ts = getMTimeStamp(); \
    this->frame_delay = getFrameDelay(start_ts, end_ts); \
    fd_sum+= frame_delay; } }
Definition at line 1365 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_GET_SLOOP | ( | sloop | ) | 
Value:
{ sloop = getSmoothDelay(); \
    if (!sloop) { sloop = 5; this->frame_delay = 0; this->frame_delay_set = true; } \
    else sloop = getFrameNum(sloop); }
Definition at line 1356 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_GET_SSTART { if (!this->frame_delay_set) start_ts = getMTimeStamp(); } | 
Definition at line 1363 of file mmsmenuwidget.cpp.
| #define MMSMENUWIDGET_SSLEEP { msleep(this->frame_delay); } | 
Definition at line 1361 of file mmsmenuwidget.cpp.
