r1005: Increase the number of displayed digits for resample audio dialog box
[cinelerra_cv/mob.git] / cinelerra / tipwindow.h
blobd081b6e616ea4209084eb83111e782684bc30ada
1 #ifndef TIPWINDOW_H
2 #define TIPWINDOW_H
4 #include "bcdialog.h"
5 #include "guicast.h"
6 #include "mwindow.inc"
7 #include "tipwindow.inc"
11 // Tip of the day to be run at initialization
14 class TipWindow : public BC_DialogThread
16 public:
17 TipWindow(MWindow *mwindow);
19 BC_Window* new_gui();
20 char* get_current_tip();
21 void next_tip();
22 void prev_tip();
24 MWindow *mwindow;
25 TipWindowGUI *gui;
29 class TipWindowGUI : public BC_Window
31 public:
32 TipWindowGUI(MWindow *mwindow,
33 TipWindow *thread,
34 int x,
35 int y);
36 void create_objects();
37 int keypress_event();
38 MWindow *mwindow;
39 TipWindow *thread;
40 BC_Title *tip_text;
43 class TipDisable : public BC_CheckBox
45 public:
46 TipDisable(MWindow *mwindow, TipWindowGUI *gui, int x, int y);
47 int handle_event();
48 TipWindowGUI *gui;
49 MWindow *mwindow;
52 class TipNext : public BC_Button
54 public:
55 TipNext(MWindow *mwindow, TipWindowGUI *gui, int x, int y);
56 int handle_event();
57 static int calculate_w(MWindow *mwindow);
58 TipWindowGUI *gui;
59 MWindow *mwindow;
62 class TipPrev : public BC_Button
64 public:
65 TipPrev(MWindow *mwindow, TipWindowGUI *gui, int x, int y);
66 int handle_event();
67 static int calculate_w(MWindow *mwindow);
68 TipWindowGUI *gui;
69 MWindow *mwindow;
72 class TipClose : public BC_Button
74 public:
75 TipClose(MWindow *mwindow, TipWindowGUI *gui, int x, int y);
76 int handle_event();
77 static int calculate_w(MWindow *mwindow);
78 static int calculate_h(MWindow *mwindow);
79 TipWindowGUI *gui;
80 MWindow *mwindow;
85 #endif