olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mainclock.C
index f03ac9d0aa7a87f1b78c25c1be297f91d51f120d..ddee51a23634249d8a28b7f1328f4a6a8230934b 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
  * CINELERRA
- * Copyright (C) 1997-2011 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 1997-2017 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
@@ -27,7 +27,8 @@
 #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;
@@ -57,7 +58,10 @@ void MainClock::update(double position)
        unlock_window();
 }
 
-
-
-
+void MainClock::clear()
+{
+       lock_window("MainClock::clear");
+       BC_Title::update("");
+       unlock_window();
+}