projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proxy bug fixes, add moveobj, sams icons, ladspa fixes, pot sigfpe
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
preferencesthread.C
diff --git
a/cinelerra-5.1/cinelerra/preferencesthread.C
b/cinelerra-5.1/cinelerra/preferencesthread.C
index 8d4544f8d76b42014a8486b73bfaa820d315ac4c..b7c46fd5047e7e39c7096afa1726ac5e578295bb 100644
(file)
--- a/
cinelerra-5.1/cinelerra/preferencesthread.C
+++ b/
cinelerra-5.1/cinelerra/preferencesthread.C
@@
-20,6
+20,7
@@
*/
#include "aboutprefs.h"
*/
#include "aboutprefs.h"
+#include "appearanceprefs.h"
#include "asset.h"
#include "audiodevice.inc"
#include "bcsignals.h"
#include "asset.h"
#include "audiodevice.inc"
#include "bcsignals.h"
@@
-62,8
+63,8
@@
-#define WIDTH
77
0
-#define HEIGHT 7
4
0
+#define WIDTH
80
0
+#define HEIGHT 7
0
0
PreferencesMenuitem::PreferencesMenuitem(MWindow *mwindow)
PreferencesMenuitem::PreferencesMenuitem(MWindow *mwindow)
@@
-341,6
+342,8
@@
const char* PreferencesThread::category_to_text(int category)
return _("Performance");
case INTERFACE:
return _("Interface");
return _("Performance");
case INTERFACE:
return _("Interface");
+ case APPEARANCE:
+ return _("Appearance");
case ABOUT:
return _("About");
}
case ABOUT:
return _("About");
}
@@
-409,11
+412,7
@@
void PreferencesWindow::create_objects()
for(int i = 0; i < CATEGORIES; i++)
{
add_subwindow(category_button[i] = new PreferencesButton(mwindow,
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")));
(i == thread->current_dialog) ?
mwindow->theme->get_image_set("category_button_checked") :
mwindow->theme->get_image_set("category_button")));
@@
-519,6
+518,10
@@
int PreferencesWindow::set_current_dialog(int number)
add_subwindow(dialog = new InterfacePrefs(mwindow, this));
break;
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;
case PreferencesThread::ABOUT:
add_subwindow(dialog = new AboutPrefs(mwindow, this));
break;