Commit Graph

1152 Commits

Author SHA1 Message Date
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
Thilo Graf
0e438e0a95 cc_timer.cpp: don't loop if slot OnTimer is empty
Just for safety and to save resources.
2018-02-19 17:49:29 +01:00
Thilo Graf
6141510858 CComponentsHeader: use internal offset instead OFFSET_INNER_MID
Internal offset is already defined.
2018-02-07 19:45:50 +01:00
Thilo Graf
ee04bbb368 CComponentsHeader: fix possible build error with dangling-else
error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]

see commit: 02631f14ca
2018-02-04 20:47:41 +01:00
max_10
02631f14ca fix overpaint buttons in channellist edit mode 2018-02-04 20:03:17 +01:00
svenhoefer
a3ce3d65c4 - cc_item_shapes; add ClearBoxRel() function; analogous to PaintBoxRel()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:36:35 +01:00
Thilo Graf
355d938820 src/gui/components/cc_item_picture.h: remove CComponentsPictureScalable
not longer required
2018-01-23 17:34:28 +01:00
Thilo Graf
bae07b95e7 src/gui/components/cc_frm_button.cpp/h: use CComponentsPicture only
CComponentsPictureScalable not longer required
2018-01-23 17:34:25 +01:00
Thilo Graf
38fa0f8fb9 cc_types: add #include <driver/fb_generic.h>
user report: 	try to fix error: »fb_pixel_t« discribes no type

This is a bit strange because this data type
is global configured, see configure.ac
2018-01-20 17:49:57 +01:00
Thilo Graf
64d5101be0 data types: use unified type name uint8_t instead u_int8_t 2018-01-20 17:42:31 +01:00
Thilo Graf
26c552a1ed CComponentsHeader: avoid possible 'out of range' log message
seen during left/right scroll with channellist
2018-01-14 13:39:21 +01:00