Commit Graph

885 Commits

Author SHA1 Message Date
Thilo Graf
2c43a84e12 CComponentsForm: use current bg save mode while paint items
Mode was always false but current mode could be required in
many constellations.


Origin commit data
------------------
Commit: e7d60f7c08
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-01 (Mon, 01 May 2017)
2017-05-02 21:07:45 +02:00
Thilo Graf
c0528433c2 CCDraw: add methode do get current background save mode
Origin commit data
------------------
Commit: 5ac5db718d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-01 (Mon, 01 May 2017)
2017-05-02 21:07:36 +02:00
Thilo Graf
ecab7f1d37 cc_frm_chain.cpp: fix c/p error in comment
Origin commit data
------------------
Commit: 891b2e9ad2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-29 (Sat, 29 Apr 2017)
2017-04-29 18:11:06 +02:00
Thilo Graf
5092893334 CComponentsHeader: adjust context button offset
Origin commit data
------------------
Commit: c8326af0df
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-29 (Sat, 29 Apr 2017)
2017-04-29 18:00:03 +02:00
Thilo Graf
6aa573ece2 CComponentsFrmChain: add possibility to assign border offsets
Origin commit data
------------------
Commit: 3dda388c8d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-29 (Sat, 29 Apr 2017)
2017-04-29 18:00:03 +02:00
Thilo Graf
440333ff79 CComponentsForm: add member hideCCItems()
In case of items with cached background it is useful to have
possibility to restore their background. (eg. items are painted
outside of form).


Origin commit data
------------------
Commit: 19fc8c6d3b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-27 (Thu, 27 Apr 2017)
2017-04-27 09:27:45 +02:00
Thilo Graf
84b4032c9a CComponentsHeader: rectification for 'optimize auto size mode for logos'
see commit: 35f867b611

Additional variable was required.
Values were overwritten and had no effect.


Origin commit data
------------------
Commit: 71606d0860
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-27 (Thu, 27 Apr 2017)
2017-04-27 09:27:45 +02:00
Thilo Graf
8ec580d8a6 CComponentsHeader: fix logo position with clock
This reverts "fix logo position with clock",
commit 9a6fed158c.
Was not the right way.

Id's are not in visual order, therefore it's better to calculate direct
with the ''width"" properties of possible following items clock
and context buttons.


Origin commit data
------------------
Commit: c2bc8b4f8f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-26 (Wed, 26 Apr 2017)
2017-04-26 12:24:21 +02:00
Jacek Jendrzej
9a6fed158c fix logo position with clock
Origin commit data
------------------
Commit: b696007ec8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-04-25 (Tue, 25 Apr 2017)
2017-04-25 16:38:47 +02:00
Thilo Graf
35f867b611 CComponentsHeader: optimize auto size mode for logos
With very large font size settings it is possible
that header is too large for reasonable display of logos, because of
possible bad upscale effects (eg. step effects).
So it seems it's better to use original size as largest possible size.


Origin commit data
------------------
Commit: 76cd93555d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-25 (Tue, 25 Apr 2017)
2017-04-25 11:38:30 +02:00
Thilo Graf
beac8c69aa CComponentsPicture: add methode to get real image size
Origin commit data
------------------
Commit: 0aae491ccc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-25 (Tue, 25 Apr 2017)
2017-04-25 11:38:30 +02:00
Thilo Graf
e1d1338c0a CProgressBar: add own position methodes
NOTE: not required in branch pu/fb-setmode, remove this after merge!


Origin commit data
------------------
Commit: cffab5f8f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-25 (Tue, 25 Apr 2017)
2017-04-25 11:38:22 +02:00
Thilo Graf
0093ff1d3c CComponentsHeader: unifiy init value for logo align
Origin commit data
------------------
Commit: 220829ffaa
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-24 (Mon, 24 Apr 2017)
2017-04-25 11:36:49 +02:00
Thilo Graf
c9f16f1b30 CComponentsHeader: use previous offset to fit logo
Was OFFSET_INNER_MIN in older versions, not OFFSET_INNER_SMALL.


Origin commit data
------------------
Commit: 330171c90b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-23 (Sun, 23 Apr 2017)
2017-04-23 17:01:15 +02:00
Thilo Graf
e04455c5d5 CComponentsHeader: add fallback if title and logo are overlapping
Logo is now general centered on screen, not as before between title and clock


