X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Finterfaceprefs.h;h=674bdc0f93bddf5761a7efd05db879846152f2cb;hb=a0cf574cd7814600dc5730b8204b51cb91f8ad12;hp=062e533d58207bac4c29475cf51358b4b42126d9;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/interfaceprefs.h b/cinelerra-5.1/cinelerra/interfaceprefs.h index 062e533d..674bdc0f 100644 --- a/cinelerra-5.1/cinelerra/interfaceprefs.h +++ b/cinelerra-5.1/cinelerra/interfaceprefs.h @@ -22,9 +22,10 @@ #ifndef INTERFACEPREFS_H #define INTERFACEPREFS_H +class InterfacePrefs; +class IndexPathText; class IndexSize; class IndexCount; -class IndexPathText; class TimeFormatHMS; class TimeFormatHMSF; class TimeFormatSamples; @@ -32,17 +33,35 @@ class TimeFormatFrames; class TimeFormatHex; class TimeFormatFeet; class TimeFormatSeconds; +class TimeFormatFeetSetting; class MeterMinDB; class MeterMaxDB; class MeterVUDB; class MeterVUInt; class ViewBehaviourText; +class ViewBehaviourItem; class ViewTheme; -class ViewThumbnails; class ViewThemeItem; +class ViewPluginIcons; +class ViewPluginIconItem; +class ViewThumbnails; class UseTipWindow; +class UseWarnIndecies; +class UseWarnVersion; +class BD_WarnRoot; +class ScanCommercials; +class AndroidRemote; +class PopupMenuBtnup; +class ActivateFocusPolicy; +class DeactivateFocusPolicy; +class AndroidPIN; +class AndroidPort; +class ShBtnPrefs; class StillImageUseDuration; class StillImageDuration; +class KeyframeReticle; +class HairlineItem; +class IndexFFMPEGMarkerFiles; #include "browsebutton.h" #include "deleteallindexes.inc" @@ -68,6 +87,7 @@ public: IndexCount *icount; IndexPathText *ipathtext; DeleteAllIndexes *deleteall; + IndexFFMPEGMarkerFiles *ffmpeg_marker_files; TimeFormatHMS *hms; TimeFormatHMSF *hmsf; @@ -84,6 +104,7 @@ public: ViewBehaviourText *button1, *button2, *button3; ViewThumbnails *thumbnails; ShBtnEditDialog *shbtn_dialog; + KeyframeReticle *keyframe_reticle; }; @@ -260,20 +281,40 @@ public: PreferencesWindow *pwindow; }; -class ViewThumbnails : public BC_CheckBox +class ViewThemeItem : public BC_MenuItem { public: - ViewThumbnails(int x, int y, PreferencesWindow *pwindow); + ViewThemeItem(ViewTheme *popup, const char *text); + int handle_event(); + ViewTheme *popup; +}; + +class ViewPluginIcons : public BC_PopupMenu +{ +public: + ViewPluginIcons(int x, int y, PreferencesWindow *pwindow); + ~ViewPluginIcons(); + + void create_objects(); int handle_event(); + PreferencesWindow *pwindow; }; -class ViewThemeItem : public BC_MenuItem +class ViewPluginIconItem : public BC_MenuItem { public: - ViewThemeItem(ViewTheme *popup, char *text); + ViewPluginIconItem(ViewPluginIcons *popup, const char *text); int handle_event(); - ViewTheme *popup; + ViewPluginIcons *popup; +}; + +class ViewThumbnails : public BC_CheckBox +{ +public: + ViewThumbnails(int x, int y, PreferencesWindow *pwindow); + int handle_event(); + PreferencesWindow *pwindow; }; class UseTipWindow : public BC_CheckBox @@ -292,6 +333,22 @@ public: PreferencesWindow *pwindow; }; +class UseWarnVersion : public BC_CheckBox +{ +public: + UseWarnVersion(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + +class BD_WarnRoot : public BC_CheckBox +{ +public: + BD_WarnRoot(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class ScanCommercials : public BC_CheckBox { public: @@ -308,6 +365,30 @@ public: PreferencesWindow *pwindow; }; +class PopupMenuBtnup : public BC_CheckBox +{ +public: + PopupMenuBtnup(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + +class ActivateFocusPolicy : public BC_CheckBox +{ +public: + ActivateFocusPolicy(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + +class DeactivateFocusPolicy : public BC_CheckBox +{ +public: + DeactivateFocusPolicy(PreferencesWindow *pwindow, int x, int y); + int handle_event(); + PreferencesWindow *pwindow; +}; + class AndroidPIN : public BC_TextBox { public: @@ -349,5 +430,38 @@ public: PreferencesWindow *pwindow; }; +class KeyframeReticle : public BC_PopupMenu +{ +public: + KeyframeReticle(int x, int y, int *output); + ~KeyframeReticle(); + + const char* hairline_to_string(int type); + void create_objects(); + int *output; +}; + +class HairlineItem : public BC_MenuItem +{ +public: + HairlineItem(KeyframeReticle *popup, int hairline); + ~HairlineItem(); + + KeyframeReticle *popup; + int handle_event(); + int hairline; +}; + +class IndexFFMPEGMarkerFiles : public BC_CheckBox +{ +public: + IndexFFMPEGMarkerFiles(InterfacePrefs *iface_prefs, int x, int y); + ~IndexFFMPEGMarkerFiles(); + + int handle_event(); + + InterfacePrefs *iface_prefs; +}; + #endif