projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
mainclock.C
diff --git
a/cinelerra-5.1/cinelerra/mainclock.C
b/cinelerra-5.1/cinelerra/mainclock.C
index f03ac9d0aa7a87f1b78c25c1be297f91d51f120d..ddee51a23634249d8a28b7f1328f4a6a8230934b 100644
(file)
--- a/
cinelerra-5.1/cinelerra/mainclock.C
+++ b/
cinelerra-5.1/cinelerra/mainclock.C
@@
-1,7
+1,7
@@
/*
* CINELERRA
/*
* CINELERRA
- * Copyright (C) 1997-201
1
Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 1997-201
7
Adam Williams <broadcast at earthling dot net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-27,7
+27,8
@@
#include "theme.h"
MainClock::MainClock(MWindow *mwindow, int x, int y, int w)
#include "theme.h"
MainClock::MainClock(MWindow *mwindow, int x, int y, int w)
- : BC_Title(x, y, "", MEDIUM_7SEGMENT, BLACK, 0, w)
+ : BC_Title(x, y, "", CLOCKFONT, //MEDIUM_7SEGMENT,
+ mwindow->theme->clock_fg_color, 0, w)
{
this->mwindow = mwindow;
position_offset = 0;
{
this->mwindow = mwindow;
position_offset = 0;
@@
-57,7
+58,10
@@
void MainClock::update(double position)
unlock_window();
}
unlock_window();
}
-
-
-
+void MainClock::clear()
+{
+ lock_window("MainClock::clear");
+ BC_Title::update("");
+ unlock_window();
+}