X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fappearanceprefs.h;h=fc40b04b81358c49a8764f11a93295ff6155bd57;hp=c83a04dacbdbdc826e13f472a50f2fbc9b9983ca;hb=54b918a8b84f666bf32548ebd12b93908061d2a6;hpb=8cad02a7b02e4a8543bc5514892b51aed877a193 diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.h b/cinelerra-5.1/cinelerra/appearanceprefs.h index c83a04da..fc40b04b 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" @@ -41,17 +42,20 @@ public: int update(int new_value); TimeFormatHMS *hms; TimeFormatHMSF *hmsf; + TimeFormatTimecode *timecode; TimeFormatSamples *samples; TimeFormatHex *hex; 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; }; @@ -73,6 +77,15 @@ public: AppearancePrefs *tfwindow; }; +class TimeFormatTimecode : public BC_Radial +{ +public: + TimeFormatTimecode(PreferencesWindow *pwindow, AppearancePrefs *tfwindow, int value, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; + AppearancePrefs *tfwindow; +}; + class TimeFormatSamples : public BC_Radial { public: @@ -168,6 +181,37 @@ public: ViewPluginIcons *popup; }; +class LayoutLocale : public BC_PopupMenu +{ + static const char *locale_list[]; +public: + LayoutLocale(int x, int y, PreferencesWindow *pwindow); + ~LayoutLocale(); + + void create_objects(); + int handle_event(); + + PreferencesWindow *pwindow; +}; + +class LayoutLocaleItem : public BC_MenuItem +{ +public: + LayoutLocaleItem(LayoutLocale *popup, const char *text); + int handle_event(); + LayoutLocale *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: @@ -234,10 +278,18 @@ public: PreferencesWindow *pwindow; }; -class UseWarnVersion : public BC_CheckBox +class UseUnsafeGUI : public BC_CheckBox { 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; }; @@ -250,6 +302,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: @@ -282,6 +342,14 @@ public: PreferencesWindow *pwindow; }; +class AutoRotate: public BC_CheckBox +{ +public: + AutoRotate(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class ForwardRenderDisplacement : public BC_CheckBox { public: @@ -308,8 +376,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 +398,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(); @@ -374,4 +442,16 @@ public: PreferencesWindow *pwindow; }; +class Composer_BG_Color : public ColorBoxButton +{ +public: + Composer_BG_Color(PreferencesWindow *pwindow, + 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); + + PreferencesWindow *pwindow; +}; + #endif