Thilo Graf
c317e4dbb4
CCDraw: add comment
...
Add comment where to find corner radius defines
2016-08-12 17:39:18 +02:00
Thilo Graf
29d723a97b
CComponentsWindow: change order of items
...
Add header and footer items as first and body as last item.
Render of items occurs in listed order. So it's better for performance
while render of window.
This is something more advantageously because all other items are
contained inside body. So we avoid possible delay while rendering
of base items. It looks better on screen.
2016-06-26 15:32:36 +02:00
Thilo Graf
711cb98754
CComponentsItem: ensure display of frame as last layer
2016-06-26 15:32:36 +02:00
Thilo Graf
0a1d687b35
CComponentsWindow: try to fix reduce of item height on enabled frame
...
The lower part of the window frame was always painted over.
2016-06-26 15:32:35 +02:00
Thilo Graf
a2f96948fa
CCDraw: enable/disable frame if frame on changed frame width
2016-06-26 15:32:34 +02:00
Thilo Graf
775e5c73a4
CComponentsWindow: use only body as background
...
Should provide more performance
2016-06-26 15:32:34 +02:00
Thilo Graf
0f64aff1dc
CComponentsWindow: ensure default disable background paint on window
...
Only basic items should have enabled background paint as default.
Should be better for performance.
2016-06-26 15:32:33 +02:00
Thilo Graf
8d3f70b112
CComponentsFrmClock: disable non-essential debug output
...
It was just important to see how the texts are fitted inside
a parent element. It's just a debugging relic.
2016-06-26 15:32:33 +02:00
Thilo Graf
ff3f44d4d2
CSignalBar: use correct initial value
...
This should fix wrong values if signal = 0.
2016-06-02 20:34:51 +02:00
Thilo Graf
69ab25e111
CComponentsChannelLogo: rework logic of inital statement in setChannel()
...
This should fix missing logos on existant chnannellogo instances.
For example, this was to see if user has opened eventlist and
opens timerlist with button '0'. After closed timerlist logos were lost.
2016-06-02 16:48:35 +02:00
Jacek Jendrzej
9f20b27890
avoid division by zero and fix segfault
2016-05-23 14:17:25 +02:00
Thilo Graf
358b46cfa5
CSignalBar: remove dub init
2016-05-04 17:37:26 +02:00
Thilo Graf
e61a4e46c0
CSignalBar: unified var init inside constructors
2016-04-26 12:02:49 +02:00
Thilo Graf
4904279fd5
CComponentsTimer: rework timer class
2016-04-25 10:26:32 +02:00
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