Commit Graph

18 Commits

Author SHA1 Message Date
Thilo Graf
f33efdbdc4 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.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Thilo Graf
247a4d7c1c CComponentsFrmClock: change wording of comment, was unsuituable
Origin commit data
------------------
Commit: c6db496de6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-16 (Mon, 16 Dec 2013)
2014-03-03 08:54:08 +01:00
Michael Liebmann
c259eb1dc8 CComponentsFrmClock: Fix thread handling
- Set clock activ = false for default


Origin commit data
------------------
Commit: ddc826ab51
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-13 (Thu, 13 Feb 2014)
2014-02-13 18:26:04 +01:00
Thilo Graf
34249fc1d9 CComponentsFrmClock: fix shaodow warning
size is a member name of CComponentsForm


Origin commit data
------------------
Commit: 4e1caf8afe
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)
2014-01-08 11:22:22 +01:00
Thilo Graf
53a2b66947 CComponentsFrmClock: cleanup constructors
Remove single constructor, usage of default parameters in main constructor
have same effect.


Origin commit data
------------------
Commit: bc8b81a190
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-25 (Wed, 25 Dec 2013)
2013-12-25 19:50:32 +01:00
Michael Liebmann
edcbca3868 CComponentsFrmClock: Add comment (THX dbt)
Origin commit data
------------------
Commit: f5f12b78b5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-17 (Tue, 17 Dec 2013)
2013-12-17 08:35:32 +01:00
martii
8ce5ae5e9b gui/timeosd: rewrite based on infoclock implementation
Origin commit data
------------------
Commit: 1c53781218
Author: martii <m4rtii@gmx.de>
Date: 2013-12-17 (Tue, 17 Dec 2013)
2013-12-17 00:11:43 +01:00
Michael Liebmann
0ebb965756 CComponentsFrmClock: Initialize 'activeClock' variable
- Add function setClockActiv()


Origin commit data
------------------
Commit: 0434061172
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
2013-12-11 15:55:14 +01:00
Michael Liebmann
52c8f0dce6 CComponentsFrmClock: Add blinking function
Origin commit data
------------------
Commit: 4f93850708
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
2013-12-11 15:55:14 +01:00
Michael Liebmann
e8d55630df CComponentsFrmClock: Rework font handling
- Use setClockFont(enum FONT_TYPES) for selection of neutrino fonts
- Use setClockFontSize(size) for Dynamic Font


Origin commit data
------------------
Commit: 1bfb6d2cd3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-28 16:07:48 +01:00
Thilo Graf
41d131eb32 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.


Origin commit data
------------------
Commit: f7798affc6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:19:07 +02:00
Thilo Graf
5d2aa4c3b3 CComponentsFrmClock: prepare members for usage as virtual members
Origin commit data
------------------
Commit: 72d2639a73
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-09 (Wed, 09 Oct 2013)
2013-10-09 22:50:58 +02:00
Thilo Graf
61837a058f CComponentsFrmClock: set font only with fontrender object
Origin commit data
------------------
Commit: 03ef18cdb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
2013-06-18 19:33:34 +02:00
Thilo Graf
84b8af1e24 CComponentsFrmClock: add missing comment
Origin commit data
------------------
Commit: 220c479b9e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-04 (Tue, 04 Jun 2013)
2013-06-16 00:34:02 +02:00
Michael Liebmann
984a1691f9 CComponentsFrmClock: Move thread start/stop to constructor/destructor
Origin commit data
------------------
Commit: 6409cc8a19
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-12 01:32:24 +02:00
Michael Liebmann
c83cbbd3f3 CComponentsFrmClock: Add member setTextColor()
- Add member refresh() for (re)calculate clock dimensions


Origin commit data
------------------
Commit: 39704b72c0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-01 (Sat, 01 Jun 2013)

Origin message was:
------------------
* CComponentsFrmClock: Add member setTextColor()

- Add member refresh() for (re)calculate clock dimensions
2013-06-01 19:37:46 +02:00
Thilo Graf
7cefe569ea CComponentsFrmClock: add missing statement for #include <config.h>
Origin commit data
------------------
Commit: 09d6881b20
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)
2013-05-27 09:30:50 +02:00
Thilo Graf
7222de9168 CComponentsFrmClock: add new class CComponentsFrmClock
Origin commit data
------------------
Commit: 9d52071c39
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-25 (Sat, 25 May 2013)
2013-05-25 23:29:49 +02:00