Commit Graph

31 Commits

Author SHA1 Message Date
Thilo Graf
e652f1eca2 CComponentsFrmClock: update license text
Origin commit data
------------------
Commit: 8828e27968
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)
2014-01-08 11:20:18 +01:00
Thilo Graf
ba7524f6bb CComponents: replace clear() with clearFbData(), remove cleanCCForm()
clear() replaces now clearCCItems() and cleanCCForm() is superfluous.


Origin commit data
------------------
Commit: ed7a2fd625
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-07 (Tue, 07 Jan 2014)
2014-01-07 09:41:06 +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
Thilo Graf
c9d2e43271 CComponents: replace __FUNCTION__ with __func__
__func__ is more suitable for portability


Origin commit data
------------------
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
2013-12-18 15:13:19 +01:00
Jacek Jendrzej
cbebe671ac use mySleep in CComponentsFrmClock::initClockThread(
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: ececd844fa
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)
2013-12-15 17:40:32 +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
Thilo Graf
5fb07705e4 CComponentsFrmClock: fix calculate minimal separator width
It's nevertheless necessary to use more than one space char.
Some "exotic" font types can make issues with its size handling.
We use char size of some possible chars to get minimal separator size.


Origin commit data
------------------
Commit: 467515fd70
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-10 (Tue, 10 Dec 2013)
2013-12-10 10:42:55 +01:00
Thilo Graf
e50a65b1a0 CComponentsFrmClock: use only space char for minimal separator width
Calculate of minimal separator width by a space char should be enough
in all cases.
A switch statement should be also unnecessary, if we check for digits.


Origin commit data
------------------
Commit: 08fed0f5d6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-03 (Tue, 03 Dec 2013)
2013-12-03 20:43:51 +01:00
vanhofen
b58c8cd3c5 cc_frm_clock.cpp: add space as a possible seperator
Origin commit data
------------------
Commit: ef78791ec2
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-12-03 (Tue, 03 Dec 2013)

Origin message was:
------------------
- cc_frm_clock.cpp: add space as a possible seperator
2013-12-03 12:38:28 +01:00
martii
4c2c559da3 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: 15b2b2ec05
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
martii
189db5deb2 gui/components/cc_frm_clock: fix label widths for non-standard fonts
Origin commit data
------------------
Commit: c88ad39c67
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
[CST] Focus
d1a54573ae components: cleanup destructors - remove calls to functions,
already called inside base classes destructors


Origin commit data
------------------
Commit: dd7c7fc7ae
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
b476a667c6 components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Michael Liebmann
fd896cb6fd CComponentsFrmClock: Remove double call of initCCLockItems()
- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()


Origin commit data
------------------
Commit: 05cc6f18c1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)

Origin message was:
------------------
CComponentsFrmClock: Remove double call of initCCLockItems()

- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()
2013-11-28 16:07:49 +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
7218b95281 CComponentsFrmClock: disable separate handle of label paint
This is already handled in CTextBox object itself and should be enough.


Origin commit data
------------------
Commit: 1107e4f89b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2013-11-26 12:00:03 +01:00
Michael Liebmann
c6eeb420d4 InfoClock: Fix display clock in movie browser, file browser etc.
Origin commit data
------------------
Commit: 7466d6f19c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-22 (Fri, 22 Nov 2013)
2013-11-22 10:01:35 +01:00
Thilo Graf
a2967e2488 CInfoClock: rework infocklock
Origin commit data
------------------
Commit: b8b61684df
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-20 09:38:37 +01: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
a6cf76496c CComponentsFrmClock: fix posible flicker effects
Textbox handling was changed since b7ea3c3f76


Origin commit data
------------------
Commit: 70b43dc021
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-07 (Mon, 07 Oct 2013)
2013-10-09 22:50:57 +02:00
Thilo Graf
ca6444e820 CComponentsFrmClock: use 'localtime_r'
Follow general recommendation to use 'localtime_r'
for threadsafe applications.


Origin commit data
------------------
Commit: d748680d66
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-06 (Sun, 06 Oct 2013)
2013-10-06 08:06:28 +02:00
Thilo Graf
975673532a CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type


Origin commit data
------------------
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)
2013-09-19 08:24:40 +02:00
Michael Liebmann
7b6498d39f Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:00:58 +02:00
FlatTV
43a759358d CTextBox: expand parameters of member setTextBorderWidth()
This allows to use different horizontal and vertical width of borders
in text boxes.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 153d2f3c78
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-07-01 (Mon, 01 Jul 2013)
2013-07-07 14:24:02 +02:00
Thilo Graf
bd65d37101 CComponentsFrmClock: ensure update of possible changed property values
This also fixes a segfault in channellist when font settings
were changed und user is change back into channellist.


Origin commit data
------------------
Commit: 020d52ddbb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
2013-06-18 19:33:35 +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
Michael Liebmann
6d6a3336ca CComponentsFrmClock: set text border width to 0
Origin commit data
------------------
Commit: 587db33bbd
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
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
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