projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add 2 asset list fmts, user title rework, added show edit, bt tweak
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
interfaceprefs.h
diff --git
a/cinelerra-5.1/cinelerra/interfaceprefs.h
b/cinelerra-5.1/cinelerra/interfaceprefs.h
index 062e533d58207bac4c29475cf51358b4b42126d9..1d1844c1e38fefda744460553cb3b991475f94ab 100644
(file)
--- a/
cinelerra-5.1/cinelerra/interfaceprefs.h
+++ b/
cinelerra-5.1/cinelerra/interfaceprefs.h
@@
-22,32
+22,12
@@
#ifndef INTERFACEPREFS_H
#define INTERFACEPREFS_H
#ifndef INTERFACEPREFS_H
#define INTERFACEPREFS_H
-class IndexSize;
-class IndexCount;
-class IndexPathText;
-class TimeFormatHMS;
-class TimeFormatHMSF;
-class TimeFormatSamples;
-class TimeFormatFrames;
-class TimeFormatHex;
-class TimeFormatFeet;
-class TimeFormatSeconds;
-class MeterMinDB;
-class MeterMaxDB;
-class MeterVUDB;
-class MeterVUInt;
-class ViewBehaviourText;
-class ViewTheme;
-class ViewThumbnails;
-class ViewThemeItem;
-class UseTipWindow;
-class StillImageUseDuration;
-class StillImageDuration;
-
#include "browsebutton.h"
#include "deleteallindexes.inc"
#include "browsebutton.h"
#include "deleteallindexes.inc"
+#include "interfaceprefs.inc"
#include "mwindow.inc"
#include "preferencesthread.h"
#include "mwindow.inc"
#include "preferencesthread.h"
+#include "probeprefs.inc"
#include "shbtnprefs.inc"
#include "shbtnprefs.inc"
@@
-62,28
+42,28
@@
public:
int update(int new_value);
const char* behavior_to_text(int mode);
int start_shbtn_dialog();
int update(int new_value);
const char* behavior_to_text(int mode);
int start_shbtn_dialog();
+ void start_probe_dialog();
BrowseButton *ipath;
IndexSize *isize;
IndexCount *icount;
IndexPathText *ipathtext;
BrowseButton *ipath;
IndexSize *isize;
IndexCount *icount;
IndexPathText *ipathtext;
- DeleteAllIndexes *deleteall;
-
- TimeFormatHMS *hms;
- TimeFormatHMSF *hmsf;
- TimeFormatSamples *samples;
- TimeFormatHex *hex;
- TimeFormatFrames *frames;
- TimeFormatFeet *feet;
- TimeFormatSeconds *seconds;
+ DeleteAllIndexes *del_indexes;
+ DeleteAllIndexes *del_clipngs;
+ IndexFFMPEGMarkerFiles *ffmpeg_marker_files;
+ ViewBehaviourText *button1, *button2, *button3;
MeterMinDB *min_db;
MeterMaxDB *max_db;
MeterMinDB *min_db;
MeterMaxDB *max_db;
- MeterVUDB *vu_db;
-// MeterVUInt *vu_int;
- ViewBehaviourText *button1, *button2, *button3;
- ViewThumbnails *thumbnails;
+
ShBtnEditDialog *shbtn_dialog;
ShBtnEditDialog *shbtn_dialog;
+ KeyframeReticle *keyframe_reticle;
+ PrefsYUV420P_DVDlace *yuv420p_dvdlace;
+ FileProbeDialog *file_probe_dialog;
+ PrefsFileProbes *file_probes;
+ PrefsTrapSigSEGV *trap_segv;
+ PrefsTrapSigINTR *trap_intr;
+ SnapshotPathText *snapshot_path;
};
};
@@
-113,240
+93,218
@@
public:
PreferencesWindow *pwindow;
};
PreferencesWindow *pwindow;
};
-class TimeFormatHMS : public BC_Radial
+
+class ViewBehaviourText : public BC_PopupMenu
{
public:
{
public:
- TimeFormatHMS(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value, int x, int y);
- int handle_event();
- PreferencesWindow *pwindow;
+ ViewBehaviourText(int x, int y, const char *text,
+ PreferencesWindow *pwindow, int *output);
+ ~ViewBehaviourText();
+
+ int handle_event(); // user copies text to value here
+ void create_objects(); // add initial items
InterfacePrefs *tfwindow;
InterfacePrefs *tfwindow;
+ int *output;
};
};
-class
TimeFormatHMSF : public BC_Radial
+class
ViewBehaviourItem : public BC_MenuItem
{
public:
{
public:
- TimeFormatHMSF(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value, int x, int y);
+ ViewBehaviourItem(ViewBehaviourText *popup, char *text, int behaviour);
+ ~ViewBehaviourItem();
+
int handle_event();
int handle_event();
-
PreferencesWindow *pwindow
;
-
InterfacePrefs *tfwindow
;
+
ViewBehaviourText *popup
;
+
int behaviour
;
};
};
-class TimeFormatSamples : public BC_Radial
+
+class MeterMinDB : public BC_TextBox
{
public:
{
public:
-
TimeFormatSamples(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value
, int x, int y);
+
MeterMinDB(PreferencesWindow *pwindow, char *text
, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
int handle_event();
PreferencesWindow *pwindow;
- InterfacePrefs *tfwindow;
};
};
-class TimeFormatFrames : public BC_Radial
+
+class MeterMaxDB : public BC_TextBox
{
public:
{
public:
-
TimeFormatFrames(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value
, int x, int y);
+
MeterMaxDB(PreferencesWindow *pwindow, char *text
, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
int handle_event();
PreferencesWindow *pwindow;
- InterfacePrefs *tfwindow;
};
};
-class
TimeFormatHex : public BC_Radial
+class
ScanCommercials : public BC_CheckBox
{
public:
{
public:
-
TimeFormatHex(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value
, int x, int y);
+
ScanCommercials(PreferencesWindow *pwindow
, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
int handle_event();
PreferencesWindow *pwindow;
- InterfacePrefs *tfwindow;
};
};
-class
TimeFormatFeet : public BC_Radial
+class
AndroidRemote : public BC_CheckBox
{
public:
{
public:
-
TimeFormatFeet(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value
, int x, int y);
+
AndroidRemote(PreferencesWindow *pwindow
, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
int handle_event();
PreferencesWindow *pwindow;
- InterfacePrefs *tfwindow;
};
};
-class
TimeFormatSeconds : public BC_Radial
+class
AndroidPIN : public BC_TextBox
{
public:
{
public:
- TimeFormatSeconds(PreferencesWindow *pwindow, InterfacePrefs *tfwindow, int value, int x, int y);
- int handle_event();
PreferencesWindow *pwindow;
PreferencesWindow *pwindow;
- InterfacePrefs *tfwindow;
+ int handle_event();
+ AndroidPIN(PreferencesWindow *pwindow, int x, int y);
};
};
-class
TimeFormatFeetSetting
: public BC_TextBox
+class
AndroidPort
: public BC_TextBox
{
public:
{
public:
- TimeFormatFeetSetting(PreferencesWindow *pwindow, int x, int y, char *string);
- int handle_event();
PreferencesWindow *pwindow;
PreferencesWindow *pwindow;
+ int handle_event();
+ AndroidPort(PreferencesWindow *pwindow, int x, int y);
};
};
-
-
-class MeterMinDB : public BC_TextBox
+class ShBtnPrefs : public BC_GenericButton
{
public:
{
public:
- MeterMinDB(PreferencesWindow *pwindow, char *text, int x, int y);
- int handle_event();
PreferencesWindow *pwindow;
PreferencesWindow *pwindow;
-};
-
+ InterfacePrefs *iface_prefs;
-class MeterMaxDB : public BC_TextBox
-{
-public:
- MeterMaxDB(PreferencesWindow *pwindow, char *text, int x, int y);
int handle_event();
int handle_event();
- PreferencesWindow *pwindow;
+ ShBtnPrefs(PreferencesWindow *pwindow,
+ InterfacePrefs *iface_prefs, int x, int y);
};
};
-
-class MeterVUDB : public BC_Radial
+class StillImageUseDuration : public BC_CheckBox
{
public:
{
public:
-
MeterVUDB(PreferencesWindow *pwindow, char *text
, int y);
+
StillImageUseDuration(PreferencesWindow *pwindow, int value, int x
, int y);
int handle_event();
int handle_event();
-// MeterVUInt *vu_int;
PreferencesWindow *pwindow;
};
PreferencesWindow *pwindow;
};
-class
MeterVUInt : public BC_Radial
+class
StillImageDuration : public BC_TextBox
{
public:
{
public:
-
MeterVUInt(PreferencesWindow *pwindow, char *text
, int y);
+
StillImageDuration(PreferencesWindow *pwindow, int x
, int y);
int handle_event();
int handle_event();
- MeterVUDB *vu_db;
PreferencesWindow *pwindow;
};
PreferencesWindow *pwindow;
};
-class
ViewBehaviourText
: public BC_PopupMenu
+class
KeyframeReticle
: public BC_PopupMenu
{
public:
{
public:
- ViewBehaviourText(int x,
- int y,
- const char *text,
- PreferencesWindow *pwindow,
- int *output);
- ~ViewBehaviourText();
+ KeyframeReticle(PreferencesWindow *pwindow,
+ InterfacePrefs *iface_prefs, int x, int y, int *output);
+ ~KeyframeReticle();
- int handle_event(); // user copies text to value here
- void create_objects(); // add initial items
- InterfacePrefs *tfwindow;
+ const char *hairline_to_string(int type);
+ void create_objects();
+
+ PreferencesWindow *pwindow;
+ InterfacePrefs *iface_prefs;
int *output;
};
int *output;
};
-class
ViewBehaviour
Item : public BC_MenuItem
+class
Hairline
Item : public BC_MenuItem
{
public:
{
public:
-
ViewBehaviourItem(ViewBehaviourText *popup, char *text, int behaviour
);
- ~
ViewBehaviour
Item();
+
HairlineItem(KeyframeReticle *popup, int hairline
);
+ ~
Hairline
Item();
+ KeyframeReticle *popup;
int handle_event();
int handle_event();
- ViewBehaviourText *popup;
- int behaviour;
+ int hairline;
};
};
-class
ViewTheme : public BC_PopupMenu
+class
IndexFFMPEGMarkerFiles : public BC_CheckBox
{
public:
{
public:
-
ViewTheme(int x, int y, PreferencesWindow *pwindow
);
- ~
ViewTheme
();
+
IndexFFMPEGMarkerFiles(InterfacePrefs *iface_prefs, int x, int y
);
+ ~
IndexFFMPEGMarkerFiles
();
- void create_objects();
int handle_event();
int handle_event();
-
PreferencesWindow *pwindow
;
+
InterfacePrefs *iface_prefs
;
};
};
-class ViewThumbnails : public BC_CheckBox
-{
-public:
- ViewThumbnails(int x, int y, PreferencesWindow *pwindow);
- int handle_event();
- PreferencesWindow *pwindow;
-};
-class
ViewThemeItem : public BC_MenuItem
+class
PrefsTrapSigSEGV : public BC_CheckBox
{
public:
{
public:
- ViewThemeItem(ViewTheme *popup, char *text);
+ PrefsTrapSigSEGV(InterfacePrefs *subwindow, int x, int y);
+ ~PrefsTrapSigSEGV();
int handle_event();
int handle_event();
- ViewTheme *popup;
-};
-class UseTipWindow : public BC_CheckBox
-{
-public:
- UseTipWindow(PreferencesWindow *pwindow, int x, int y);
- int handle_event();
- PreferencesWindow *pwindow;
+ InterfacePrefs *subwindow;
};
};
-class
UseWarnIndecies
: public BC_CheckBox
+class
PrefsTrapSigINTR
: public BC_CheckBox
{
public:
{
public:
- UseWarnIndecies(PreferencesWindow *pwindow, int x, int y);
+ PrefsTrapSigINTR(InterfacePrefs *subwindow, int x, int y);
+ ~PrefsTrapSigINTR();
int handle_event();
int handle_event();
- PreferencesWindow *pwindow;
+
+ InterfacePrefs *subwindow;
};
};
-class ScanCommercials : public BC_CheckBox
+
+class PrefsFileProbes : public BC_GenericButton
{
public:
{
public:
- ScanCommercials(PreferencesWindow *pwindow, int x, int y);
- int handle_event();
PreferencesWindow *pwindow;
PreferencesWindow *pwindow;
-
}
;
+
InterfacePrefs *subwindow
;
-class AndroidRemote : public BC_CheckBox
-{
-public:
- AndroidRemote(PreferencesWindow *pwindow, int x, int y);
int handle_event();
int handle_event();
- Pref
erencesWindow *pwindow
;
+ Pref
sFileProbes(PreferencesWindow *pwindow, InterfacePrefs *subwindow, int x, int y)
;
};
};
-class AndroidPIN : public BC_TextBox
+
+class PrefsYUV420P_DVDlace : public BC_CheckBox
{
public:
{
public:
- PreferencesWindow *pwindow;
+ PrefsYUV420P_DVDlace(PreferencesWindow *pwindow,
+ InterfacePrefs *subwindow, int x, int y);
int handle_event();
int handle_event();
- AndroidPIN(PreferencesWindow *pwindow, int x, int y);
-};
-class AndroidPort : public BC_TextBox
-{
-public:
+ InterfacePrefs *subwindow;
PreferencesWindow *pwindow;
PreferencesWindow *pwindow;
- int handle_event();
- AndroidPort(PreferencesWindow *pwindow, int x, int y);
};
};
-class S
hBtnPrefs : public BC_GenericButton
+class S
napshotPathText : public BC_TextBox
{
public:
{
public:
- PreferencesWindow *pwindow;
- InterfacePrefs *iface_prefs;
+ SnapshotPathText(PreferencesWindow *pwindow,
+ InterfacePrefs *subwindow, int x, int y, int w);
+ ~SnapshotPathText();
int handle_event();
int handle_event();
- ShBtnPrefs(PreferencesWindow *pwindow, InterfacePrefs *iface_prefs, int x, int y);
+ PreferencesWindow *pwindow;
+ InterfacePrefs *subwindow;
};
};
-class StillImageUseDuration : public BC_CheckBox
+
+class PrefsAutostartLV2UI : public BC_CheckBox
{
public:
{
public:
-
StillImageUseDuration(PreferencesWindow *pwindow, int value, int x, int y
);
+
PrefsAutostartLV2UI(int x, int y, PreferencesWindow *pwindow
);
int handle_event();
PreferencesWindow *pwindow;
};
int handle_event();
PreferencesWindow *pwindow;
};
-class
StillImageDuration
: public BC_TextBox
+class
PrefsLV2PathText
: public BC_TextBox
{
public:
{
public:
- StillImageDuration(PreferencesWindow *pwindow, int x, int y);
+ PrefsLV2PathText(PreferencesWindow *pwindow,
+ InterfacePrefs *subwindow, int x, int y, int w);
+ ~PrefsLV2PathText();
+
int handle_event();
PreferencesWindow *pwindow;
int handle_event();
PreferencesWindow *pwindow;
+ InterfacePrefs *subwindow;
};
};