#include "mmsgui/mmswindow.h"#include "mmsgui/mmschildwindow.h"#include "mmsgui/mmswidgets.h"#include "mmsgui/mmsborder.h"#include <math.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include "mmscore/mmsinit.h"

Go to the source code of this file.
Defines | |
| #define | PRINT_LOCK(msg...) |
| #define | MMSFBWINDOW_CALC_STRETCH_W(w) ((w->stretchLeft-25600)+(w->stretchRight-25600)+25600) |
| #define | MMSFBWINDOW_CALC_STRETCH_LEFT(x, w) ((w->stretchLeft!=25600)?((((x)*w->stretchLeft*100+12800)/2560000)&~0x01):(x)) |
| #define | MMSFBWINDOW_CALC_STRETCH_WIDTH(x, w) ((MMSFBWINDOW_CALC_STRETCH_W(w)!=25600)?((((x)*MMSFBWINDOW_CALC_STRETCH_W(w)*100+12800)/2560000)&~0x01):(x)) |
| #define | MMSFBWINDOW_CALC_STRETCH_WIDTH_REV(x, w) ((MMSFBWINDOW_CALC_STRETCH_W(w)!=25600)?((((x)*25600+12800)/MMSFBWINDOW_CALC_STRETCH_W(w))&~0x01):(x)) |
| #define | MMSFBWINDOW_CALC_STRETCH_H(w) ((w->stretchUp-25600)+(w->stretchDown-25600)+25600) |
| #define | MMSFBWINDOW_CALC_STRETCH_UP(x, w) ((w->stretchUp!=25600)?((((x)*w->stretchUp*100+12800)/2560000)&~0x01):(x)) |
| #define | MMSFBWINDOW_CALC_STRETCH_HEIGHT(x, w) ((MMSFBWINDOW_CALC_STRETCH_H(w)!=25600)?((((x)*MMSFBWINDOW_CALC_STRETCH_H(w)*100+12800)/2560000)&~0x01):(x)) |
| #define | MMSFBWINDOW_CALC_STRETCH_HEIGHT_REV(x, w) ((MMSFBWINDOW_CALC_STRETCH_H(w)!=25600)?((((x)*25600+12800)/MMSFBWINDOW_CALC_STRETCH_H(w))&~0x01):(x)) |
| #define | MMSWINDOW_ANIM_MAX_OFFSET 30 |
| #define | MAXDGCODE 999999 |
| #define | GETWINDOW(x, y) |
| #define | GETBORDER(x, y) |
| #define | GETBORDER_IMAGES(x, p, y) |
| #define GETBORDER | ( | x, | |||
| y | ) |
Value:
if (this->myWindowClass.border.is##x()) return myWindowClass.border.get##x(y); \ else if ((windowClass)&&(windowClass->border.is##x())) return windowClass->border.get##x(y); \ else return baseWindowClass->border.get##x(y);
Definition at line 5439 of file mmswindow.cpp.
| #define GETBORDER_IMAGES | ( | x, | |||
| p, | |||||
| y | ) |
Value:
if (this->myWindowClass.border.is##x()) return myWindowClass.border.get##x(p,y); \ else if ((windowClass)&&(windowClass->border.is##x())) return windowClass->border.get##x(p,y); \ else return baseWindowClass->border.get##x(p,y);
Definition at line 5444 of file mmswindow.cpp.
| #define GETWINDOW | ( | x, | |||
| y | ) |
Value:
if (this->myWindowClass.is##x()) return myWindowClass.get##x(y); \ else if ((windowClass)&&(windowClass->is##x())) return windowClass->get##x(y); \ else return baseWindowClass->get##x(y);
Definition at line 5304 of file mmswindow.cpp.
| #define MAXDGCODE 999999 |
Definition at line 3640 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_H | ( | w | ) | ((w->stretchUp-25600)+(w->stretchDown-25600)+25600) |
Definition at line 75 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_HEIGHT | ( | x, | |||
| w | ) | ((MMSFBWINDOW_CALC_STRETCH_H(w)!=25600)?((((x)*MMSFBWINDOW_CALC_STRETCH_H(w)*100+12800)/2560000)&~0x01):(x)) |
Definition at line 77 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_HEIGHT_REV | ( | x, | |||
| w | ) | ((MMSFBWINDOW_CALC_STRETCH_H(w)!=25600)?((((x)*25600+12800)/MMSFBWINDOW_CALC_STRETCH_H(w))&~0x01):(x)) |
Definition at line 78 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_LEFT | ( | x, | |||
| w | ) | ((w->stretchLeft!=25600)?((((x)*w->stretchLeft*100+12800)/2560000)&~0x01):(x)) |
Definition at line 70 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_UP | ( | x, | |||
| w | ) | ((w->stretchUp!=25600)?((((x)*w->stretchUp*100+12800)/2560000)&~0x01):(x)) |
Definition at line 76 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_W | ( | w | ) | ((w->stretchLeft-25600)+(w->stretchRight-25600)+25600) |
Definition at line 69 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_WIDTH | ( | x, | |||
| w | ) | ((MMSFBWINDOW_CALC_STRETCH_W(w)!=25600)?((((x)*MMSFBWINDOW_CALC_STRETCH_W(w)*100+12800)/2560000)&~0x01):(x)) |
Definition at line 71 of file mmswindow.cpp.
| #define MMSFBWINDOW_CALC_STRETCH_WIDTH_REV | ( | x, | |||
| w | ) | ((MMSFBWINDOW_CALC_STRETCH_W(w)!=25600)?((((x)*25600+12800)/MMSFBWINDOW_CALC_STRETCH_W(w))&~0x01):(x)) |
Definition at line 72 of file mmswindow.cpp.
| #define MMSWINDOW_ANIM_MAX_OFFSET 30 |
Definition at line 81 of file mmswindow.cpp.
| #define PRINT_LOCK | ( | msg... | ) |
Definition at line 47 of file mmswindow.cpp.