*/
#include "aboutprefs.h"
+#include "appearanceprefs.h"
#include "asset.h"
#include "audiodevice.inc"
#include "bcsignals.h"
-#define WIDTH 770
-#define HEIGHT 690
+#define WIDTH 800
+#define HEIGHT 700
PreferencesMenuitem::PreferencesMenuitem(MWindow *mwindow)
if( strcmp(preferences->theme, mwindow->preferences->theme) != 0 )
mwindow->restart_status = -1; // reload, need new bcresources
+ if( strcmp(preferences->plugin_icons, mwindow->preferences->plugin_icons) != 0 )
+ mwindow->restart_status = -1;
mwindow->edl->copy_session(edl, 1);
mwindow->preferences->copy_from(preferences);
int ffmpeg_early_probe = mwindow->preferences->get_file_probe_armed("FFPMEG_Early");
mwindow->gui->ffmpeg_toggle->update(ffmpeg_early_probe);
mwindow->gui->ffmpeg_toggle->set_tooltip(ffmpeg_early_probe ?
- _("Try FFMpeg first") : _("Try FFMpeg last") );
+ FFMPEG_EARLY_TIP : FFMPEG_LATE_TIP);
mwindow->gui->mainshbtns->load(mwindow->preferences);
- double tc_position =
- mwindow->edl->session->get_frame_offset() / mwindow->edl->session->frame_rate;
- mwindow->gui->mainclock->set_position_offset(tc_position);
//edl->session->recording_format->dump();
//mwindow->edl->session->recording_format->dump();
return _("Performance");
case INTERFACE:
return _("Interface");
+ case APPEARANCE:
+ return _("Appearance");
case ABOUT:
return _("About");
}
for(int i = 0; i < CATEGORIES; i++)
{
add_subwindow(category_button[i] = new PreferencesButton(mwindow,
- thread,
- x,
- y,
- i,
- thread->category_to_text(i),
+ thread, x, y, i, thread->category_to_text(i),
(i == thread->current_dialog) ?
mwindow->theme->get_image_set("category_button_checked") :
mwindow->theme->get_image_set("category_button")));
add_subwindow(dialog = new InterfacePrefs(mwindow, this));
break;
+ case PreferencesThread::APPEARANCE:
+ add_subwindow(dialog = new AppearancePrefs(mwindow, this));
+ break;
+
case PreferencesThread::ABOUT:
add_subwindow(dialog = new AboutPrefs(mwindow, this));
break;