X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fappearanceprefs.h;h=e7ef3426f1a5d2071ed0872eeb5fc68dddbf1ad5;hp=51521664356dd0236517b85cc58f795ea8a38a4e;hb=9ffdfbe8e6fa7daaad4dcfdd46b6ac7b6e7a47e8;hpb=258d9cb69d560f40961acdd20866e12e940c2f93 diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.h b/cinelerra-5.1/cinelerra/appearanceprefs.h index 51521664..e7ef3426 100644 --- a/cinelerra-5.1/cinelerra/appearanceprefs.h +++ b/cinelerra-5.1/cinelerra/appearanceprefs.h @@ -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: @@ -242,6 +255,14 @@ public: PreferencesWindow *pwindow; }; +class UseWarnStack : public BC_CheckBox +{ +public: + UseWarnStack(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class BD_WarnRoot : public BC_CheckBox { public: @@ -250,6 +271,14 @@ public: PreferencesWindow *pwindow; }; +class UseWarnFileRef : public BC_CheckBox +{ +public: + UseWarnFileRef(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class PopupMenuBtnup : public BC_CheckBox { public: @@ -308,8 +337,8 @@ public: class YuvColorSpace : public BC_PopupMenu { - static const char *color_space[3]; public: + static const char *color_space[3]; YuvColorSpace(int x, int y, PreferencesWindow *pwindow); ~YuvColorSpace(); @@ -330,8 +359,8 @@ public: class YuvColorRange : public BC_PopupMenu { - static const char *color_range[2]; public: + static const char *color_range[2]; YuvColorRange(int x, int y, PreferencesWindow *pwindow); ~YuvColorRange(); @@ -358,4 +387,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