projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod scope for smooth graphic, tweaks to scope layout
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
zoombar.h
diff --git
a/cinelerra-5.1/cinelerra/zoombar.h
b/cinelerra-5.1/cinelerra/zoombar.h
index 729a2266c848fb00f21b8d6f4d6e34eb002b0ace..107500e0aa3707e660598a4204220616b488bb1e 100644
(file)
--- a/
cinelerra-5.1/cinelerra/zoombar.h
+++ b/
cinelerra-5.1/cinelerra/zoombar.h
@@
-22,23
+22,13
@@
#ifndef ZOOMBAR_H
#define ZOOMBAR_H
#ifndef ZOOMBAR_H
#define ZOOMBAR_H
-class FromTextBox;
-class LengthTextBox;
-class ToTextBox;
-
-
-class SampleZoomPanel;
-class AmpZoomPanel;
-class TrackZoomPanel;
-class AutoZoom;
-class AutoTypeMenu;
-class ZoomTextBox;
-
#include "guicast.h"
#include "mwindow.inc"
#include "mwindowgui.inc"
#include "guicast.h"
#include "mwindow.inc"
#include "mwindowgui.inc"
+#include "zoombar.inc"
#include "zoompanel.h"
#include "zoompanel.h"
+
class ZoomBar : public BC_SubWindow
{
public:
class ZoomBar : public BC_SubWindow
{
public:
@@
-52,6
+42,8
@@
public:
void redraw_time_dependancies();
int update(); // redraw the current values
void update_autozoom();
void redraw_time_dependancies();
int update(); // redraw the current values
void update_autozoom();
+ void update_autozoom(int grouptype, int color);
+ void update_autozoom(int color);
int update_clocks();
int update_playback(int64_t new_position); // update the playback position
int set_selection(int which_one);
int update_clocks();
int update_playback(int64_t new_position); // update the playback position
int set_selection(int which_one);
@@
-66,12
+58,12
@@
public:
AutoTypeMenu *auto_type;
ZoomTextBox *auto_zoom_text;
AutoTypeMenu *auto_type;
ZoomTextBox *auto_zoom_text;
- BC_Title *zoom_value, *playback_value;
LengthTextBox *length_value;
FromTextBox *from_value;
ToTextBox *to_value;
LengthTextBox *length_value;
FromTextBox *from_value;
ToTextBox *to_value;
+ TitleAlphaBar *title_alpha_bar;
+ TitleAlphaText *title_alpha_text;
char string[256], string2[256];
char string[256], string2[256];
- int64_t old_position;
};
class SampleZoomPanel : public ZoomPanel
};
class SampleZoomPanel : public ZoomPanel
@@
-121,6
+113,7
@@
public:
void create_objects();
static const char* to_text(int shape);
static int from_text(char *text);
void create_objects();
static const char* to_text(int shape);
static int from_text(char *text);
+ int draw_face(int dx, int color);
int handle_event();
MWindow *mwindow;
ZoomBar *zoombar;
int handle_event();
MWindow *mwindow;
ZoomBar *zoombar;
@@
-138,12
+131,6
@@
public:
};
};
-
-
-
-
-
-
class FromTextBox : public BC_TextBox
{
public:
class FromTextBox : public BC_TextBox
{
public:
@@
-178,7
+165,22
@@
public:
ZoomBar *zoombar;
};
ZoomBar *zoombar;
};
+class TitleAlphaBar : public BC_FSlider
+{
+public:
+ TitleAlphaBar(MWindow *mwindow, ZoomBar *zoombar, int x, int y);
+ int handle_event();
+ MWindow *mwindow;
+ ZoomBar *zoombar;
+};
-
+class TitleAlphaText : public BC_TextBox
+{
+public:
+ TitleAlphaText(MWindow *mwindow, ZoomBar *zoombar, int x, int y);
+ int handle_event();
+ MWindow *mwindow;
+ ZoomBar *zoombar;
+};
#endif
#endif