Commit Graph

986 Commits

Author SHA1 Message Date
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
bdd23e0ece fix stack buffer underflow 2017-09-21 18:46:21 +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
b1f820aa44 fix start clock supplement to d30bd0ea26 2017-09-19 12:40:02 +02:00
vanhofen
d873aef1e8 - rename SLIDER defines 2017-09-15 20:17:48 +02:00
Jacek Jendrzej
513850f915 try to fix tm thread 2017-09-14 12:09:40 +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
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
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
Thilo Graf
47f7426aa7 CComponentsFooter: remove FIXME tag
fixed since 2e24663a3f
Obsolete wrong types caused this.
2017-06-28 20:36:51 +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
svenhoefer
980e293517 - cc_frm_header: remove CComponentsHeaderLocalized() subclass
use another constructor of CComponentsHeader() instead

Signed-off-by: Thilo Graf <dbt@novatux.de>

Good idea, this I had already in mind too.
2017-06-21 10:31:22 +02:00
Thilo Graf
cdf0123bea CComponentsScrollBar: overwrite default corner type
Rounded corners are in mostly cases not required, because of
possible pixel errors if scrollbars are used as embedded standalone part and is
generated with external method paintScrollBar().
2017-06-20 12:17:47 +02:00
Thilo Graf
ef4467b6da CCDraw: precise function for kill handler
This should fix possible artefacts or holes in some rendered boxes.
Was especially striking at HD1 Hardware.
e.g. was observed while right/left switching on channel list at header
and without rounded corners and at certain footers.
2017-06-16 11:49:32 +02:00
Thilo Graf
f46a174155 CComponentsHeader: fix corner type comparison 2017-06-16 10:10:48 +02:00
Thilo Graf
5fda283a61 CCDraw: rework getScreen(), getScreenData(), add pixbuf checks 2017-06-15 01:01:55 +02:00
svenhoefer
3e9e73cb3c - cc_frm_scrollbar: add getScrollBarData() function ...
to calculate total pages and current page for CComponentsScrollBar

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-06-15 01:01:55 +02:00
Thilo Graf
cdafe580be CComponentsText: make initCCText()
Is more useful
2017-06-15 01:01:54 +02:00
Thilo Graf
5573d17cce CProgressBarCache: ensure clean iterator inside pbcClear()
For safety only.
2017-06-15 01:01:54 +02:00
Thilo Graf
08e610859f CComponentsFrmClock: ensure clean timer instance
For safety only.
2017-06-15 01:01:54 +02:00
Thilo Graf
0a7f7ab5a6 CProgressBar/CComponentsInfoBox: add missing value inits 2017-06-15 01:01:54 +02:00
Thilo Graf
0066430b77 CComponentsForm: remove extra item declaration
Remove instances from vector only for sure.
2017-06-15 01:01:54 +02:00
Thilo Graf
86af640fae CComponentsHeader: remove virtual declararion from getClockObject()
Not required.
2017-06-15 01:01:54 +02:00
Thilo Graf
c4976bb132 CCButtonSelect: select button objects only
Other types are not required.
2017-06-15 01:01:54 +02:00
Thilo Graf
4146a461c1 CCButtonSelect: rename chain to btn_container
more plausible name
2017-06-15 01:01:54 +02:00
Thilo Graf
4d753d7437 CCButtonSelect: outsource button select handling into own class 2017-06-15 01:01:54 +02:00
Thilo Graf
9e2c5cb939 CComponentsInfoBox: fix image y pos
Image was not centered, because of frame was not considered.
2017-06-15 01:01:54 +02:00
Thilo Graf
701273034a Merge branch 'master' into pu/fb-setmode 2017-05-29 22:29:30 +02:00
Thilo Graf
88e0479429 CProgressBarCache: declare funtions pbcPaint(), pbcPaintBoxRel() as const
Technically these members can be const.
2017-05-29 22:26:06 +02:00