22 #ifndef NUVIE_GUI_GUI_DIALOG_H 23 #define NUVIE_GUI_GUI_DIALOG_H 27 #include "ultima/nuvie/gui/widgets/gui_widget.h" 28 #include "ultima/nuvie/screen/screen.h" 33 #define GUI_DIALOG_MOVABLE true 34 #define GUI_DIALOG_UNMOVABLE false 39 int button_x, button_y;
46 unsigned char *backingstore;
51 GUI_Dialog(
int x,
int y,
int w,
int h, uint8 r, uint8 g, uint8 b,
bool is_moveable);
54 void SetDisplay(
Screen *s)
override;
57 void Display(
bool full_redraw)
override;
60 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
61 GUI_status MouseUp(
int x,
int y, Shared::MouseButton button)
override;
62 GUI_status MouseMotion(
int x,
int y, uint8 state)
override;
63 void MoveRelative(
int dx,
int dy)
override;
66 void loadBorderImages();
Definition: managed_surface.h:51
Definition: gui_dialog.h:36
Definition: detection.h:27