26 #ifndef SAGA2_FLOATING_H 27 #define SAGA2_FLOATING_H 29 #include "saga2/fta.h" 30 #include "saga2/hresmgr.h" 31 #include "saga2/panel.h" 41 class DecoratedWindow;
44 struct WindowDecoration;
68 extent =
Rect16(0, 0, 0, 0), image = NULL;
81 imageNumber = s.imageNumber;
85 void set(
const Rect16 &r, int16 num) {
86 extent = r, image = NULL, imageNumber = num;
109 bool activate(gEventType);
124 gControl(list, box, title_, ident, cmd) {}
126 gControl(list, box, img, ident, cmd) {}
131 bool activate(gEventType why);
142 const Rect16 &box, uint16 ident, AppFunc *cmd = NULL) :
143 gButton(list, box, NULL, ident, cmd) {};
144 virtual void draw() {};
160 gButton(list, box, NULL, ident, cmd) {
165 gButton(list, box, title_, ident, cmd) {
183 bool activate(gEventType why);
213 int16 _numDecorations;
241 void removeDecorations();
243 virtual bool isBackdrop();
247 void update(
const Rect16 &updateRect);
262 void invalidate(
Rect16 *area);
265 virtual bool isBackdrop();
297 void setExtent(
const Rect16 &);
298 const Point16 &getDecOffset() {
313 void drawCompressedImage(
gPort &port,
const Point16 pos,
void *image);
314 void drawCompressedImageGhosted(
gPort &port,
const Point16 pos,
void *image);
Definition: floating.h:210
Definition: floating.h:98
Definition: floating.h:55
Definition: floating.h:61
Definition: floating.h:272
Definition: floating.h:255