Commit Graph

1087 Commits

Author SHA1 Message Date
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
Thilo Graf
356719cf3a 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.
2017-08-08 14:25:12 +02:00
Thilo Graf
c18e337d1f offsets: add SIDEBAR_WIDTH
required in window class
2017-08-08 14:25:12 +02:00
M. Liebmann
542626c0da Merge branch 'master' into pu/mp 2017-06-29 15:06:39 +02:00
Thilo Graf
47f7426aa7 CComponentsFooter: remove FIXME tag
fixed since 2e24663a3f
Obsolete wrong types caused this.
2017-06-28 20:36:51 +02:00
Jacek Jendrzej
2ddad19873 Merge branch 'master' into pu/mp 2017-06-21 13:54:49 +02:00
Thilo Graf
aa92fc525f cc_types.h: add more shadow defines
Allows compact style on use for arguments in methods.
2017-06-21 10:31:22 +02:00