Thilo Graf
f387150bf1
cc_types.h: add item 'order_id' to button_label_cc struct
2019-04-05 21:52:53 +02:00
Thilo Graf
a46f5d1ee1
cc_frm_header.cpp: add gradient mode if header is in small mode
2019-04-02 16:34:56 +02:00
Thilo Graf
1c574e4a07
header/footer: add overloaded versions of header class with size mode option
...
Size mode didn't really work. It is easier to implement
headers with with separate class constructor and other size mode
Footer works also with this additional parameter but without additional
overloaded constructors.
2019-04-02 16:34:56 +02:00
Thilo Graf
714df8b092
cc_draw.cpp: use random colors for CCDraw_debug
...
For better distinguish objects on screen while debugging.
2019-04-02 16:34:56 +02:00
Jacek Jendrzej
4fb17ff991
cc_item_picture.cpp use def, supplement to 9af186dcd7
2019-04-02 12:10:50 +02:00
Jacek Jendrzej
232ecf1027
cc_item_picture.cpp fix init var
2019-04-02 11:30:43 +02:00
Jacek Jendrzej
9af186dcd7
cc_item_picture.cpp: fix hide mute paint, if first mute paint is in movieplayer
2019-04-01 16:14:18 +02:00
Thilo Graf
17b57d0914
cc_item_picture.cpp: avoid possible crash if image paint was failed
2019-03-26 10:01:22 +01:00
Jacek Jendrzej
43e93be441
cc_draw.h: try to fix broken hide() in derived classes
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2019-03-12 10:50:00 +01:00
Thilo Graf
a7f960ffa4
cc_draw.h: add member to set force full repaint of item
...
This overrides internal firstpaint and is_painted modes to
provoke full repaint of item.
2019-02-11 11:14:12 +01:00
TangoCash
93f74ef829
show event logos only in infoviewer
2018-12-31 15:18:15 +01:00
svenhoefer
5c413dce45
- move compatibility headers to /lib/hardware
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-12-31 11:47:45 +01:00
svenhoefer
c2df6c97b9
- cc_frm_header: re-add offet to header caption; ...
...
this fixes ofset on right side for very long header captions
Signed-off-by: Thilo Graf <dbt@novatux.de >
2018-12-31 11:47:44 +01:00
Thilo Graf
a327498209
cc_item_text.h: remove unneeded virtual declarations
2018-12-31 11:46:55 +01:00
Thilo Graf
0db7634583
cc_frm_clock.cpp: declare force_repaint as const
2018-12-31 11:46:55 +01:00
Thilo Graf
25d55b60b9
cc_item_text.cpp/h: move functions into cpp file
...
clean up
2018-12-31 11:46:55 +01:00
Thilo Graf
8b9a268a0c
cc_timer.h: fix threadname assignment
...
Parameter not really passed in some some conditions.
2018-12-31 11:46:55 +01:00
Thilo Graf
7eeb270cba
cc_draw.cpp/h: move more methodes into cpp file
...
clean up
2018-12-10 22:01:56 +01:00
Thilo Graf
73f0c4b25e
cc_item.cpp/cc_detailsline.cpp: clean up and simplify fblayer init
...
use v_fbdata.push_back() for direct fill with contents, reduced effort
2018-12-07 22:57:19 +01:00
Thilo Graf
09940ed419
cc_item.cpp/h: move getPageNumber() into cpp file
...
clean up
2018-12-07 21:47:33 +01:00
Thilo Graf
c7f8392ef6
cc_draw.cpp/h: move position members into cpp file
...
clean up
2018-12-07 21:47:33 +01:00
Thilo Graf
b13a2a3b9a
cc_draw.cpp: remove consequently all possible pixbuf contents
...
This should enusre a clean content for all fbdata.pixbuf parts.
2018-12-07 21:47:33 +01:00
Thilo Graf
1d5de6babc
clean up: remove unnecessary virtual declarations from cc classes
2018-12-07 21:47:32 +01:00
Thilo Graf
420fba0e1b
cc_draw.cpp: remove variable cc_fbdata_t& fbdata
...
Try to avoid som possible data races.
2018-12-07 21:47:32 +01:00
Thilo Graf
94284c2e5b
cc_draw.cpp: call blitBox2FB() only if checkFbArea() was true
...
This should prevent pass corrupted parameters for blitBox2FB().
2018-12-07 21:47:32 +01:00
Thilo Graf
bb6198fa0c
cc_frm_clock.cpp/h: fix incomplete result of isRun() methode
2018-11-20 09:17:02 +01:00
Thilo Graf
7c14322653
cc_item_text.cpp: avoid evaluation within parameters
2018-11-20 09:17:02 +01:00
Thilo Graf
138c7b810e
cc_item_text.h: declare unnecessarily protected variables as private
2018-11-20 09:17:02 +01:00
Thilo Graf
014f0f3da7
cc_frm_window.cpp: fix possible oversize render with maximum screen settings
2018-11-20 09:17:02 +01:00
Thilo Graf
692d39bfb0
cc_item_text.cpp: add missing paint state after rendered text box
...
Evaluations while usage of this state could has been wrong or incomplete
and therefore it was possible that some effects were unintended or
without any effect.
2018-11-20 09:17:02 +01:00
Thilo Graf
e2b34efc88
cc_frm.cpp: add missing condition within paint methode
...
Shadow was unpainted with shadow_force
2018-10-28 19:41:22 +01:00
Thilo Graf
243bfb9cb4
cc_item_text.cpp: fix missing pass through of var cc_allow_paint
...
In case of cc_allow_paint = false, text would be farther rendered
and this is not intended.
2018-10-28 19:41:22 +01:00
Thilo Graf
57790766e7
src/gui/components/cc_frm_footer.cpp: fix assinged vector content
2018-08-18 11:22:23 +02:00
Thilo Graf
8a9ef1db85
cc_frm_footer.cpp: avoid possible crash if content[i].button = NULL
...
If content[i].button = NULL, conversion of content[i].button into std::string would fail.
2018-08-18 11:22:23 +02:00
Thilo Graf
29dd3a6b13
cc_frm_button.h: expand getButtonDirectKey() for item id
...
With this parameter it is possible to get any existing directkey
inside button object. For compatibility the old behavior is untouched.
2018-08-18 11:22:23 +02:00
Thilo Graf
5d212fc401
src/gui/components/cc_frm_footer.cpp: add member getButtonLabel()
...
Allows to get button label object from button collection.
2018-08-18 11:22:23 +02:00
Thilo Graf
3955da6893
src/gui/components/cc_types.h: fix default key for button labels
...
First index = 0 not 1
2018-08-18 11:22:23 +02:00
Thilo Graf
bcdc3e990e
CCDraw: add debug output to identify errors in relevant item types
2018-04-05 21:21:53 +02:00
Thilo Graf
a25fd62be8
CCTypes: outsource type variables and methods into own inheritable class
2018-04-05 20:55:46 +02:00
Thilo Graf
3233abce5d
src/gui/epgview.cpp: initialize of dimensions dependently from added icons
...
... so it is possible to get usable dimension values. Useful if in parent
object none values or too small dimensions are defined.
2018-03-24 17:39:49 +01:00
Thilo Graf
7dae8aa77e
src/gui/components/cc_frm_icons.cpp: fix typo, add missing include
2018-03-14 12:16:36 +01:00
Thilo Graf
9d7f8a21f9
CComponentsIconForm: add member to add any number of identical icons
2018-03-14 10:50:20 +01:00
Thilo Graf
56bf501e3d
cc_frm_icons.cpp: add missing call of addIcon();
...
Parameter v_icon_names was without effect.
2018-03-14 10:50:00 +01:00
Thilo Graf
35196222aa
Fix "cc_frm_footer.cpp: fix possible compiler warning"
...
This reverts commit 885ed60ea4
.
2018-03-02 21:44:07 +01:00
Thilo Graf
e920fd3c9c
CCButtonSelect: unfify bg color parameter order with related base methode
...
Order was different between setSelectedButton() and setSelectedItem()
2018-03-01 19:04:34 +01:00
Thilo Graf
318550767f
CCButtonSelect: use pre defined frame color as default
2018-03-01 19:04:34 +01:00
Thilo Graf
948e42cd1d
CCButtonSelect: fix order of frame color parameters
2018-03-01 19:04:34 +01:00
Thilo Graf
caa8eb866f
CComponentsForm: add define for default select frame
2018-03-01 16:55:27 +01:00
Thilo Graf
885ed60ea4
cc_frm_footer.cpp: fix possible compiler warning
...
long unsigned int is expected
2018-03-01 16:55:27 +01:00
Stefan Seyfried
405d77565d
cc_frm: fix paintCCItems() y position calculation
2018-02-19 17:49:41 +01:00