Commit Graph

44 Commits

Author SHA1 Message Date
Thilo Graf
09ffbdc2a9 CComponentsFooter: add member enableButtonShadow()
Possibility to pass button properties into button objects


Origin commit data
------------------
Branch: ni/coolstream
Commit: 363cf101d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:25 +02:00
Thilo Graf
59a4435bfb CComponentsFooter: reduced button height for better optical view into footer
Origin commit data
------------------
Branch: ni/coolstream
Commit: 779c51bd00
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-24 10:31:25 +02:00
Thilo Graf
cb82b046cb CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility


Origin commit data
------------------
Branch: ni/coolstream
Commit: be740c1552
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:24 +02:00
Thilo Graf
36d8d81fa6 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
------------------
Branch: ni/coolstream
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)



------------------
This commit was generated by Migit
2016-10-24 10:31:24 +02:00
vanhofen
bb756163b1 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-10 14:19:55 +02:00
vanhofen
5987637998 colors: add COL_FRAME wrapper
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-10 14:19:54 +02:00
Thilo Graf
bc56408083 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
------------------
Branch: ni/coolstream
Commit: 3af698701b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)



------------------
This commit was generated by Migit
2016-09-24 01:08:08 +02:00
Thilo Graf
84d2bac43e CComponentsFooter: rename var for btn icon
is more plausible


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2de3a167e5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-13 (Tue, 13 Sep 2016)



------------------
This commit was generated by Migit
2016-09-13 09:04:53 +02:00
Thilo Graf
c7fb4c5343 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
------------------
Branch: ni/coolstream
Commit: 9b9a8d1a78
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)



------------------
This commit was generated by Migit
2016-08-23 16:00:48 +02:00
Thilo Graf
a593f3eec3 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
------------------
Branch: ni/coolstream
Commit: a92757697f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)



------------------
This commit was generated by Migit
2016-08-22 21:15:28 +02:00
vanhofen
a8cec5244c fonts: add and use own font for all footers
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-08-15 19:02:42 +02:00
vanhofen
f167c6bc4c cc_frm_footer: overload font option with old familiar font
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-08-14 22:17:59 +02:00
vanhofen
1c1c5a05f3 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2016-08-14 21:55:18 +02:00
Thilo Graf
d93986f5bd CComponentsButton: use full height if no frame available
Origin commit data
------------------
Branch: ni/coolstream
Commit: 95885c4f6e
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-17 (Thu, 17 Mar 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-03-17 09:14:50 +01:00
Thilo Graf
9e3882b7bc 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
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


------------------
This commit was generated by Migit
2015-12-27 14:42:27 +01:00
Thilo Graf
09ed0e1b15 CComponentsFooter: reduce scale factor without button background
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5de4b48a00
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-01 (Wed, 01 Jul 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-07-01 16:05:42 +02:00
vanhofen
f9cf690f61 cc_frm_footer: prepare for c2c gradient
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5599784642
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)

Origin message was:
------------------
- cc_frm_footer: prepare for c2c gradient

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-05-04 09:41:41 +02:00
Thilo Graf
cefb8f9594 themes: use hintbox and header gradient option in theme settings
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 01516cf943
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)

Origin message was:
------------------
themes: use hintbox and header gradient option in theme settings

Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.


------------------
This commit was generated by Migit
2015-04-29 10:16:55 +02:00
Thilo Graf
4a621efb66 CComponentsFooter: Function setButtonLabels() change parameter
Performance: parameter 'v_content' should be passed by reference


Origin commit data
------------------
Branch: ni/coolstream
Commit: 56ea6c140f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-12 (Mon, 12 Jan 2015)



------------------
This commit was generated by Migit
2015-03-29 22:40:06 +02:00
Thilo Graf
8aa206ce00 CComponentsFooter: fix button view with gradient
show contour only in gradient mode


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0f8c1829d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-01 (Sat, 01 Nov 2014)



------------------
This commit was generated by Migit
2015-03-29 22:39:55 +02:00
Thilo Graf
3ebbf69413 CComponentsFooter: add optional possibility to switch colored button frame
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7ec096fa3d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-06 (Thu, 06 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-03-29 22:39:55 +02:00
Thilo Graf
449c610b35 CComponents: rename gradient variables
Use convention for cc classes.
paintGradient probaly too general and
is related to body, other fb types can be also handled with gradient.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 83070da483
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:07:55 +04:00
Thilo Graf
404c0e2b94 CComponents: move variable cc_gradientData, paintGradient into base class
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling


Origin commit data
------------------
Branch: ni/coolstream
Commit: 64c84fb490
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:07:45 +04:00
Thilo Graf
7ee49b7798 CComponentsFooter: expand button label structs
Allows assigning of result, msg and alias values with label struct.

NOTE: Old button label struct are compatible but limited only and
not recommended for usage!
Old parameters 'struct button_label' doesn't provide newer parameters.
Missing parameters are filled with default values and must be assigned
afterward, if required.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ae495716e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)



