X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fappearanceprefs.h;h=b59a9ed995a1470fca1f982bc744eb4b0a88eec6;hp=b5f1f6a06f7873004ed27cc6e3f89a419d0dc937;hb=cb73d14fe59acbe8eba0a62f4af26a23072201fa;hpb=78555663c7d2d1148808014cc7ada53255c0c305 diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.h b/cinelerra-5.1/cinelerra/appearanceprefs.h index b5f1f6a0..b59a9ed9 100644 --- a/cinelerra-5.1/cinelerra/appearanceprefs.h +++ b/cinelerra-5.1/cinelerra/appearanceprefs.h @@ -47,6 +47,8 @@ public: TimeFormatFeet *feet; TimeFormatSeconds *seconds; ViewThumbnails *thumbnails; + YuvColorSpace *yuv_color_space; + YuvColorRange *yuv_color_range; }; @@ -211,6 +213,14 @@ public: PreferencesWindow *pwindow; }; +class GrabFocusPolicy : public BC_CheckBox +{ +public: + GrabFocusPolicy(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class ActivateFocusPolicy : public BC_CheckBox { public: @@ -227,5 +237,72 @@ public: PreferencesWindow *pwindow; }; +class ForwardRenderDisplacement : public BC_CheckBox +{ +public: + ForwardRenderDisplacement(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + +class HighlightInverseColor : public BC_TextBox +{ +public: + HighlightInverseColor(PreferencesWindow *pwindow, int x, int y, const char *hex); + int handle_event(); + PreferencesWindow *pwindow; +}; + +class YuvColorSpace : public BC_PopupMenu +{ + static const char *color_space[3]; +public: + YuvColorSpace(int x, int y, PreferencesWindow *pwindow); + ~YuvColorSpace(); + + void create_objects(); + int handle_event(); + + PreferencesWindow *pwindow; +}; + +class YuvColorSpaceItem : public BC_MenuItem +{ +public: + YuvColorSpaceItem(YuvColorSpace *popup, const char *text, int id); + int handle_event(); + YuvColorSpace *popup; + int id; +}; + +class YuvColorRange : public BC_PopupMenu +{ + static const char *color_range[2]; +public: + YuvColorRange(int x, int y, PreferencesWindow *pwindow); + ~YuvColorRange(); + + void create_objects(); + int handle_event(); + + PreferencesWindow *pwindow; +}; + +class YuvColorRangeItem : public BC_MenuItem +{ +public: + YuvColorRangeItem(YuvColorRange *popup, const char *text, int id); + int handle_event(); + YuvColorRange *popup; + int id; +}; + +class PerpetualSession : public BC_CheckBox +{ +public: + PerpetualSession(int x, int y, PreferencesWindow *pwindow); + int handle_event(); + PreferencesWindow *pwindow; +}; #endif