Commit Graph

980 Commits

Author SHA1 Message Date
Jacek Jendrzej
462626f9eb fix start clock supplement to 0f9284bf91
Origin commit data
------------------
Commit: b1f820aa44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)
2017-09-19 12:40:02 +02:00
vanhofen
98851fc4e7 rename SLIDER defines
Origin commit data
------------------
Commit: d873aef1e8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- rename SLIDER defines
2017-09-15 20:17:48 +02:00
Jacek Jendrzej
f598fd51d3 try to fix tm thread
Origin commit data
------------------
Commit: 513850f915
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
2017-09-14 12:09:40 +02:00
Thilo Graf
ab4bcc584a comments: fix copy paste errors
Origin commit data
------------------
Commit: 6e310a8157
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
b490817d1b cc_item_shapes.cpp/h: Add method to create draw boxes without explicit objects
Origin commit data
------------------
Commit: c743cb632b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
7991e183c5 CComponentsHeader: add missing check for null pointer
Origin commit data
------------------
Commit: 5221769840
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
6b4e74972b CProgressBarCache: remove benchmark lines
Was only for debugging.


Origin commit data
------------------
Commit: d42389b167
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
4f19bd2aba CComponentsPicture: remove benchmark lines
Was only for debugging.


Origin commit data
------------------
Commit: f07a27825d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
4b4e48ecf3 CComponentsFooter: fix possible error with non-POD element type
affected is struct type 'button_label_cc'


Origin commit data
------------------
Commit: 16dac64ed2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
2e4b222438 CComponentsFooter: fix possible conversion warning
For platform compatibility. eg. with neutrino-pc on it is possible
that size_t is long unsigned ini, for others unsinged int


Origin commit data
------------------
Commit: 27995b19fa
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
fbb0fc68b0 cc_frm.cpp, cc_frm_button.cpp: remove unread stored variables
Origin commit data
------------------
Commit: fe6a24351b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
4e5f95d391 CComponentsFrmClock: fix wrong initialization of w_tmp
Origin commit data
------------------
Commit: 758081a0ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)
2017-08-28 12:16:45 +02:00
Thilo Graf
630c1bb880 CComponentsScrollBar: try to fix handling with very much segment count
In some cases, eg. with very much pages in channellist, the effort
to handle with all count of scrollbar segments was too much. Result: long
waiting times during page scrolling and slider was not visible. This
should be fixed now.


Origin commit data
------------------
Commit: 71f5779a40
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-11 (Fri, 11 Aug 2017)
2017-08-11 22:35:07 +02:00
Thilo Graf
f23adc7007 CComponentsScrollBar: use matching type names
Origin commit data
------------------
Commit: b863f874b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
2017-08-09 21:36:26 +02:00
Thilo Graf
f0bf4342a2 CComponentsScrollBar: fix possible build error with -Werror=sign-compare
Origin commit data
------------------
Commit: 431cfadcc2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
2017-08-09 20:29:22 +02:00
Thilo Graf
9481b6cdc5 CComponentsScrollBar: fix possible too small type size
Possible segment count could be more than 265.
Was a remnant from scrollbar test phase.


