Commit Graph

1212 Commits

Author SHA1 Message Date
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
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
Jacek Jendrzej
cf951434d5 Merge branch 'master' into pu/mp 2017-06-20 14:26:38 +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
Jacek Jendrzej
a70f3cb025 Merge branch 'master' into pu/mp 2017-06-16 14:19:26 +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
Jacek Jendrzej
4c3002cb26 Merge branch 'master' into pu/mp 2017-06-15 12:32:31 +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
Jacek Jendrzej
ca83324763 Merge branch 'master' into pu/mp 2017-06-07 16:20:47 +02:00
Jacek Jendrzej
b3e71120b4 Merge branch 'master' into pu/mp 2017-05-30 14:02:38 +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
Thilo Graf
6e9e4de638 CComponentsTimer: exec OnTimer cleanup after stopped thread
Users reported about crashes, but I could not verify them by myself.

Supplement to: c0fe5d2402
2017-05-29 22:25:59 +02:00
Jacek Jendrzej
05e8d727bd Merge branch 'master' into pu/mp 2017-05-28 22:30:05 +02:00