Commit Graph

849 Commits

Author SHA1 Message Date
Jacek Jendrzej
0d9fbd5378 some never read compil warning fixes 2016-04-24 17:18:37 +02:00
Thilo Graf
8573db8019 CComponentsFrmClock: remove unused parameter,fix possible compiler warnings 2016-04-22 13:29:34 +02:00
Thilo Graf
71adac0a0b CComponentsFrmClock: remove unnecessary paint
Is already handled with OnTimer signal.
2016-04-20 22:49:52 +02:00
Thilo Graf
f4eb9e45ec ComponentsTimer: ensure slot connect/disconnect dependency from slot state 2016-04-18 17:58:02 +02:00
Thilo Graf
2b41e1c60f CComponentsFrmClock: ensure slot connect, if it is empty 2016-04-18 17:58:02 +02:00
Jacek Jendrzej
c521e67b10 src/gui/components/cc_signals.h fix typo 2016-04-16 20:37:50 +02:00
Jacek Jendrzej
1e38d90b23 src/gui/components/cc_item_progressbar.cpp fix possible memleak 2016-04-15 20:58:04 +02:00
Thilo Graf
74e08ddb50 CComponentsWindow: add member to set button font and use infobar font as default 2016-04-07 17:29:10 +02:00
Thilo Graf
3d3b724457 CComponentsInfoBox: use framed infobox as default 2016-04-07 17:27:31 +02:00
Thilo Graf
8250d20fa7 CCDraw: don't use clear screen for cleanup before gradient paint
Until now clean up screen was required to avoid ghost paints with
hardware acceleration. But this causes partial flicker effects,
especially when new instances are created.
So it makes more sense to hold instances and use captured
screen instead blank screen.
Optional paint cache or clean up must be enabled.
You can enable/disable clean up with:
enableGradientBgCleanUp()/disableGradientBgCleanUp()
Paint cache:
enablePaintCache()/disablePaintCache()
2016-03-22 13:15:18 +01:00
Thilo Graf
c07f999476 CComponentsScrollBar: fix missed navi arrows
Paths were broken
comes in with 10c430d40e
2016-03-17 10:49:35 +01:00
Thilo Graf
95e9ca5de8 CComponentsButton: get image path from framebuffer
Buttons didn't get icons from custom path e.g. /var/tuxbox/icons
This should fix this.
2016-03-17 10:30:47 +01:00
Thilo Graf
95885c4f6e CComponentsButton: use full height if no frame available 2016-03-17 09:14:50 +01:00
Thilo Graf
7197f51e89 CComponentsButton: fix button icon position on dynamic changed conditions
In some constellations it is possible, that costum icons with
other dimensions will be not correct positionized. This should
fix this issue.

This reverts partial commit 8e0d1c85f9.
2016-03-17 09:12:43 +01:00
Thilo Graf
8e0d1c85f9 CComponentsButton: increase default height of buttons 2016-02-29 10:38:55 +01:00
Thilo Graf
e45ea4abfb CComponentsText: add extended setColorAll() methode into text class
Doeas the same like setColorAll() of CCDraw but additional for text color
2016-02-26 14:58:41 +01:00
Thilo Graf
63533b6dbd CComponentsWindow: fix default header color 2016-02-26 14:57:05 +01:00
Thilo Graf
22371418d3 CComponentsDetailLine: add version of setDimensionsAll() for dline
Contains different parameters, required by dline
2016-02-24 15:11:28 +01:00
Thilo Graf
3b6e4bfcc0 CComponentsText: assign missing dim and pos values inside dimension- and position setters 2016-02-24 15:09:44 +01:00
Thilo Graf
5cfe504044 CComponentsText: assign current initialized position values to old var 2016-02-24 15:09:00 +01:00
Thilo Graf
8500648b7f CComponentsHeader: remove reassigned col_body vars 2016-02-17 11:42:29 +01:00
Thilo Graf
2baa32eb12 CCDraw: remove unused var 2016-02-17 11:35:44 +01:00
Jacek Jendrzej
10c430d40e cc_frm_scrollbar.cpp icon dont need full path 2016-02-16 16:15:28 +01:00
Thilo Graf
8be980b621 CComponentsPicture: allow image cache only for scaled images 2016-02-16 10:29:06 +01:00
Thilo Graf
96f9eaf287 CComponentsPicture: move resize to end of methode 2016-02-16 10:28:57 +01:00
Thilo Graf
1e646734f3 CComponentsPicture: use clearCache() in destructor for unified handling 2016-02-16 10:28:23 +01:00
Thilo Graf
7ed5b5b886 CComponentsPicture: add more comments an debug lines, remove useless init 2016-02-16 10:28:05 +01:00
Thilo Graf
93777853f0 CComponentsPicture: try to rework init behavior inside object
need_init var shoul help to avoid not required inits.
Size of cached image are packed into own vars, should avoid possible
overwriting with current dimensions.
2016-02-16 10:27:50 +01:00
Thilo Graf
82e2a168f1 CComponentsPicture: add some debug messages to track caching 2016-02-16 10:22:48 +01:00
Thilo Graf
9e4ad83305 CComponentsPicture: ensure cache cleanup on missing image while runtime 2016-02-16 10:22:33 +01:00
Thilo Graf
33089b9bc0 CProgressBar: ensure also repaint of progressbar if item is not painted 2016-02-16 09:39:05 +01:00
Thilo Graf
65fe634e85 CComponentsPicture: add member to get current image name 2016-02-16 09:39:04 +01:00
M. Liebmann
edb5407163 Fix freeze neutrino at mute icon and gradient header 2016-01-31 19:31:40 +01:00
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
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
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