Origin commit data
------------------
Commit: 1413f296ae
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-23 (Sun, 23 Apr 2017)
2017-04-23 17:01:08 +02:00
vanhofen
2c3d73573b colors: add and use missing COL_SCROLLBAR_PLUS_0 wrapper
Origin commit data
------------------
Commit: 8e50353773
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-04-22 (Sat, 22 Apr 2017)

Origin message was:
------------------
- colors: add and use missing COL_SCROLLBAR_PLUS_0 wrapper
2017-04-22 17:02:48 +02:00
Thilo Graf
3aa91ac91f CComponentsHeader/CChannelList: unify methode names
Origin commit data
------------------
Commit: 9ef6c49a23
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 23:07:14 +02:00
Thilo Graf
82ff77ede5 CComponentsScrollBar: add missing attributes for different visual modes
Origin commit data
------------------
Commit: 324ba258a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
8f5e8cb5ff CComponentsScrollBar: fix radius for single segment
Radius on top was missed if only one segment is available.


Origin commit data
------------------
Commit: c5451046d4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
984728a11c CComponentsPicture: Change order of called base methodes setWidth/Height
Calls of base methods should come after internal method calls.
Values could be changed unintentionally.


Origin commit data
------------------
Commit: ed5e79440a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
100032e7d4 CComponentsHeader: add possibility to show channellogo
Contains methode setChannelLogo() with parameters
for channel id, channel name and optional
alignment (primary between title and clock). Default
alignment is centered.
Optional parameter to set logo height is available too.

Hope it works on first try. To see how it works, take look
at channellist class.


Origin commit data
------------------
Commit: 68835056c3
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
2017-04-21 22:47:23 +02:00
Thilo Graf
e9f7c0159d CSignalBox: remove CC_APPEND flag
Should be gradually removed in all affected classes


Origin commit data
------------------
Commit: f74724ceb6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 17:43:59 +02:00
Thilo Graf
2e471317fc CComponentsForm: use global default width for scrollbar
Origin commit data
------------------
Commit: 0e94c6830b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 17:43:55 +02:00
Thilo Graf
fc8969cece CSignalBar: use global offsets for init of min height
Origin commit data
------------------
Commit: b8822803d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 17:43:48 +02:00
Thilo Graf
b44e362f3d CComponentsFrmClock: use correct setHeight()
Origin commit data
------------------
Commit: 04f9468ddb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 16:45:00 +02:00
Thilo Graf
191bb586b6 CComponentsFrmClock: remove unnecessary call of cch_cl_obj->setYPos()
Origin commit data
------------------
Commit: cbba7b78f4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 16:44:57 +02:00
Thilo Graf
87ecc7a58d CComponentsHeader: Reduce offset between clock and right border.
Was too large


Origin commit data
------------------
Commit: 42db55e61d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 16:44:53 +02:00
Thilo Graf
7af9377262 CComponentsWindow: try to fix header and footer arrangement
Header and footer were placed too much on left side.


Origin commit data
------------------
Commit: e1f51050b2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 15:18:45 +02:00
Thilo Graf
589cf00f6f CComponentsForm: try to fix fit items inside forms
Some items had offsets on screen. Was seen eg. in message windows.


Origin commit data
------------------
Commit: 9ac706b86c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 15:18:22 +02:00
Thilo Graf
eca35b1bcb CComponentsPicture: add explicit methodes to set image position
Origin commit data
------------------
Commit: 5361296ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)
2017-04-16 16:53:06 +02:00
Thilo Graf
c6f91f5b67 CComponentsItem: add missing methodes for position setters
Parent items were not considered for position calculation.


Origin commit data
------------------
Commit: 069379930a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)
2017-04-16 16:53:06 +02:00
Thilo Graf
a0f75e05e5 CComponentsPicture: init missing vars for old dimension dimensions
Origin commit data
------------------
Commit: f499d3d387
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)
2017-04-16 16:53:06 +02:00
Thilo Graf
f00b4d78cb CComponentsChannelLogo: use separat var for pic name inside setChannel()
picname is a class attribut and should not be touched here till new content
exists. Btw. setChannel() is eqiuvalent to setPicture() from base class, so
it makes sense to use setPicture() inside setChannel() after
picname is known. Explicit call of initCCTitem() is not required.


