projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
appearanceprefs.h
diff --git
a/cinelerra-5.1/cinelerra/appearanceprefs.h
b/cinelerra-5.1/cinelerra/appearanceprefs.h
index fed29a98a314fcd2217c3aedf55526f0c58e0af0..590732b5b9e4167dc27e4940107ea1ae71d6e69a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/appearanceprefs.h
+++ b/
cinelerra-5.1/cinelerra/appearanceprefs.h
@@
-242,7
+242,8
@@
public:
class ViewViconColorMode : public BC_PopupMenu
{
class ViewViconColorMode : public BC_PopupMenu
{
- static const char *vicon_color_modes[3];
+#define MAX_VICON_COLOR_MODE 3
+ static const char *vicon_color_modes[MAX_VICON_COLOR_MODE];
public:
ViewViconColorMode(PreferencesWindow *pwindow, int x, int y);
~ViewViconColorMode();
public:
ViewViconColorMode(PreferencesWindow *pwindow, int x, int y);
~ViewViconColorMode();
@@
-278,10
+279,18
@@
public:
PreferencesWindow *pwindow;
};
PreferencesWindow *pwindow;
};
-class Use
WarnVersion
: public BC_CheckBox
+class Use
UnsafeGUI
: public BC_CheckBox
{
public:
{
public:
- UseWarnVersion(PreferencesWindow *pwindow, int x, int y);
+ UseUnsafeGUI(PreferencesWindow *pwindow, int x, int y);
+ int handle_event();
+ PreferencesWindow *pwindow;
+};
+
+class OngoingBackups: public BC_CheckBox
+{
+public:
+ OngoingBackups(PreferencesWindow *pwindow, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
};
int handle_event();
PreferencesWindow *pwindow;
};
@@
-369,7
+378,8
@@
public:
class YuvColorSpace : public BC_PopupMenu
{
public:
class YuvColorSpace : public BC_PopupMenu
{
public:
- static const char *color_space[3];
+#define MAX_COLOR_SPACE 5
+ static const char *color_space[MAX_COLOR_SPACE];
YuvColorSpace(int x, int y, PreferencesWindow *pwindow);
~YuvColorSpace();
YuvColorSpace(int x, int y, PreferencesWindow *pwindow);
~YuvColorSpace();
@@
-391,7
+401,8
@@
public:
class YuvColorRange : public BC_PopupMenu
{
public:
class YuvColorRange : public BC_PopupMenu
{
public:
- static const char *color_range[2];
+#define MAX_COLOR_RANGE 2
+ static const char *color_range[MAX_COLOR_RANGE];
YuvColorRange(int x, int y, PreferencesWindow *pwindow);
~YuvColorRange();
YuvColorRange(int x, int y, PreferencesWindow *pwindow);
~YuvColorRange();
@@
-438,7
+449,7
@@
class Composer_BG_Color : public ColorBoxButton
{
public:
Composer_BG_Color(PreferencesWindow *pwindow,
{
public:
Composer_BG_Color(PreferencesWindow *pwindow,
- int x, int y, int w, int h, int color
, int alpha
);
+ int x, int y, int w, int h, int color);
~Composer_BG_Color();
void handle_done_event(int result);
int handle_new_color(int color, int alpha);
~Composer_BG_Color();
void handle_done_event(int result);
int handle_new_color(int color, int alpha);