X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fappearanceprefs.h;h=c7d95ecbfea6db90745662e54ba15acb8202514f;hb=abdff69b9309c7d5cd2ed6ce17dd2e0d85aef9a1;hp=6c2473d6affc7227fbcd63a2ab1e6dc6f05fa062;hpb=4c207ab325a8e8e6b79a9a18d4647273b5f59f93;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.h b/cinelerra-5.1/cinelerra/appearanceprefs.h index 6c2473d6..c7d95ecb 100644 --- a/cinelerra-5.1/cinelerra/appearanceprefs.h +++ b/cinelerra-5.1/cinelerra/appearanceprefs.h @@ -42,6 +42,7 @@ public: int update(int new_value); TimeFormatHMS *hms; TimeFormatHMSF *hmsf; + TimeFormatTimecode *timecode; TimeFormatSamples *samples; TimeFormatHex *hex; TimeFormatFrames *frames; @@ -76,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: @@ -171,6 +181,27 @@ 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: @@ -255,18 +286,18 @@ public: PreferencesWindow *pwindow; }; -class UseWarnStack : public BC_CheckBox +class BD_WarnRoot : public BC_CheckBox { public: - UseWarnStack(PreferencesWindow *pwindow, int x, int y); + BD_WarnRoot(PreferencesWindow *pwindow, int x, int y); int handle_event(); PreferencesWindow *pwindow; }; -class BD_WarnRoot : public BC_CheckBox +class UseWarnFileRef : public BC_CheckBox { public: - BD_WarnRoot(PreferencesWindow *pwindow, int x, int y); + UseWarnFileRef(PreferencesWindow *pwindow, int x, int y); int handle_event(); PreferencesWindow *pwindow; }; @@ -303,6 +334,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: @@ -329,8 +368,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(); @@ -351,8 +390,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(); @@ -399,7 +438,7 @@ class Composer_BG_Color : public ColorBoxButton { 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);