10 #include "editpanel.inc"
12 class ManualGotoWindow
;
13 class ManualGotoNumber
;
15 class ManualGoto
: public Thread
18 ManualGoto(MWindow
*mwindow
, BC_WindowBase
*masterwindow
);
23 // If it is being created or edited
25 BC_WindowBase
*masterwindow
;
28 ManualGotoWindow
*gotowindow
;
36 class ManualGotoWindow
: public BC_Window
39 ManualGotoWindow(MWindow
*mwindow
, ManualGoto
*thread
);
42 void create_objects();
44 void reset_data(double position
);
45 double get_entered_position_sec();
46 void set_entered_position_sec(double position
);
50 // Use this copy of the pointer in ManualGoto since multiple windows are possible
52 ManualGotoNumber
*boxhours
;
53 ManualGotoNumber
*boxminutes
;
54 ManualGotoNumber
*boxseconds
;
55 ManualGotoNumber
*boxmsec
;
62 class ManualGotoNumber
: public BC_TextBox
65 ManualGotoNumber(ManualGotoWindow
*window
, int x
, int y
, int w
, int min_num
, int max_num
, int chars
);
67 ManualGotoWindow
*window
;
71 void reshape_update(int64_t number
);