1 #ifndef RESIZETRACKTHREAD_H
2 #define RESIZETRACKTHREAD_h
10 #include "mwindow.inc"
15 class ResizeTrackWindow
;
17 class ResizeTrackThread
: public Thread
20 ResizeTrackThread(MWindow
*mwindow
, int track_number
);
23 void start_window(Track
*track
, int track_number
);
26 ResizeTrackWindow
*window
;
31 double w_scale
, h_scale
;
36 class ResizeTrackWindow
;
39 class ResizeTrackWidth
: public BC_TextBox
42 ResizeTrackWidth(ResizeTrackWindow
*gui
,
43 ResizeTrackThread
*thread
,
47 ResizeTrackWindow
*gui
;
48 ResizeTrackThread
*thread
;
51 class ResizeTrackSwap
: public BC_Button
54 ResizeTrackSwap(ResizeTrackWindow
*gui
,
55 ResizeTrackThread
*thread
,
59 ResizeTrackWindow
*gui
;
60 ResizeTrackThread
*thread
;
63 class ResizeTrackHeight
: public BC_TextBox
66 ResizeTrackHeight(ResizeTrackWindow
*gui
,
67 ResizeTrackThread
*thread
,
71 ResizeTrackWindow
*gui
;
72 ResizeTrackThread
*thread
;
76 class ResizeTrackScaleW
: public BC_TextBox
79 ResizeTrackScaleW(ResizeTrackWindow
*gui
,
80 ResizeTrackThread
*thread
,
84 ResizeTrackWindow
*gui
;
85 ResizeTrackThread
*thread
;
88 class ResizeTrackScaleH
: public BC_TextBox
91 ResizeTrackScaleH(ResizeTrackWindow
*gui
,
92 ResizeTrackThread
*thread
,
96 ResizeTrackWindow
*gui
;
97 ResizeTrackThread
*thread
;
101 class ResizeTrackWindow
: public BC_Window
104 ResizeTrackWindow(MWindow
*mwindow
,
105 ResizeTrackThread
*thread
,
108 ~ResizeTrackWindow();
110 void create_objects();
111 void update(int changed_scale
,
116 ResizeTrackThread
*thread
;
118 ResizeTrackHeight
*h
;
119 ResizeTrackScaleW
*w_scale
;
120 ResizeTrackScaleH
*h_scale
;