Thilo Graf
2b65f1d1b3
CComponentsFrmClock: remove statement
...
stopThread() is doing check against NULL itself
2014-03-03 08:54:09 +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
8828e27968
CComponentsFrmClock: update license text
2014-01-08 11:20:18 +01:00
Thilo Graf
ed7a2fd625
CComponents: replace clear() with clearFbData(), remove cleanCCForm()
...
clear() replaces now clearCCItems() and cleanCCForm() is superfluous.
2014-01-07 09:41:06 +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
Thilo Graf
8442b39c28
CComponents: replace __FUNCTION__ with __func__
...
__func__ is more suitable for portability
2013-12-18 15:13:19 +01:00
Jacek Jendrzej
ececd844fa
use mySleep in CComponentsFrmClock::initClockThread(
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-12-15 17:40:32 +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
Thilo Graf
467515fd70
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.
2013-12-10 10:42:55 +01:00
Thilo Graf
08fed0f5d6
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.
2013-12-03 20:43:51 +01:00
svenhoefer
ef78791ec2
- cc_frm_clock.cpp: add space as a possible seperator
2013-12-03 12:38:28 +01:00
martii
15b2b2ec05
remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2013-11-29 23:02:50 +01:00
martii
c88ad39c67
gui/components/cc_frm_clock: fix label widths for non-standard fonts
2013-11-29 23:02:50 +01:00
[CST] Focus
dd7c7fc7ae
components: cleanup destructors - remove calls to functions,
...
already called inside base classes destructors
2013-11-29 17:27:10 +04:00
[CST] Focus
062b10be2a
components: remove initVarForm calls in classes derived from CComponentsForm
2013-11-29 17:27:10 +04:00
M. Liebmann
05cc6f18c1
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
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
1107e4f89b
CComponentsFrmClock: disable separate handle of label paint
...
This is already handled in CTextBox object itself and should be enough.
2013-11-26 12:00:03 +01:00
M. Liebmann
7466d6f19c
InfoClock: Fix display clock in movie browser, file browser etc.
2013-11-22 10:01:35 +01:00
Thilo Graf
b8b61684df
CInfoClock: rework infocklock
2013-11-20 09:38:37 +01:00
Thilo Graf
72d2639a73
CComponentsFrmClock: prepare members for usage as virtual members
2013-10-09 22:50:58 +02:00
Thilo Graf
70b43dc021
CComponentsFrmClock: fix posible flicker effects
...
Textbox handling was changed since 08e23a917c
2013-10-09 22:50:57 +02:00
Thilo Graf
d748680d66
CComponentsFrmClock: use 'localtime_r'
...
Follow general recommendation to use 'localtime_r'
for threadsafe applications.
2013-10-06 08:06:28 +02:00
Thilo Graf
33ec56ad6f
CComponents: remove member setCornerRadius(),
...
setCorner() replaces this function, 2nd parameter sets type
2013-09-19 08:24:40 +02:00
Michael Liebmann
c60c5c5ce3
Replace color indexes of the text colors by real color values for RenderString()
...
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
FlatTV
153d2f3c78
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 >
2013-07-07 14:24:02 +02:00
Thilo Graf
020d52ddbb
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.
2013-06-18 19:33:35 +02:00
Thilo Graf
03ef18cdb9
CComponentsFrmClock: set font only with fontrender object
2013-06-18 19:33:34 +02:00
Michael Liebmann
587db33bbd
CComponentsFrmClock: set text border width to 0
2013-06-12 01:32:24 +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
9d52071c39
CComponentsFrmClock: add new class CComponentsFrmClock
2013-05-25 23:29:49 +02:00