X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fappearanceprefs.h;h=e96aca1b4d6e7eec29b3974cbbbf8a5b97e01421;hp=e8122474825ba48c1acaec138f5e93634e194c58;hb=d3136bf5076921bddf85277f619eeffcf8eb3009;hpb=debf38f78ae5ce154f54183b1638278bf8a24736 diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.h b/cinelerra-5.1/cinelerra/appearanceprefs.h index e8122474..e96aca1b 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,15 +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; }; @@ -71,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: @@ -166,6 +181,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: @@ -184,6 +209,38 @@ public: PreferencesWindow *pwindow; }; +class ViewViconSize : public BC_TumbleTextBox +{ +public: + ViewViconSize(PreferencesWindow *pwindow, + AppearancePrefs *aprefs, int x, int y); + int handle_event(); + AppearancePrefs *aprefs; + PreferencesWindow *pwindow; +}; + +class ViewViconColorMode : public BC_PopupMenu +{ + static const char *vicon_color_modes[3]; +public: + ViewViconColorMode(PreferencesWindow *pwindow, int x, int y); + ~ViewViconColorMode(); + + void create_objects(); + int handle_event(); + + PreferencesWindow *pwindow; +}; + +class ViewViconColorModeItem : public BC_MenuItem +{ +public: + ViewViconColorModeItem(ViewViconColorMode *popup, const char *text, int id); + int handle_event(); + ViewViconColorMode *popup; + int id; +}; + class UseTipWindow : public BC_CheckBox { public: @@ -216,6 +273,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: @@ -248,6 +313,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: @@ -256,6 +329,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: @@ -266,8 +347,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(); @@ -288,8 +369,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(); @@ -316,4 +397,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