r1026: Videoscope layout tweaks.
[cinelerra_cv/ct.git] / cinelerra / maincursor.h
blob6b56989b2212d887561b313e10ec1da49983de54
1 #ifndef MAINCURSOR_H
2 #define MAINCURSOR_H
4 #include "guicast.h"
5 #include "mwindow.inc"
6 #include "mwindowgui.inc"
8 class MainCursor
10 public:
11 MainCursor(MWindow *mwindow, MWindowGUI *gui);
12 ~MainCursor();
14 void create_objects();
15 int repeat_event(int64_t duration);
16 void draw(int flash);
17 void hide(int do_plugintoggles = 1);
18 void flash();
19 void activate();
20 void deactivate();
21 void show(int do_plugintoggles = 1);
22 void restore(int do_plugintoggles);
23 void update();
24 void focus_in_event();
25 void focus_out_event();
27 MWindow *mwindow;
28 MWindowGUI *gui;
29 int visible;
30 double selectionstart, selectionend;
31 int64_t zoom_sample;
32 double view_start;
33 int64_t pixel2, pixel1;
34 int active;
35 int playing_back;
38 #endif