7 #include "tipwindow.inc"
11 // Tip of the day to be run at initialization
14 class TipWindow
: public BC_DialogThread
17 TipWindow(MWindow
*mwindow
);
20 char* get_current_tip();
29 class TipWindowGUI
: public BC_Window
32 TipWindowGUI(MWindow
*mwindow
,
36 void create_objects();
43 class TipDisable
: public BC_CheckBox
46 TipDisable(MWindow
*mwindow
, TipWindowGUI
*gui
, int x
, int y
);
52 class TipNext
: public BC_Button
55 TipNext(MWindow
*mwindow
, TipWindowGUI
*gui
, int x
, int y
);
57 static int calculate_w(MWindow
*mwindow
);
62 class TipPrev
: public BC_Button
65 TipPrev(MWindow
*mwindow
, TipWindowGUI
*gui
, int x
, int y
);
67 static int calculate_w(MWindow
*mwindow
);
72 class TipClose
: public BC_Button
75 TipClose(MWindow
*mwindow
, TipWindowGUI
*gui
, int x
, int y
);
77 static int calculate_w(MWindow
*mwindow
);
78 static int calculate_h(MWindow
*mwindow
);