Commit Graph

23 Commits

Author SHA1 Message Date
Thilo Graf
d86dcd36a7 components: use const bool& parameter in paint methodes 2019-10-27 16:24:47 +01:00
Thilo Graf
73f0c4b25e cc_item.cpp/cc_detailsline.cpp: clean up and simplify fblayer init
use v_fbdata.push_back() for direct fill with contents, reduced effort
2018-12-07 22:57:19 +01: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
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
Thilo Graf
f5f2bf92ba CComponentsDetailsLine: add scale to details line width
Also added correction for odd line width values and added
method to change details line width.
2017-03-14 09:41:19 +01:00
svenhoefer
5b0faeab8c - unify DetailsLine-names; move define to settings.h 2017-03-13 12:40:04 +01:00
Thilo Graf
5f0aea48d2 CComponentsDetailLine: remove multiple init of cc_save_bg.
Init is passed with paintFbItems() at the end of paint() methode.
2017-01-30 11:27:49 +01:00
svenhoefer
75fe6e407d - colors: add COL_FRAME wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
9948649f55 - cc_detailsline: fix positions/dimensions of detailsline 2016-09-12 12:10:19 +02:00
svenhoefer
1f60557e0b - ccomponents: use COL_SHADOW for shadows 2016-08-16 08:37:54 +02:00
Thilo Graf
68b5040c9f CComponentsDetailLine: fix possible rests on screen after hided detailsline
Shadow width was missing.
2015-12-28 20:20:40 +01:00
Thilo Graf
0146511f38 components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
  enable/disable clock with external timer events,
  tryed to fix some display issues related with infoclock and
  time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
  cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
  arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
ed7a2fd625 CComponents: replace clear() with clearFbData(), remove cleanCCForm()
clear() replaces now clearCCItems() and cleanCCForm() is superfluous.
2014-01-07 09:41:06 +01:00
Thilo Graf
2803bf6f81 CComponentsDetailLine: cleanup constructors
Remove single constructor, usage of default parameters in main constructor
have same effect.
2013-12-25 19:50:31 +01:00
[CST] Focus
dd7c7fc7ae components: cleanup destructors - remove calls to functions,
already called inside base classes destructors
2013-11-29 17:27:10 +04:00
[CST] Focus
93a326e9eb components: remove initVarBasic and initVarItem calls from derived classes 2013-11-29 17:27:10 +04:00
Thilo Graf
6dd1da0628 revert 6ee7fac1a5
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5 CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Thilo Graf
d39eaa22fc CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
Thilo Graf
a4c3e08f77 CComponents: rework kill()
There was some problems with restore, hide, clean and save background of item parts,
seen in detailsline. kill() worked not really clean.
kill() works now as virtual member and uses paintBackgroundBoxRel().

In consequence of which:
-unnecessary members in subclasses removed.
-add some comments
2013-05-03 19:51:57 +02:00
svenhoefer
62f5b11123 - cc_detailsline.cpp: fix coordinates for shadow lines 2013-05-02 21:10:00 +02:00
Thilo Graf
0dc4686874 fix license text, sorry, was a c&p error 2013-03-21 11:37:00 +01:00
Thilo Graf
3ed9af87ad CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.
2013-03-06 11:28:18 +01:00