port 7.2 mods: align_edits foreground plugin refresh_frame tweak, rework soundlevel...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / appearanceprefs.h
index e44c00254bb98359f09c0cfeab15ba015954011f..2099c0548902eb88635b94f5cedf2a81c06e5115 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "appearanceprefs.inc"
 #include "browsebutton.h"
+#include "colorpicker.h"
 #include "deleteallindexes.inc"
 #include "mwindow.inc"
 #include "preferencesthread.h"
@@ -46,12 +47,14 @@ public:
        TimeFormatFrames *frames;
        TimeFormatFeet *feet;
        TimeFormatSeconds *seconds;
+       ViewLayoutScale *layout_scale;
        ViewThumbnails *thumbnails;
        ViewThumbnailSize *thumbnail_size;
        ViewViconSize *vicon_size;
        ViewViconColorMode *vicon_color_mode;
        YuvColorSpace *yuv_color_space;
        YuvColorRange *yuv_color_range;
+        Composer_BG_Color *cwdw_bg_color;
 };
 
 
@@ -168,6 +171,16 @@ public:
        ViewPluginIcons *popup;
 };
 
+class ViewLayoutScale : public BC_TumbleTextBox
+{
+public:
+       ViewLayoutScale(PreferencesWindow *pwindow,
+               AppearancePrefs *aprefs, int x, int y);
+       int handle_event();
+       AppearancePrefs *aprefs;
+       PreferencesWindow *pwindow;
+};
+
 class ViewThumbnails : public BC_CheckBox
 {
 public:
@@ -290,6 +303,14 @@ public:
        PreferencesWindow *pwindow;
 };
 
+class AutocolorAssets : public BC_CheckBox
+{
+public:
+       AutocolorAssets(PreferencesWindow *pwindow, int x, int y);
+       int handle_event();
+       PreferencesWindow *pwindow;
+};
+
 class HighlightInverseColor : public BC_TextBox
 {
 public:
@@ -350,4 +371,32 @@ public:
        PreferencesWindow *pwindow;
 };
 
+class CtrlToggle : public BC_CheckBox
+{
+public:
+       CtrlToggle(int x, int y, PreferencesWindow *pwindow);
+       int handle_event();
+       PreferencesWindow *pwindow;
+};
+
+class RectifyAudioToggle : public BC_CheckBox
+{
+public:
+       RectifyAudioToggle(int x, int y, PreferencesWindow *pwindow);
+       int handle_event();
+       PreferencesWindow *pwindow;
+};
+
+class Composer_BG_Color : public ColorBoxButton
+{
+public:
+       Composer_BG_Color(PreferencesWindow *pwindow,
+               int x, int y, int w, int h, int color, int alpha);
+       ~Composer_BG_Color();
+       void handle_done_event(int result);
+       int handle_new_color(int color, int alpha);
+
+       PreferencesWindow *pwindow;
+};
+
 #endif