Commit Graph

11 Commits

Author SHA1 Message Date
Thilo Graf
ab2e9eeff6 cc_frm_slider: rework slider slider handling 2020-12-07 20:33:52 +01:00
Thilo Graf
d86dcd36a7 components: use const bool& parameter in paint methodes 2019-10-27 16:24:47 +01:00
Thilo Graf
fb5c943db4 cc: expand cc-type with name
Required for internal operations where it is useful to have object
names and for better debugging.
2017-12-30 22:58:15 +01:00
vanhofen
d873aef1e8 - rename SLIDER defines 2017-09-15 20:17:48 +02: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
5eb63b9515 CComponentsPicture: structure of class highly simplified
It should  be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.
2014-06-23 18:43:47 +02:00
Thilo Graf
23d7b62cf0 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.
2014-03-03 09:43:39 +01:00
Thilo Graf
72cb72695f CComponentsSlider: fix vertical arrangement for slider body
Centering was broken.
2014-01-12 13:57:11 +01:00
Thilo Graf
2ca246a30d CComponentsSlider: fix debug output 2014-01-12 13:57:10 +01:00
Thilo Graf
0079782696 CComponentsSlider: fix possible null pointer dereference
csl_body_obj, csl_slider_obj,
otherwise it is redundant to check it against null.
2013-12-25 19:50:31 +01:00
Thilo Graf
28e344d600 CComponents: add new class CComponentsSlider()
Provides a slider item
2013-12-23 23:55:43 +01:00