/*
* 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
#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;
unlock_window();
}
-
-
-
+void MainClock::clear()
+{
+ lock_window("MainClock::clear");
+ BC_Title::update("");
+ unlock_window();
+}