projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix get_cursor_over_window for kde
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
aboutprefs.C
diff --git
a/cinelerra-5.1/cinelerra/aboutprefs.C
b/cinelerra-5.1/cinelerra/aboutprefs.C
index f70e3fbd6d53c31fa6c0804328132a060d6146ee..4702c944e6c1439074d1cb9bfcbb194175c6483d 100644
(file)
--- a/
cinelerra-5.1/cinelerra/aboutprefs.C
+++ b/
cinelerra-5.1/cinelerra/aboutprefs.C
@@
-29,7
+29,10
@@
#include "vframe.h"
#include "versioninfo.h"
#include "vframe.h"
#include "versioninfo.h"
-
+#ifndef COMPILEDATE
+#define COMPILEDATE "built: " __DATE__ " " __TIME__
+#endif
+const char *AboutPrefs::build_timestamp = COMPILEDATE;
AboutPrefs::AboutPrefs(MWindow *mwindow, PreferencesWindow *pwindow)
: PreferencesDialog(mwindow, pwindow)
AboutPrefs::AboutPrefs(MWindow *mwindow, PreferencesWindow *pwindow)
: PreferencesDialog(mwindow, pwindow)
@@
-96,7
+99,7
@@
void AboutPrefs::create_objects()
about.append(new BC_ListBoxItem(msg));
}
BC_ListBox *listbox;
about.append(new BC_ListBoxItem(msg));
}
BC_ListBox *listbox;
- add_subwindow(listbox = new BC_ListBox(x, y,
30
0, 280,
+ add_subwindow(listbox = new BC_ListBox(x, y,
45
0, 280,
LISTBOX_TEXT, &about, 0, 0, 1));
y += listbox->get_h() + get_text_height(LARGEFONT) + 10;
}
LISTBOX_TEXT, &about, 0, 0, 1));
y += listbox->get_h() + get_text_height(LARGEFONT) + 10;
}
@@
-121,12
+124,9
@@
void AboutPrefs::create_objects()
draw_text(x, y, license3);
y += get_text_height(MEDIUMFONT, license3);
draw_text(x, y, license3);
y += get_text_height(MEDIUMFONT, license3);
-#ifndef COMPILEDATE
-#define COMPILEDATE "built: " __DATE__ " " __TIME__
-#endif
- draw_text(x, y, COMPILEDATE);
+ draw_text(x, y, build_timestamp);
#if defined(REPOMAINTXT)
#if defined(REPOMAINTXT)
- y += get_text_height(MEDIUMFONT,
COMPILEDATE
);
+ y += get_text_height(MEDIUMFONT,
build_timestamp
);
draw_text(x, y, REPOMAINTXT);
#endif
draw_text(x, y, REPOMAINTXT);
#endif