Commit Graph

1093 Commits

Author SHA1 Message Date
Thilo Graf
39fb9f47f4 CComponentsFooter: fix force re init of button container
clear() removes only items and their instances inside button container, but all
other properties (e.g. width) are not touched. Re init should avoids this.
2017-12-15 18:40:51 +01:00
Thilo Graf
2a2d51d255 CComponentsInfoBox: add possibility for scalable picons 2017-12-10 22:03:41 +01:00
Thilo Graf
e9883cbd2d cc_item_picture.h: remove virtual declaration from setPicture()
Is not really required.
Avoids possible compile/linker errors like "...no reference..." for some
coming changes.
2017-12-04 09:35:57 +01:00
Thilo Graf
caface0a88 CComponentsTimer: try to fix timing on non cst hardware
On hd51 and pc hardware was observed full visual timeout progress in message boxes.
Timeoout was displayed always without visible progress.
This should fix this.
2017-11-23 16:37:48 +01:00
svenhoefer
0fc3e793a4 - neutrino: unify modes handling; ...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-22 15:42:09 +01:00
Thilo Graf
94517d3404 src/gui/components/cc_frm_window.cpp: fix too small left bottom corner
radius is allready calculatetd in base class src/gui/components/cc_frm.cpp
in member CComponentsForm::paintCCItems()

NOTE:
It seems the radius calculation inside framebuffer don't working correct
for corners on the right site on top and bottom.
Seen on hd51 hardware on osd-boxes with shadow
(e.g. infobar) or Boxes with frames e.g. on  error message windows, buttons.
There are pixel errors like minimal holes on osd or displaced pixels.
On CST hardware evreything is ok.
2017-11-19 21:12:42 +01:00
Jacek Jendrzej
75fd96f6b7 silence -Wparentheses-equality warning 2017-11-03 20:14:37 +01:00
Thilo Graf
ccb19a8880 Merge branch 'pu/mp' into 'master' 2017-10-17 20:38:58 +02:00
Thilo Graf
e169a76ff9 CComponentsPIP: use default background image as default image 2017-10-17 20:02:23 +02:00
Jacek Jendrzej
4b8cf23d70 Merge branch 'master' into pu/mp 2017-10-16 13:17:17 +02:00
Thilo Graf
c7a2dd70fc CComponentsFooter: rework uniformed arrangement
Some parts were incomplete treated with defined parameter
'label_width' and/or 'chain_width'.
2017-10-13 12:35:59 +02:00
Jacek Jendrzej
7ad4a0e6cc Merge branch 'master' into pu/mp 2017-10-02 13:56:25 +02:00
Stefan Seyfried
0d9139054a remove "using namespace std" from header files
"using namespace std" in headers is considered bad practice, so move it
either into the respective cpp files or (for files which have lots of
other std::xxx usage anyway) just write it out explicitly.
Looking at the headers and the affected cpp files, one can actually see
why it is bad practice, as it's spreading very far ;-)
2017-10-02 13:43:57 +02:00
Jacek Jendrzej
b7ceb705a0 Merge branch 'master' into pu/mp 2017-09-26 12:52:04 +02:00
svenhoefer
95ab4ac708 - detailsline: reduce two times the shadow width from the h_marks
Otherwise shadows will be painted lower then the height of the object
the detailsline is docked to.
2017-09-26 12:41:05 +02:00
Stefan Seyfried
9e2a7d7f79 add LUA_CFLAGS everywhere widget/menue.h is used 2017-09-26 12:41:05 +02:00
Thilo Graf
dca7e10179 cc_detailsline.cpp: fix possible unintended reduced height of bottom marker
Decrement value removed.

Height of bottom marker was decreased on every new repaint if no new
height was assigned. Was to see in bouqueteditor while scrolling with bouqets or
channel select window.

