svenhoefer
e8c77b6b7f
- ccomponents: just code cosmetics; formatting
2016-10-10 14:19:54 +02:00
svenhoefer
75fe6e407d
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Thilo Graf
f90440e0f1
CComponentsWindow: remove wrong corner assignment
...
Overwrites corner mode for already assigned corner type for body object and
previous statement is canceled. This should avoid this.
2016-10-07 14:25:59 +02:00
Thilo Graf
ac58c8c016
CComponentsExtTextForm: add methode to get current font
...
Default font is generated by class it self, so it is useful
to have access to current font if is required by implemenations.
2016-10-03 01:45:14 +02:00
Thilo Graf
80753c75d1
CComponentsExtTextForm: add missed parameter font_text
2016-10-03 01:45:09 +02:00
Thilo Graf
a4b2e25bf2
CComponentsItem: prevent reinit of already initialized parent form
2016-09-29 10:19:37 +02:00
Thilo Graf
f68fd5ac19
CSignalBox: add missing member to set frontend
...
Remove double init of sig items; Will be done already by paintScale().
Ensure reset of last sig value on fe change.
Prevent possible segfault if fe is not defined.
2016-09-28 21:12:32 +02:00
svenhoefer
59ac9e57e1
Revert "CSignalBox: Set current tuner as the default frontend"
...
This reverts commit c83f195637
.
Conflicts:
src/gui/components/cc_frm_signalbars.h
2016-09-28 21:12:32 +02:00
Thilo Graf
7c4e1c20b8
CComponentsButton: use passed shadow parameter
...
Shadow was always enabled.
2016-09-24 01:09:46 +02:00
Thilo Graf
b205b0c8d0
CComponentsHeader: ensure clean object on reinit
...
Items were destroyed with simple call of delete
but not removed from item collection.
removeCCItem() does this and destroys item objects too.
2016-09-24 01:09:41 +02:00
Thilo Graf
3af698701b
CComponentsFooter: remove defined font from footer
...
cch_font has nothing to do with button font and is already
inherited and defined from header class and can be redefined with
setCaptionFont() methode if required.
2016-09-24 01:08:08 +02:00
Thilo Graf
1caa54d6ab
CCDraw: add member to get current shadow width
2016-09-13 09:09:27 +02:00
Thilo Graf
2de3a167e5
CComponentsFooter: rename var for btn icon
...
is more plausible
2016-09-13 09:04:53 +02:00
svenhoefer
9948649f55
- cc_detailsline: fix positions/dimensions of detailsline
2016-09-12 12:10:19 +02:00
Thilo Graf
731cb9c66d
CComponentsHeader: don't use default parameters for privat member
...
Unified adaptation related to child class ComponentsFooter.
see: 9b9a8d1a78
2016-08-30 11:19:48 +02:00
Thilo Graf
9b9a8d1a78
CComponentsFooter: don't use default parameters for privat member
...
Passed init values are better to see here.
This should fix wrong footer color too. See UPNP-Browser, color was not
applied here.
2016-08-23 16:00:48 +02:00
Thilo Graf
90866b232a
CComponentsWindow: fix possible holes between frame and footer
...
One line was to much
2016-08-22 21:17:02 +02:00
Thilo Graf
2cf409bc27
CComponentsButton: reduce shadow width
...
buttons are mostly small elements, so these elements should have a reasonable shadow width
2016-08-22 21:16:54 +02:00
Thilo Graf
ca5702acf4
CComponentsWindow: simplify statements
2016-08-22 21:16:50 +02:00
Thilo Graf
a92757697f
CComponentsFooter: use background color of footer inside chain object
...
Ensure pass of bg color from parent into chain object and button objects.
Required by embedded button objects. This prevents "holes" on screen.
2016-08-22 21:15:28 +02:00
Jacek Jendrzej
912017621b
src/gui/components/cc_frm_window.cpp dont paint over screen size
2016-08-20 16:20:16 +02:00
svenhoefer
1f60557e0b
- ccomponents: use COL_SHADOW for shadows
2016-08-16 08:37:54 +02:00
svenhoefer
c35414bc56
- cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead
...
it's a small font too
2016-08-15 19:32:46 +02:00
svenhoefer
54f2ac510f
- fonts: add and use own font for all footers
2016-08-15 19:02:42 +02:00
svenhoefer
29c7d652ec
- cc_frm_button: respecting user colors in buttons
2016-08-15 12:31:28 +02:00
svenhoefer
cc5258e6d5
- colors: make footer background color configurable
...
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
svenhoefer
13966c519b
- cc_frm_footer: overload font option with old familiar font
2016-08-14 22:17:59 +02:00
svenhoefer
bc39d1e14e
- colors: some internal renamings
...
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name
This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
svenhoefer
fa27f87bb1
- cc_frm_button: don't use frames per default and align fontsize
...
to familiar size
2016-08-14 20:56:41 +02:00
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