00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef WORKCURSOR_MOVE_H
00023 #define WORKCURSOR_MOVE_H
00024
00025 #include <Command.h>
00026 #include <defines.h>
00027
00028 class Sheet;
00029 class SheetView;
00030 class PlayHead;
00031
00032 class WorkCursorMove : public Command
00033 {
00034 public :
00035 WorkCursorMove (PlayHead* cursor, SheetView* sv);
00036 ~WorkCursorMove (){};
00037
00038 int finish_hold();
00039 int begin_hold();
00040 void cancel_action();
00041 int jog();
00042
00043 void set_cursor_shape(int useX, int useY);
00044
00045 private :
00046 Sheet* m_sheet;
00047 SheetView* m_sv;
00048 PlayHead* m_playCursor;
00049 TimeRef m_origPos;
00050 };
00051
00052 #endif