comes in with 9948649f55
2017-09-24 22:27:46 +02:00
Jacek Jendrzej
17afd5c87a Merge branch 'master' into pu/mp 2017-09-21 18:47:32 +02:00
Jacek Jendrzej
bdd23e0ece fix stack buffer underflow 2017-09-21 18:46:21 +02:00
M. Liebmann
abfb02aa47 Merge branch 'master' into pu/mp 2017-09-21 09:07:15 +02:00
svenhoefer
6ee3e54741 - add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-20 21:29:53 +02:00
Thilo Graf
ecdc1acb9f CComponentsFrmClock: Using less chars for time string.
Current count of chars could be not enough in some cases.
2017-09-20 21:29:53 +02:00
Jacek Jendrzej
756f464a3f Merge branch 'master' into pu/mp 2017-09-19 12:40:58 +02:00
Jacek Jendrzej
b1f820aa44 fix start clock supplement to d30bd0ea26 2017-09-19 12:40:02 +02:00
Jacek Jendrzej
e3998c1ced Merge branch 'master' into pu/mp 2017-09-15 20:44:49 +02:00
vanhofen
d873aef1e8 - rename SLIDER defines 2017-09-15 20:17:48 +02:00
Jacek Jendrzej
2ebb47f519 Merge branch 'master' into pu/mp 2017-09-14 13:54:04 +02:00
Jacek Jendrzej
513850f915 try to fix tm thread 2017-09-14 12:09:40 +02:00
Jacek Jendrzej
23797d29c0 Merge branch 'master' into pu/mp 2017-08-29 11:26:54 +02:00
Thilo Graf
6e310a8157 comments: fix copy paste errors 2017-08-28 12:16:45 +02:00
Thilo Graf
c743cb632b cc_item_shapes.cpp/h: Add method to create draw boxes without explicit objects 2017-08-28 12:16:45 +02:00
Thilo Graf
5221769840 CComponentsHeader: add missing check for null pointer 2017-08-28 12:16:45 +02:00
Thilo Graf
d42389b167 CProgressBarCache: remove benchmark lines
Was only for debugging.
2017-08-28 12:16:45 +02:00
Thilo Graf
f07a27825d CComponentsPicture: remove benchmark lines
Was only for debugging.
2017-08-28 12:16:45 +02:00
Thilo Graf
16dac64ed2 CComponentsFooter: fix possible error with non-POD element type
affected is struct type 'button_label_cc'
2017-08-28 12:16:45 +02:00
Thilo Graf
27995b19fa 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
2017-08-28 12:16:45 +02:00
Thilo Graf
fe6a24351b cc_frm.cpp, cc_frm_button.cpp: remove unread stored variables 2017-08-28 12:16:45 +02:00
Thilo Graf
758081a0ac CComponentsFrmClock: fix wrong initialization of w_tmp 2017-08-28 12:16:45 +02:00
Jacek Jendrzej
61f1c51d50 Merge branch 'master' into pu/mp 2017-08-12 10:02:55 +02:00
Thilo Graf
71f5779a40 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.
2017-08-11 22:35:07 +02:00
Thilo Graf
b863f874b0 CComponentsScrollBar: use matching type names 2017-08-09 21:36:26 +02:00
Thilo Graf
431cfadcc2 CComponentsScrollBar: fix possible build error with -Werror=sign-compare 2017-08-09 20:29:22 +02:00
Thilo Graf
379d1ffa76 CComponentsScrollBar: fix possible too small type size
Possible segment count could be more than 265.
Was a remnant from scrollbar test phase.
2017-08-09 19:13:36 +02:00
Jacek Jendrzej
1763bb9e64 Merge branch 'master' into pu/mp 2017-08-08 20:06:40 +02:00
Thilo Graf
67a71d5e4e CComponentsForm: add functions to get used or free space of form dimensions 2017-08-08 14:25:12 +02:00
Thilo Graf
a4af92d219 CComponentsForm: add methods to get previous and next item 2017-08-08 14:25:12 +02:00
Thilo Graf
a19a1f067e CComponentsItem: fix possible issues with position inside forms
This ensures relative position for items inside form
2017-08-08 14:25:12 +02:00
Thilo Graf
9687dda867 CCDraw: add missing member for real item position
Changes of real positions were not watched.
2017-08-08 14:25:12 +02:00
Thilo Graf
dcdff2c03b CComponentsItem: move real position methods from draw class into item class
These methods ar only relavant for items
2017-08-08 14:25:12 +02:00
Thilo Graf
8e17eadb6a CComponentsHeader: disable permanent clock paint on interval. 2017-08-08 14:25:12 +02:00