projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
timebar.h
diff --git
a/cinelerra-5.1/cinelerra/timebar.h
b/cinelerra-5.1/cinelerra/timebar.h
index 0a047ff72f3eb52ffa8a321543c6d6ab03fec18a..3032aa0b9f04f46d41166401ab1187939c76e6f8 100644
(file)
--- a/
cinelerra-5.1/cinelerra/timebar.h
+++ b/
cinelerra-5.1/cinelerra/timebar.h
@@
-48,6
+48,7
@@
class PresentationGUI;
#define TIMEBAR_DRAG_LEFT 2
#define TIMEBAR_DRAG_RIGHT 3
#define TIMEBAR_DRAG_CENTER 4
#define TIMEBAR_DRAG_LEFT 2
#define TIMEBAR_DRAG_RIGHT 3
#define TIMEBAR_DRAG_CENTER 4
+#define TIMEBAR_DRAG_LABEL 5
class LabelGUI : public BC_Toggle
{
class LabelGUI : public BC_Toggle
{
@@
-64,9
+65,12
@@
public:
virtual int handle_event();
static int get_y(MWindow *mwindow, TimeBar *timebar);
void reposition(int flush = 1);
virtual int handle_event();
static int get_y(MWindow *mwindow, TimeBar *timebar);
void reposition(int flush = 1);
+ void update_value();
+ int test_drag_label(int press);
Label *label;
int button_press_event();
Label *label;
int button_press_event();
+ int button_release_event();
MWindow *mwindow;
VWindowGUI *gui;
TimeBar *timebar;
MWindow *mwindow;
VWindowGUI *gui;
TimeBar *timebar;
@@
-154,12
+158,14
@@
public:
// Get highlight status when the cursor is over the timeline.
virtual double test_highlight();
virtual int has_preview() { return 0; }
// Get highlight status when the cursor is over the timeline.
virtual double test_highlight();
virtual int has_preview() { return 0; }
+ virtual int is_vwindow() { return 0; }
void update_labels();
void update_points();
// Make sure widgets are highlighted according to selection status
void update_highlights();
void update_labels();
void update_points();
// Make sure widgets are highlighted according to selection status
void update_highlights();
+ void draw_inout_highlight();
// Update highlight cursor during a drag
virtual void update_cursor();
// Update highlight cursor during a drag
virtual void update_cursor();
@@
-187,6
+193,7
@@
public:
// Operation started by a buttonpress
int current_operation;
// Operation started by a buttonpress
int current_operation;
+ LabelGUI *drag_label;
private:
int get_preview_pixels(int &x1, int &x2);
private:
int get_preview_pixels(int &x1, int &x2);