#include "appearanceprefs.inc"
#include "browsebutton.h"
+#include "colorpicker.h"
#include "deleteallindexes.inc"
#include "mwindow.inc"
#include "preferencesthread.h"
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;
};
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:
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:
+ ViewLayoutScale(PreferencesWindow *pwindow,
+ AppearancePrefs *aprefs, int x, int y);
+ int handle_event();
+ AppearancePrefs *aprefs;
+ PreferencesWindow *pwindow;
+};
+
class ViewThumbnails : public BC_CheckBox
{
public:
PreferencesWindow *pwindow;
};
+class ViewThumbnailSize : public BC_TumbleTextBox
+{
+public:
+ ViewThumbnailSize(PreferencesWindow *pwindow,
+ AppearancePrefs *aprefs, int x, int y);
+ int handle_event();
+ AppearancePrefs *aprefs;
+ 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
+{
+#define MAX_VICON_COLOR_MODE 3
+ static const char *vicon_color_modes[MAX_VICON_COLOR_MODE];
+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:
PreferencesWindow *pwindow;
};
-class UseWarnVersion : public BC_CheckBox
+class UseUnsafeGUI : public BC_CheckBox
+{
+public:
+ UseUnsafeGUI(PreferencesWindow *pwindow, int x, int y);
+ int handle_event();
+ PreferencesWindow *pwindow;
+};
+
+class OngoingBackups: public BC_CheckBox
{
public:
- UseWarnVersion(PreferencesWindow *pwindow, int x, int y);
+ OngoingBackups(PreferencesWindow *pwindow, int x, int y);
int handle_event();
PreferencesWindow *pwindow;
};
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:
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:
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:
class YuvColorSpace : public BC_PopupMenu
{
- static const char *color_space[3];
public:
+#define MAX_COLOR_SPACE 5
+ static const char *color_space[MAX_COLOR_SPACE];
YuvColorSpace(int x, int y, PreferencesWindow *pwindow);
~YuvColorSpace();
class YuvColorRange : public BC_PopupMenu
{
- static const char *color_range[2];
public:
+#define MAX_COLOR_RANGE 2
+ static const char *color_range[MAX_COLOR_RANGE];
YuvColorRange(int x, int y, PreferencesWindow *pwindow);
~YuvColorRange();
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);
+ ~Composer_BG_Color();
+ void handle_done_event(int result);
+ int handle_new_color(int color, int alpha);
+
+ PreferencesWindow *pwindow;
+};
+
#endif