------------------
This commit was generated by Migit
2014-09-25 11:02:27 +04:00
Thilo Graf
057b7df199 CComponentsFooter: add members to set or get select a defined button
Origin commit data
------------------
Branch: ni/coolstream
Commit: cc5b17a620
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-25 11:01:49 +04:00
Thilo Graf
8df8457993 CComponentsFooter: add member to add button labels via vector
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9f902af587
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-19 (Tue, 19 Aug 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-25 11:01:39 +04:00
Thilo Graf
b6aca3fdb9 CComponentsFooter: use same corner properties like parent object
This avoids paint of unnecessary edges inside parent object.


Origin commit data
------------------
Branch: ni/coolstream
Commit: df4151936b
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-18 (Sun, 18 May 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:54 +02:00
Thilo Graf
091af659e0 CComponentsFooter: use dynamic font on too small footer width
If required width of evaluated buttons larger than footer width,
then use dynamic font for caption, and try to fit buttons into chain
container. Dynamic font is used if ccf_btn_font==NULL

NOTE: user should not use too small window size and not select too large
fontsize. At some point this possibility will be depleted and it's no
more space for readable caption.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6aecdf3b5a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-17 (Sat, 17 May 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:54 +02:00
Thilo Graf
0c91c4b0dc CComponentsFooter: ignore item, if no text and icon are defined
Empty buttons with defined width are causing gaps...looks not nice!


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9937c0fae8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:52 +02:00
Thilo Graf
40c61134b3 CComponentsFooter: add member paintButtons()
This is a nearly methode similar with the older button handler find
in gui/widget/buttons.h, some parameters are different,
but require minimalized input.
This member sets some basic parameters and will paint
concurrently on execute, explicit call of paint() is not required.
This should simplify the implementation of the footer class.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 18f13b0062
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:52 +02:00
Thilo Graf
295f39a420 CComponentsFooter: simplified dimensions init for default height
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a3101728a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:50 +02:00
Thilo Graf
7faf6fa2b3 CComponentsFooter: set color of button frames to button type, default=gray
Origin commit data
------------------
Branch: ni/coolstream
Commit: 995eff8ffe
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:48 +02:00
Thilo Graf
12e0a4b02e CComponentsFooter: apply showButtonContour() after init of labels
Function was without effect after adding of button objects,
showButtonContour() now changes property explicit for all items, also
after their addition to chain.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f7860fed35
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:47 +02:00
Thilo Graf
113c07a27a CComponentsFooter: use chain object in global scope of class
Origin commit data
------------------
Branch: ni/coolstream
Commit: bd03327cb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:47 +02:00
Thilo Graf
f4fed85aa4 CComponentsFooter: fix missing types for log output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 14ea1de789
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:47 +02:00
Thilo Graf
ea451154d7 CComponentsButton, CComponentsFooter: rework bestfit of buttons inside chain
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9ffdb1cb98
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:45 +02:00
Thilo Graf
75927ba409 CComponentsFooter: add possibility to change font type
Origin commit data
------------------
Branch: ni/coolstream
Commit: 41c01cedad
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:44 +02:00
Thilo Graf
570bc0cfe8 CComponentsFooter: add functionality to add button labels via struct
This function uses struct label like old button label function
see /gui/widget/buttons.cpp, but can also use strings in structs

also possible: add single button with text or locale


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8797872d47
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)



------------------
This commit was generated by Migit
2014-05-22 21:50:43 +02:00
Thilo Graf
06a7414a31 CComponentsHeader: rework context button handling
CComponentsHeader uses now CComponentsIconForm, which is now derived
from CComponentsFrmChain. Some methods should be now simplified and
allow to handle some modifications easier.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6fe7b452c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-22 (Sat, 22 Mar 2014)



------------------
This commit was generated by Migit
2014-04-02 08:40:21 +02:00
Thilo Graf
7c70aaa6df CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
Thilo Graf
f83e723ca4 CComponentsHeader/CComponentsFooter: move footer class into its own file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7151608c8b
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-28 (Tue, 28 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-05 11:56:46 +01:00
Thilo Graf
9585b49365 CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ea7ec48df
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
CComponentsHeader: rework constructors, add CComponentsHeaderLocalized

Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.


------------------
This commit was generated by Migit
2014-01-24 23:09:56 +01:00
[CST] Focus
4d6562d45e components: remove initVarHeader calls in classes derived from CComponentsHeader
Origin commit data
------------------
Branch: ni/coolstream
Commit: 90c76a2985
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)

Origin message was:
------------------
components: remove initVarHeader calls in classes derived from CComponentsHeader

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
Thilo Graf
7baf84b879 CComponentsFooter: add new class CComponentsFooter
Origin commit data
------------------
Branch: ni/coolstream
Commit: e665ab18ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-29 (Wed, 29 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-06-03 22:06:03 +02:00