Commit Graph

710 Commits

Author SHA1 Message Date
Thilo Graf
a6f28430c5 CComponentsFooter: reduced button height for better optical view into footer
Origin commit data
------------------
Commit: 779c51bd00
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
8b1bc5fb65 CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.


Origin commit data
------------------
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-10-24 10:31:25 +02:00
Thilo Graf
e58f8fafd5 shadow: paint shadow layer with multiple renderboxes
Should help to paint a clean shadow frame


Origin commit data
------------------
Commit: 307b2763bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)

Origin message was:
------------------
shadow: paint shadow layer with multiple renderboxes

Should help to paint a clean shadow frame
2016-10-24 10:31:24 +02:00
Thilo Graf
36d6eeea06 CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility


Origin commit data
------------------
Commit: be740c1552
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)
2016-10-24 10:31:24 +02:00
Thilo Graf
205838789f CCDraw: try to fix possible data race
Origin commit data
------------------
Commit: fc2eb68edc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-16 (Sat, 16 Apr 2016)
2016-10-24 10:31:24 +02:00
Thilo Graf
11b3307251 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details


Origin commit data
------------------
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)
2016-10-24 10:31:24 +02:00
vanhofen
4d9ddb50ec cc_item_infobox: user OFFSET defines; fix width of textbox
Origin commit data
------------------
Commit: e8e237df40
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)

Origin message was:
------------------
- cc_item_infobox: user OFFSET defines; fix width of textbox
2016-10-13 19:03:38 +02:00
Thilo Graf
acdad6e70f CComponentsText: add missing member to get current font
Origin commit data
------------------
Commit: 1e388d848c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
2016-10-13 09:39:35 +02:00
Thilo Graf
9c386ca59f CComponentsScrollBar: disable scrollbar color gradient
Was for testing only, now usual properties used.


Origin commit data
------------------
Commit: 422f5872e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
2016-10-12 10:08:18 +02:00
Thilo Graf
8313671ee3 CComponentsScrollBar: fix trasnparent background arrow icons
parameter was disabled


Origin commit data
------------------
Commit: 7b334f8883
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-12 (Wed, 12 Oct 2016)
2016-10-12 09:42:46 +02:00
vanhofen
892603fe68 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Commit: 104d21e784
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
vanhofen
61370ed6c7 cc_frm_button: use same framecolor as used in messagebox/msgbox
Origin commit data
------------------
Commit: 26e0926586
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- cc_frm_button: use same framecolor as used in messagebox/msgbox
2016-10-10 14:19:55 +02:00
vanhofen
5889f018c0 add and use OFFSET_INTER definition
Origin commit data
------------------
Commit: 98500fdeb6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- add and use OFFSET_INTER definition
2016-10-10 14:19:55 +02:00
vanhofen
f21851aec0 rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
64744ba140 colors: add COL_PROGRESSBAR wrapper
Origin commit data
------------------
Commit: be40e67b70
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_PROGRESSBAR wrapper
2016-10-10 14:19:55 +02:00
vanhofen
58b3052ab5 ccomponents: fix frame color
Origin commit data
------------------
Commit: 01f32241e4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- ccomponents: fix frame color
2016-10-10 14:19:55 +02:00
vanhofen
af3e39a47d colors: add COL_SCROLLBAR_PASSIVE wrapper
Origin commit data
------------------
Commit: 6629b64d6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
4b3b25ca7a colors: add COL_SCROLLBAR_ACTIVE wrapper
Origin commit data
------------------
Commit: 7e7d4e5fc1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
1aefa781c1 ccomponents: just code cosmetics; formatting
Origin commit data
------------------
Commit: e8c77b6b7f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- ccomponents: just code cosmetics; formatting
2016-10-10 14:19:54 +02:00
vanhofen
897dc6ae8c colors: add COL_FRAME wrapper
Origin commit data
------------------
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Thilo Graf
95ab3ea943 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.


Origin commit data
------------------
Commit: f90440e0f1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-07 14:25:59 +02:00
Thilo Graf
36247549fb 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.


Origin commit data
------------------
Commit: ac58c8c016
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 01:45:14 +02:00
Thilo Graf
93ca892022 CComponentsExtTextForm: add missed parameter font_text
Origin commit data
------------------
Commit: 80753c75d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 01:45:09 +02:00
Thilo Graf
43477d076a CComponentsItem: prevent reinit of already initialized parent form
Origin commit data
------------------
Commit: a4b2e25bf2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
2016-09-29 10:19:37 +02:00
Thilo Graf
c8f5eeea31 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.


Origin commit data
------------------
Commit: f68fd5ac19
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
2016-09-28 21:12:32 +02:00
vanhofen
7eb33a8bae Revert "CSignalBox: Set current tuner as the default frontend"
This reverts commit 128047f61f.

Conflicts:
	src/gui/components/cc_frm_signalbars.h


Origin commit data
------------------
Commit: 59ac9e57e1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
2016-09-28 21:12:32 +02:00
Thilo Graf
a1f3b5d041 CComponentsButton: use passed shadow parameter
Shadow was always enabled.


