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