Origin commit data
------------------
Commit: 379d1ffa76
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)
2017-08-09 19:13:36 +02:00
Thilo Graf
8f59422060 CComponentsForm: add functions to get used or free space of form dimensions
Origin commit data
------------------
Commit: 67a71d5e4e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-04 (Fri, 04 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
fed7d85cff CComponentsForm: add methods to get previous and next item
Origin commit data
------------------
Commit: a4af92d219
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-04 (Fri, 04 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
c92ffd7841 CComponentsItem: fix possible issues with position inside forms
This ensures relative position for items inside form


Origin commit data
------------------
Commit: a19a1f067e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-03 (Thu, 03 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
4c394be564 CCDraw: add missing member for real item position
Changes of real positions were not watched.


Origin commit data
------------------
Commit: 9687dda867
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-03 (Thu, 03 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
e5c6da15a7 CComponentsItem: move real position methods from draw class into item class
These methods ar only relavant for items


Origin commit data
------------------
Commit: dcdff2c03b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-03 (Thu, 03 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
d646080ee3 CComponentsHeader: disable permanent clock paint on interval.
Origin commit data
------------------
Commit: 8e17eadb6a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-02 (Wed, 02 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
c68fe9024e CComponentsHeader: rework and simplified logo handling
This should fix some issues with possible overlapps
of logos with title. With some Conditions with text
alignment on the right side needs a fix.
There is an issue with size and position of text object, but is stll not
used at the moment. For all other conditions of logo and text alignments now
it should be not a problem (I hope) and have more code clarity.


Origin commit data
------------------
Commit: 356719cf3a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-02 (Wed, 02 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
bf44d9e7f9 offsets: add SIDEBAR_WIDTH
required in window class


Origin commit data
------------------
Commit: c18e337d1f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-02 (Wed, 02 Aug 2017)
2017-08-08 14:25:12 +02:00
Thilo Graf
1203bd054a CComponentsFooter: remove FIXME tag
fixed since 428788c8a4
Obsolete wrong types caused this.


Origin commit data
------------------
Commit: 47f7426aa7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-28 (Wed, 28 Jun 2017)
2017-06-28 20:36:51 +02:00
Thilo Graf
cf6c992cad cc_types.h: add more shadow defines
Allows compact style on use for arguments in methods.


Origin commit data
------------------
Commit: aa92fc525f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-21 (Wed, 21 Jun 2017)
2017-06-21 10:31:22 +02:00
vanhofen
0c076425eb cc_frm_header: remove CComponentsHeaderLocalized() subclass
use another constructor of CComponentsHeader() instead

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

Good idea, this I had already in mind too.


Origin commit data
------------------
Commit: 980e293517
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-21 (Wed, 21 Jun 2017)

Origin message was:
------------------
- cc_frm_header: remove CComponentsHeaderLocalized() subclass

use another constructor of CComponentsHeader() instead

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

Good idea, this I had already in mind too.
2017-06-21 10:31:22 +02:00
Thilo Graf
0f3b5e5eaf CComponentsScrollBar: overwrite default corner type
Rounded corners are in mostly cases not required, because of
possible pixel errors if scrollbars are used as embedded standalone part and is
generated with external method paintScrollBar().


Origin commit data
------------------
Commit: cdf0123bea
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-30 (Tue, 30 May 2017)
2017-06-20 12:17:47 +02:00
Thilo Graf
ea78976fc5 CCDraw: precise function for kill handler
This should fix possible artefacts or holes in some rendered boxes.
Was especially striking at HD1 Hardware.
e.g. was observed while right/left switching on channel list at header
and without rounded corners and at certain footers.


Origin commit data
------------------
Commit: ef4467b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-16 (Fri, 16 Jun 2017)
2017-06-16 11:49:32 +02:00
Thilo Graf
7068900ab9 CComponentsHeader: fix corner type comparison
Origin commit data
------------------
Commit: f46a174155
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-16 (Fri, 16 Jun 2017)
2017-06-16 10:10:48 +02:00
Thilo Graf
ae115b13f0 CCDraw: rework getScreen(), getScreenData(), add pixbuf checks
Origin commit data
------------------
Commit: 5fda283a61
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:55 +02:00
vanhofen
c046b54c11 cc_frm_scrollbar: add getScrollBarData() function ...
to calculate total pages and current page for CComponentsScrollBar

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


Origin commit data
------------------
Commit: 3e9e73cb3c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)

Origin message was:
------------------
- cc_frm_scrollbar: add getScrollBarData() function ...

to calculate total pages and current page for CComponentsScrollBar

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 01:01:55 +02:00
Thilo Graf
10fb9c3733 CComponentsText: make initCCText()
Is more useful


Origin commit data
------------------
Commit: cdafe580be
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
02b6bd4930 CProgressBarCache: ensure clean iterator inside pbcClear()
For safety only.


Origin commit data
------------------
Commit: 5573d17cce
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
c40254e94c CComponentsFrmClock: ensure clean timer instance
For safety only.


Origin commit data
------------------
Commit: 08e610859f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
1bd7726d24 CProgressBar/CComponentsInfoBox: add missing value inits
Origin commit data
------------------
Commit: 0a7f7ab5a6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
e8ba380719 CComponentsForm: remove extra item declaration
Remove instances from vector only for sure.


Origin commit data
------------------
Commit: 0066430b77
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
0a9a775fbc CComponentsHeader: remove virtual declararion from getClockObject()
Not required.


Origin commit data
------------------
Commit: 86af640fae
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)

Origin message was:
------------------
CComponentsHeader: remove virtual declararion from getClockObject()

Not required.
2017-06-15 01:01:54 +02:00
Thilo Graf
2bc7cf4631 CCButtonSelect: select button objects only
Other types are not required.


Origin commit data
------------------
Commit: c4976bb132
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
802381c6a0 CCButtonSelect: rename chain to btn_container
more plausible name


Origin commit data
------------------
Commit: 4146a461c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
222317bbad CCButtonSelect: outsource button select handling into own class
Origin commit data
------------------
Commit: 4d753d7437
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
fc6346b5e0 CComponentsInfoBox: fix image y pos
Image was not centered, because of frame was not considered.


Origin commit data
------------------
Commit: 9e2c5cb939
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
2017-06-15 01:01:54 +02:00
Thilo Graf
2b6f25e792 Merge branch 'master' into pu/fb-setmode
Origin commit data
------------------
Commit: 701273034a
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-29 (Mon, 29 May 2017)
2017-05-29 22:29:30 +02:00
Thilo Graf
b8b3a43432 CProgressBarCache: declare funtions pbcPaint(), pbcPaintBoxRel() as const
Technically these members can be const.


Origin commit data
------------------
Commit: 88e0479429
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-29 (Mon, 29 May 2017)
2017-05-29 22:26:06 +02:00
Thilo Graf
77cd7c8ef0 CComponentsTimer: exec OnTimer cleanup after stopped thread
Users reported about crashes, but I could not verify them by myself.

Supplement to: 8f7b23ad19


Origin commit data
------------------
Commit: 6e9e4de638
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-29 (Mon, 29 May 2017)
2017-05-29 22:25:59 +02:00
Thilo Graf
cf7c469d8b Merge branch 'master' into pu/fb-setmode
Origin commit data
------------------
Commit: 402c302bb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-28 (Sun, 28 May 2017)
2017-05-28 13:36:46 +02:00
Thilo Graf
78d7830040 CComponentsButton: fix offset between icon and text items
We have only two items, therfore it makes sense to set offset to 0
if we have only one item. Otherwise a single item will not be centered.


Origin commit data
------------------
Commit: 294278aad3
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-28 (Sun, 28 May 2017)
2017-05-28 13:34:17 +02:00
Thilo Graf
6d9267c1c3 CComponentsButton: use defined offset for append offset
Origin commit data
------------------
Commit: a5a2ac6037
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-28 (Sun, 28 May 2017)
2017-05-28 13:34:12 +02:00
Thilo Graf
35e038f88a Merge branch 'master' into pu/fb-setmode
Origin commit data
------------------
Commit: f4175eefe8
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)
2017-05-27 17:29:28 +02:00
Thilo Graf
8f7b23ad19 CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer
Origin commit data
------------------
Commit: c0fe5d2402
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)
2017-05-27 17:27:04 +02:00