Commit Graph

1231 Commits

Author SHA1 Message Date
Thilo Graf
9c9bff2e25 cc_frm_icons: add missing return if no icon is available 2020-03-01 16:19:39 +01:00
Thilo Graf
01649342cb cc_frm_chain: use offset variables as protcted
Allows usage inside derived classes.
2020-03-01 16:02:01 +01:00
Thilo Graf
cc12a277db cc_frm_icons: add miising init of vars cc_xr and cc_yr 2020-03-01 16:01:59 +01:00
Thilo Graf
00263aa710 cc_types: init type with empty name
In this class not required
2020-02-15 22:09:19 +01:00
Markus Volk
34f669c91f cc_timer: fix -wformat for 64bit 2020-02-11 07:50:53 +01:00
Thilo Graf
fdc88c8b1c cc_frm_ext_text: fix text position
Text has been rendered outside of item.
2020-02-05 17:43:58 +01:00
Thilo Graf
3f7002c7d6 cc_draw: ensure paint no transparent background at black image parts 2020-02-04 18:02:24 +01:00
MarkusVolk
4559022c96 cc_timer.cpp: fix -Wformat warning 2020-01-24 15:40:38 +01:00
Thilo Graf
8006b7c75a cc_frm_window: fix background switch
Background was always on because calling of foo.doPaintBg(false)
was without any effect.
2020-01-23 16:15:02 +01:00
Thilo Graf
21bd65bfa2 cc_frm: fix offset in center mode
Items were not precise centered.
2020-01-22 21:25:53 +01:00
Thilo Graf
50fc1bf09d cc_timer: add member to get count of ticks 2020-01-22 21:25:53 +01:00
Thilo Graf
cb47add9b5 cc_frm_chain: remove not required virtuals 2020-01-22 21:25:53 +01:00
Thilo Graf
ebe3b5b073 cc_icons: add missing virtual destructor
for usage with derived classes
2020-01-22 21:25:53 +01:00
Thilo Graf
97399263f1 cc_frm: add member to get item object by item name 2020-01-19 16:55:42 +01:00
Thilo Graf
3cd712967f cc_frm.cpp: Leave method 'getCCItem()' if item collection is empty.
It makes no sense to execute these method if no items are existing and
avoids unintended debug error output with "out of range" content.
2020-01-17 18:43:51 +01:00
Thilo Graf
9ba2a4a0cf cc_timer: show object name for better identification in debug output 2020-01-17 16:35:06 +01:00
Thilo Graf
b73ec56278 cc_item_picture: use image name as default item name 2020-01-17 16:35:06 +01:00
Thilo Graf
bc845fafc2 cc_frm: add overloaded versions of getCCItemId() and removeCCItem()
Allows to use with item name as parameter.
Note: Requires that unique names are assigned!
2020-01-17 16:35:06 +01:00
Thilo Graf
4c3afd447f cc_timer: add missing virtual for destructor 2020-01-14 08:55:44 +01:00
Thilo Graf
635d84db16 cc_timer: declare some members as protected
required for use in derived classes
2020-01-10 15:03:07 +01:00
Jacek Jendrzej
dfb3b55f02 cc_frm_clock.h fix show time in movieplayer 2020-01-09 01:20:32 +01:00
svenhoefer
9631f2c74b - fix some compiler warnings
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-01-07 17:51:27 +01:00
Thilo Graf
17c7bbd6e3 cc_frm_clock: fix format error 2020-01-06 16:38:21 +01:00
Thilo Graf
17d1ed41be cc_frm_clock: clean up, remove unused var and comments 2020-01-05 21:17:59 +01:00
Thilo Graf
b1f9c3c7f3 cc_timer/cc_frm_clock: allow use of milisecond intervals
Should be easier and more flexible to handle without nano parameter,
some reworkes in other classes and thread handlings are required.
2020-01-05 21:17:59 +01:00
Thilo Graf
32b52a9c96 cc_item_infobxox: reset pic and cctext in destructor for sure 2020-01-05 21:17:59 +01:00
Thilo Graf
c725baff27 cc_frm_footer: ensure unsigned value for w_btn_tmp 2020-01-05 21:17:59 +01:00
Thilo Graf
658941f721 cc_frm_header: minor format changes 2020-01-05 21:17:59 +01:00
Thilo Graf
dec32f88eb cc_item_text: add global mutex 2020-01-05 21:17:59 +01:00
Thilo Graf
46bb9cb333 cc_item: make some get members const, for sure 2020-01-05 21:17:59 +01:00
Thilo Graf
8df2710be7 cc_frm: add global mutex for cc forms 2020-01-05 21:17:59 +01:00
svenhoefer
3fd2d5011f - data/pictures: disable new logo.jpg; not really usefull for narrow-breasted boxes like hd1
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-01-05 16:53:14 +01:00
Thilo Graf
69a1014ab7 cc_draw: ensure kill of rendered boxes only if enabled
Avoids unnecessary render of empty parts on screen.
2019-12-30 21:12:46 +01:00
Thilo Graf
baff642993 cc_item_infobox: add signal OnAfterPaintInfo 2019-12-30 16:32:11 +01:00
Thilo Graf
794619df4f cc_frm_clock: replaced paintClock with cl_blocked
for better readability
2019-12-30 16:32:11 +01:00
Thilo Graf
18380df200 cc_frm_clock: Removed not required digit of slot method name
only to simplify.
2019-12-30 16:31:05 +01:00
Thilo Graf
e536d5cef1 Images: add logo file 2019-12-29 15:25:03 +01:00
Thilo Graf
42d69e2c34 cc_frm_header: fix clock width 2019-11-09 11:05:06 +01:00
Thilo Graf
97fc294d54 cc_frm_footer: add members to enable button allignment on top of footer 2019-10-27 16:24:47 +01:00
Thilo Graf
c82d1a9b27 cc_frm_window: add paramter for frame width into constructors
setFrameThickness() has no effect
2019-10-27 16:24:47 +01:00
Thilo Graf
bcf4fbdc87 cc_signals: add missing virtual destructor 2019-10-27 16:24:47 +01:00
Thilo Graf
7f2c9ca41b cc_frm/cc_item_text: use mutexes in some members
Watched some problems with thredead parts in some
window objects (e.g. messageboxes, clock ...) thx satbaby for some hints
and testings
2019-10-27 16:24:47 +01:00
Thilo Graf
31b73a4e35 cc_frm_footer/cc_frm_button: fix some arangement errors 2019-10-27 16:24:47 +01:00
Thilo Graf
ed701f450a cc_draw: declare some functions as const, minor format changes 2019-10-27 16:24:47 +01:00
Thilo Graf
b206e7025c cc_item: add missing virtual destructor 2019-10-27 16:24:47 +01:00
Thilo Graf
7c7578741b cc_draw: use const bool& for more safety 2019-10-27 16:24:47 +01:00
Thilo Graf
969644c39a cc_frm: us at member inside addCCItem() for more safety 2019-10-27 16:24:47 +01:00
Thilo Graf
689d35db25 cc_draw: remove virtual from position setters 2019-10-27 16:24:47 +01:00
Thilo Graf
84d3f05c63 cc_detailsline.h: add missing virtual destructor 2019-10-27 16:24:47 +01:00
Thilo Graf
00984b9d1e cc_draw: remove 'virtual' from hasChanges()
Makes problems with thread handling
2019-10-27 16:24:47 +01:00