Origin commit data
------------------
Commit: 29a01bd2d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)
2017-04-16 16:53:06 +02:00
Thilo Graf
302fd7bc86 CComponentsChannelLogo: add missing type
Origin commit data
------------------
Commit: f4762f78a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-16 (Sun, 16 Apr 2017)
2017-04-16 16:53:06 +02:00
Thilo Graf
fe82b8acb8 CComponentsTimer: use sleep() instead mySleep()
Had some problems with mySleep() related to select() which was used
inside mySleep()


Origin commit data
------------------
Commit: dbc4a487e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-11 (Tue, 11 Apr 2017)
2017-04-13 23:36:34 +02:00
Thilo Graf
90531ed90b CComponentsFooter: avoid crash because possible divisions by 0
Origin commit data
------------------
Commit: fb0dc47e35
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-13 (Thu, 13 Apr 2017)
2017-04-13 23:36:29 +02:00
Jacek Jendrzej
be193b9eae fix init cl_force_repaint
Origin commit data
------------------
Commit: b4bb9ef5ea
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-04-13 (Thu, 13 Apr 2017)
2017-04-13 17:32:24 +02:00
Thilo Graf
01d19097d9 CComponentsItem: disable unused variable
Origin commit data
------------------
Commit: 6135a827da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-08 (Sat, 08 Apr 2017)
2017-04-08 08:24:41 +02:00
Thilo Graf
43fff4517e CComponentsFooter: add missing member inits
Origin commit data
------------------
Commit: 47fceca188
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:16:05 +02:00
Thilo Graf
abdf32c639 CComponentsHeader: add methode initRepaintSlot() and considered parent
Required in sub classes. Considering of parent ensures usage of
required background color in sub classes.


Origin commit data
------------------
Commit: 3e342a7661
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:16:01 +02:00
Thilo Graf
ac72eebd97 CCDraw: remove some debug lines, and override comparisons
This should reduce some effort in this method.


Origin commit data
------------------
Commit: 62a2a29a12
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:54 +02:00
Thilo Graf
0143c10ebe CComponentsItem: fix possible artefacts if fb box is smaller the radius
If box height/2 is smaller than corner radius it is possible
we have artefacts after killed or hided fb box. This effect only I have seen
with full hd resolution, in hd ready mode it was ok.
Sideeffects with this changes I have not seen, but I can't exclude. Must be watched.


Origin commit data
------------------
Commit: bad5f02c06
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:49 +02:00
Thilo Graf
91fd6e0b67 CComponentsButton: remove unused member
Origin commit data
------------------
Commit: c9152beada
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:45 +02:00
Thilo Graf
d52e84d31c CCDraw: fix wrong intit values for corners and position
Origin commit data
------------------
Commit: 6d45fbb4eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-08 08:15:41 +02:00
Thilo Graf
127e39904e CComponentsFrmClock: add members to control segment refreshing on interval
Refreshing of segments is now enabled on default.
In certain conditions this should be better.


Origin commit data
------------------
Commit: 511486c404
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-07 22:00:33 +02:00
Thilo Graf
c7fc3dcf34 CComponentsButton: simplify assignment of button message values
Count of alternate message values was limited to 1 value. Now it is
possible to add any count of message values.

directKey and directKeyAlt were removed from struct type 'button_label_cc'
and directKeys was added as container for possible message values.

Some methods of CComponentsFooter had to be adapted for that.


Origin commit data
------------------
Commit: 4eb6a315fc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-20 (Mon, 20 Mar 2017)
2017-03-20 22:55:05 +01:00
vanhofen
9c009ade29 unify DetailsLine-names; move define to settings.h
Origin commit data
------------------
Commit: 5b0faeab8c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-13 (Mon, 13 Mar 2017)

Origin message was:
------------------
- unify DetailsLine-names; move define to settings.h
2017-03-13 12:40:04 +01:00
Thilo Graf
6b0d4ed2c0 cc_types.h: expand button_label_cc with hint as descrpition for button
Origin commit data
------------------
Commit: 3fa097ebb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-13 (Mon, 13 Mar 2017)
2017-03-13 09:45:38 +01:00
Thilo Graf
fbe5200b0c cc_types: move struct button_label_cc into cc_types.h
Origin commit data
------------------
Commit: e777ecdfdb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-13 (Mon, 13 Mar 2017)
2017-03-13 09:45:38 +01:00
Thilo Graf
e23f4e1db5 CComponentsFooter: add bg_image to button_label_cc type
Origin commit data
------------------
Commit: e2ca965ee9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-13 (Mon, 13 Mar 2017)
2017-03-13 09:45:38 +01:00