Origin commit data
------------------
Commit: 7c4e1c20b8
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
2016-09-24 01:09:46 +02:00
Thilo Graf
3f514865ac 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.


Origin commit data
------------------
Commit: b205b0c8d0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
2016-09-24 01:09:41 +02:00
Thilo Graf
e1c928520d 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.


Origin commit data
------------------
Commit: 3af698701b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
2016-09-24 01:08:08 +02:00
Thilo Graf
85a8f0e896 CCDraw: add member to get current shadow width
Origin commit data
------------------
Commit: 1caa54d6ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-06 (Tue, 06 Sep 2016)
2016-09-13 09:09:27 +02:00
Thilo Graf
84b40fcffb CComponentsFooter: rename var for btn icon
is more plausible


Origin commit data
------------------
Commit: 2de3a167e5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-13 (Tue, 13 Sep 2016)
2016-09-13 09:04:53 +02:00
vanhofen
e534457250 cc_detailsline: fix positions/dimensions of detailsline
Origin commit data
------------------
Commit: 9948649f55
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-12 (Mon, 12 Sep 2016)

Origin message was:
------------------
- cc_detailsline: fix positions/dimensions of detailsline
2016-09-12 12:10:19 +02:00
Thilo Graf
ab825c08da CComponentsHeader: don't use default parameters for privat member
Unified adaptation related to child class ComponentsFooter.
see: 5a24dc1ce5


Origin commit data
------------------
Commit: 731cb9c66d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-30 (Tue, 30 Aug 2016)
2016-08-30 11:19:48 +02:00
Thilo Graf
5a24dc1ce5 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.


Origin commit data
------------------
Commit: 9b9a8d1a78
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)
2016-08-23 16:00:48 +02:00
Thilo Graf
e371ec3383 CComponentsWindow: fix possible holes between frame and footer
One line was to much


Origin commit data
------------------
Commit: 90866b232a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-22 (Mon, 22 Aug 2016)
2016-08-22 21:17:02 +02:00
Thilo Graf
5e16a9f6b4 CComponentsButton: reduce shadow width
buttons are mostly small elements, so these elements should have a reasonable shadow width


Origin commit data
------------------
Commit: 2cf409bc27
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-22 21:16:54 +02:00
Thilo Graf
27f527bb45 CComponentsWindow: simplify statements
Origin commit data
------------------
Commit: ca5702acf4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-22 21:16:50 +02:00
Thilo Graf
cdd40d98b0 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.


Origin commit data
------------------
Commit: a92757697f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-08-22 21:15:28 +02:00
Jacek Jendrzej
46b77c77e6 src/gui/components/cc_frm_window.cpp dont paint over screen size
Origin commit data
------------------
Commit: 912017621b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-08-20 16:20:16 +02:00
vanhofen
9c8dabd7ba ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows
2016-08-16 08:37:54 +02:00
vanhofen
fc6d74af97 cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead
it's a small font too


Origin commit data
------------------
Commit: c35414bc56
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- 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
vanhofen
e49ee18fb3 fonts: add and use own font for all footers
Origin commit data
------------------
Commit: 54f2ac510f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- fonts: add and use own font for all footers
2016-08-15 19:02:42 +02:00
vanhofen
9820ecd29b cc_frm_button: respecting user colors in buttons
Origin commit data
------------------
Commit: 29c7d652ec
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- cc_frm_button: respecting user colors in buttons
2016-08-15 12:31:28 +02:00
vanhofen
70abfb3339 colors: make footer background color configurable
TODO: footer text color and maybe footer font


Origin commit data
------------------
Commit: cc5258e6d5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- colors: make footer background color configurable

TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
vanhofen
9196e2208c cc_frm_footer: overload font option with old familiar font
Origin commit data
------------------
Commit: 13966c519b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)

Origin message was:
------------------
- cc_frm_footer: overload font option with old familiar font
2016-08-14 22:17:59 +02:00
vanhofen
78230ead13 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


Origin commit data
------------------
Commit: bc39d1e14e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)

Origin message was:
------------------
- 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
vanhofen
e6f2a6080a cc_frm_button: don't use frames per default and align fontsize
to familiar size


Origin commit data
------------------
Commit: fa27f87bb1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)

Origin message was:
------------------
- 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
c203f9ab6b CCDraw: add comment
Add comment where to find corner radius defines


Origin commit data
------------------
Commit: c317e4dbb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-07-31 (Sun, 31 Jul 2016)
2016-08-12 17:39:18 +02:00
Thilo Graf
88622a07b4 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.


Origin commit data
------------------
Commit: 29d723a97b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-21 (Tue, 21 Jun 2016)

Origin message was:
------------------
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
b57cc261e0 CComponentsItem: ensure display of frame as last layer
Origin commit data
------------------
Commit: 711cb98754
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-05-16 (Mon, 16 May 2016)
2016-06-26 15:32:36 +02:00