00001 #ifndef MAINCURSOR_H 00002 #define MAINCURSOR_H 00003 00004 #include "guicast.h" 00005 #include "mwindow.inc" 00006 #include "mwindowgui.inc" 00007 00008 class MainCursor 00009 { 00010 public: 00011 MainCursor(MWindow *mwindow, MWindowGUI *gui); 00012 ~MainCursor(); 00013 00014 void create_objects(); 00015 int repeat_event(int64_t duration); 00016 void draw(); 00017 void hide(); 00018 void flash(); 00019 void activate(); 00020 void deactivate(); 00021 void show(); 00022 void restore(); 00023 void update(); 00024 void focus_in_event(); 00025 void focus_out_event(); 00026 00027 MWindow *mwindow; 00028 MWindowGUI *gui; 00029 int visible; 00030 double selectionstart, selectionend; 00031 int64_t zoom_sample; 00032 double view_start; 00033 int64_t pixel2, pixel1; 00034 int active; 00035 int playing_back; 00036 }; 00037 00038 #endif
1.4.4