martii
13118c1148
gui/components/cc_frm_clock: simplify; setClockFormat/setClockBlink has now impact on running thread
...
Conflicts:
src/gui/components/cc_frm_clock.cpp
src/gui/timeosd.cpp
2014-09-11 18:12:51 +04:00
Thilo Graf
23d7b62cf0
CComponents: add new parameter 'parent'
...
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)
New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.
Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.
Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.
2014-03-03 09:43:39 +01:00
Thilo Graf
c6db496de6
CComponentsFrmClock: change wording of comment, was unsuituable
2014-03-03 08:54:08 +01:00
M. Liebmann
ddc826ab51
CComponentsFrmClock: Fix thread handling
...
- Set clock activ = false for default
2014-02-13 18:26:04 +01:00
Thilo Graf
4e1caf8afe
CComponentsFrmClock: fix shaodow warning
...
size is a member name of CComponentsForm
2014-01-08 11:22:22 +01:00
Thilo Graf
bc8b81a190
CComponentsFrmClock: cleanup constructors
...
Remove single constructor, usage of default parameters in main constructor
have same effect.
2013-12-25 19:50:32 +01:00
M. Liebmann
f5f12b78b5
CComponentsFrmClock: Add comment (THX dbt)
2013-12-17 08:35:32 +01:00
martii
1c53781218
gui/timeosd: rewrite based on infoclock implementation
2013-12-17 00:11:43 +01:00
M. Liebmann
0434061172
CComponentsFrmClock: Initialize 'activeClock' variable
...
- Add function setClockActiv()
2013-12-11 15:55:14 +01:00
M. Liebmann
4f93850708
CComponentsFrmClock: Add blinking function
2013-12-11 15:55:14 +01:00
M. Liebmann
1bfb6d2cd3
CComponentsFrmClock: Rework font handling
...
- Use setClockFont(enum FONT_TYPES) for selection of neutrino fonts
- Use setClockFontSize(size) for Dynamic Font
2013-11-28 16:07:48 +01:00
Thilo Graf
f7798affc6
CComponents: add unfied header file for general include of cc classes
...
Provides a unified header file, so it is not required to select a
certain header file.
2013-10-24 21:19:07 +02:00
Thilo Graf
72d2639a73
CComponentsFrmClock: prepare members for usage as virtual members
2013-10-09 22:50:58 +02:00
Thilo Graf
03ef18cdb9
CComponentsFrmClock: set font only with fontrender object
2013-06-18 19:33:34 +02:00
Thilo Graf
220c479b9e
CComponentsFrmClock: add missing comment
2013-06-16 00:34:02 +02:00
Michael Liebmann
6409cc8a19
CComponentsFrmClock: Move thread start/stop to constructor/destructor
2013-06-12 01:32:24 +02:00
Michael Liebmann
39704b72c0
* CComponentsFrmClock: Add member setTextColor()
...
- Add member refresh() for (re)calculate clock dimensions
2013-06-01 19:37:46 +02:00
Thilo Graf
09d6881b20
CComponentsFrmClock: add missing statement for #include <config.h>
2013-05-27 09:30:50 +02:00
Thilo Graf
9d52071c39
CComponentsFrmClock: add new class CComponentsFrmClock
2013-05-25 23:29:49 +02:00