Commit Graph

6 Commits

Author SHA1 Message Date
Thilo Graf
4f69f4f34a CComponentsPIP: centering alternate backkground image 2013-10-02 10:21:11 +02:00
Thilo Graf
91b8b34a51 CComponentsPIP: fix x position
pig_x+2 was wrong.
2013-10-01 10:09:08 +02:00
Thilo Graf
e8ddd8100f CComponentsPIP: show scaled aspect ratio in minitv box 2013-06-16 02:01:42 +02:00
Thilo Graf
04300f1874 CComponents: rework position handling
The real position already used here, if item is bound to a parent.
(bound or embedded means: added with addCCItem() to a form)
This causes no separate calculation in paint methodes of embedded
sub items or sub forms and more nested sub forms.

CComponentsForm have also some new members
- exchangeCCItem() to exchange the order items
- setAppendOffset() to set an offset for auto append mode
  Autoappend is enabled if x or y have value -1 (defined also in CC_APPEND)
  x=horizontal, y=vertical
  Is this activated, no separate calculation of incremental offset
  is required.

However items with independent rendered parts, needs
a separate calculation. In some subclasses was this necessary.
2013-06-16 00:34:06 +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
d87290c2bc CComponentsPIP: remove unsuitable filename 2013-04-02 09:31:05 +02:00