Commit Graph

1212 Commits

Author SHA1 Message Date
M. Liebmann
6c72fe94bc CCDraw: Set cc_gradient_bg_cleanup to true
Except menu headers: Disable cleanup when save screen is disabled
2016-01-29 15:31:12 +01:00
Thilo Graf
be1f555e37 CCDraw: try to fix is_painted property after used kill() 2016-01-29 15:31:12 +01:00
Thilo Graf
65de6dee9f CComponentsItem: add missing parameter to kill() member
Was not passed to parent methode.
2016-01-29 15:31:12 +01:00
Thilo Graf
107c3234b2 CComponentsItem: reset paint mode after cleanup 2016-01-26 20:00:22 +01:00
Thilo Graf
f521e32981 CCDraw: add member to remove shadow only 2016-01-26 20:00:22 +01:00
Thilo Graf
063ccbb622 CCDraw: use ccdraw namespace 2016-01-26 09:51:48 +01:00
M. Liebmann
bf0f63467d CCDraw: Add function for cleanup gradient background 2016-01-26 09:51:48 +01:00
M. Liebmann
346b28556f CComponentsPicture: Align pictures at 4 byte boundary...
...for hw blit on apollo/kronos hardware
2016-01-26 09:51:48 +01:00
M. Liebmann
95f11ce7af CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...for hw blit on apollo/kronos hardware
2016-01-26 09:51:48 +01:00
Stefan Seyfried
f5c72d35c8 Merge remote-tracking branch 'n/cst-next-fixed' 2016-01-24 13:15:43 +01:00
Thilo Graf
9d72b086a2 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.
2016-01-21 11:00:38 +01:00
Thilo Graf
9775f1f43a cc_types: add missing item type to signalbar 2016-01-21 11:00:34 +01:00
Thilo Graf
60c9dc8432 CComponentsText: try to fix mismatching calculation of y pos inside form 2016-01-21 11:00:19 +01:00
Thilo Graf
b701c345fb CCDraw: remove clean up after restored screen
It seems not always useful to clean up everything after hide().
For more control in some cases an separate clean up with
clearSavedScreen() should be more flexible.
2016-01-21 10:58:21 +01:00
Thilo Graf
695f845907 CComponentsItem: remove clean up from kill()
It is not always useful to clean up everything with kill().
For more control in some cases an separate clean up should be better.
2016-01-21 10:16:37 +01:00
Thilo Graf
0c67739074 CComponentsPicture: fix missing dimension values on wrong image location
In some constellations we can't get dimensions from getIconSize(),
so it is useful to fall back to g_PicViewer->getSize().

Cache cleanup removed, can be done at runtime if required.
2016-01-19 15:33:05 +01:00
Stefan Seyfried
572de2bbcb Merge remote-tracking branch 'cst-next' 2016-01-16 12:51:04 +01:00
Stefan Seyfried
79d800f955 - port HWLIB_CFLAGS from neutrino-mp to neutrino-hd 2016-01-14 22:29:00 +01:00
Stefan Seyfried
fa05d6a415 fix debug output printf type warnings 2016-01-14 22:28:59 +01:00
svenhoefer
3a1da74374 - cc_frm_signalbars: fix REF_PERCENT_TXT for 100% 2016-01-10 21:55:44 +01:00
Stefan Seyfried
b53fbaf327 Merge remote-tracking branch 'cst-next' 2016-01-08 19:52:41 +01:00
Thilo Graf
ff97b7d25f CComponentsButton: fix transparecny of button icon
Background was black for some icons
2016-01-05 15:06:18 +01:00
Thilo Graf
c11ea8f50b CComponentsPicture: move SetTransparent() to public 2016-01-05 15:06:18 +01:00
Thilo Graf
eec34222ea CComponentsButton: remove current gradient from all buttons
This will comming soon, gradient is prepared for use but disabled at
the moment till some other parts of gui parts are provide gradient
2016-01-05 15:06:18 +01:00
Thilo Graf
2ea156e933 CCDraw: remove hide() from destructor.
hide() should be called explicit if required.
This should fix unintentionally call of hide() if objects used on stack.
2016-01-05 15:06:18 +01:00
Thilo Graf
976e0251ee CComponentsItem: try to fix clean up screen buffers after killed items 2016-01-03 20:25:15 +01:00
Stefan Seyfried
7d268c16b9 cc_frm: fix printf warning (this time for real ;) 2016-01-01 20:49:37 +01:00
Stefan Seyfried
9113716171 Merge remote-tracking branch 'uncool/cst-next' 2016-01-01 14:10:48 +01:00
Thilo Graf
648e01f401 CSignalBar: try to fix position and height of scale bars 2015-12-30 22:22:44 +01:00
Thilo Graf
4dfb2a75ae CSignalBar: unified reference percent text length 2015-12-30 17:31:42 +01:00
Thilo Graf
06686334bf signalbars: add missing parameters for signal type names 2015-12-30 16:56:45 +01:00
Thilo Graf
ad6940fd85 CCDraw: add parameter force_paint to member enableShadow()
TODO executed

Default behavior is not changed but parameter allows repaint shadow
in some constellations if required.
2015-12-30 13:09:36 +01: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
4bd3173d41 CComponentsWindow: add return value to addWindowCCItem(), fix footer color
- return value of addWindowCCItem() = current id of added body item
- assignment of footer color was missing
2015-12-28 18:13:21 +01:00
Thilo Graf
888c575ef4 CComponentsForm: add return value to addCCItem()
return value = current id of added item
2015-12-28 17:58:46 +01:00
Stefan Seyfried
3e37715c86 fix debug output printf type warnings 2015-12-28 16:23:26 +01:00
Stefan Seyfried
b837d8697b Merge remote-tracking branch 'uncool/cst-next' 2015-12-28 16:15:14 +01:00
Thilo Graf
6952d85ae9 CCDraw: add signals into paintFbItems() 2015-12-27 14:42:32 +01:00
Thilo Graf
6339ce481d CCDraw: try to separate parameter paint_bg from shadow paint 2015-12-27 14:42:31 +01:00
Thilo Graf
7659dd4642 CComponentsWindow: add member setWindowHeaderTextColor()
To modifiy header text color.
2015-12-27 14:42:30 +01:00
Thilo Graf
8e99559d90 CComponentsWindow: add method to set header color 2015-12-27 14:42:30 +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
Jacek Jendrzej
322b58a598 fix compil fix change 64 to 32 2015-12-27 13:58:32 +01:00
Jacek Jendrzej
ddb3c15d4b some gcc5 compil fixes 2015-12-26 17:03:42 +01:00
Stefan Seyfried
eeee5bacab Merge remote-tracking branch 'uncool/cst-next'
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
[CST] Focus
6ff50ec61b gui/components/cc_item_tvpic.cpp: show PiG in mode_ts, too 2015-11-06 17:23:10 +03:00
Thilo Graf
b47a0ccaeb CComponentsButton: simplify paint of button icon
Calculation of image aspect ratio now happens in picture object itself.
2015-07-17 15:35:47 +02:00
Thilo Graf
53a350d5af CComponentsPicture: fix and simplify image scale handling
Aspect ratio was not considered in some constallations, To see on button
icons and oversized custom channellogos in channllist.
Now this is handeled on init of image object and setters for width and height.
2015-07-17 15:35:18 +02:00
Thilo Graf
ccdaacb0a0 CComponentsText: add switch for utf8 disable/enable 2015-07-12 21:08:25 +02:00
Thilo Graf
5de4b48a00 CComponentsFooter: reduce scale factor without button background 2015-07-01 16:05:42 +02:00