#include "floatauto.inc"
#include "floatautos.inc"
#include "guicast.h"
+#include "language.h"
#include "mainclock.inc"
#include "maskauto.inc"
#include "meterpanel.h"
class CWindowEditing;
-#define AUTO_ZOOM "Auto"
+#define AUTO_ZOOM N_("Auto")
class CWindowGUI : public BC_Window
{
CWindowGUI(MWindow *mwindow, CWindow *cwindow);
~CWindowGUI();
- void create_objects();
+ void create_objects();
int resize_event(int w, int h);
+ void zoom_canvas(double value, int update_menu);
+ float get_auto_zoom();
// Events for the fullscreen canvas fall through to here.
int button_press_event();
int button_release_event();
int cursor_motion_event();
-
- void zoom_canvas(int do_auto, double value, int update_menu);
-
int close_event();
int keypress_event();
int translation_event();
void keyboard_zoomin();
void keyboard_zoomout();
void update_meters();
+ void stop_transport(const char *lock_msg);
MWindow *mwindow;
- CWindow *cwindow;
+ CWindow *cwindow;
+ const char *auto_zoom;
CWindowEditing *edit_panel;
// APanel *automation_panel;
CPanel *composite_panel;
// Origin for camera and projector operations during last button press
float center_x, center_y, center_z;
float control_in_x, control_in_y, control_out_x, control_out_y;
- int current_tool;
// Must recalculate the origin when pressing shift.
// Switch toggle on and off to recalculate origin.
int translating_zoom;
+ int highlighted;
};
void overwrite_selection();
void set_inpoint();
void set_outpoint();
- void clear_inpoint();
- void clear_outpoint();
+ void unset_inoutpoint();
void to_clip();
void toggle_label();
- void prev_label();
- void next_label();
- void prev_edit();
- void next_edit();
+ void prev_label(int cut);
+ void next_label(int cut);
+ void prev_edit(int cut);
+ void next_edit(int cut);
MWindow *mwindow;
CWindow *cwindow;
CWindowZoom(MWindow *mwindow, CWindowGUI *gui, int x, int y, int w);
virtual ~CWindowZoom();
int handle_event();
+ void update(double value);
MWindow *mwindow;
CWindowGUI *gui;
};