Commit Graph

48 Commits

Author SHA1 Message Date
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
42d3337a05 CComponentsPicture: simplify item init, adapt getHeight/getWidth members
Members getHeight/getWidth returns now image related values dependent of
scale mode


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8227638c06
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-12 (Sun, 12 Oct 2014)



------------------
This commit was generated by Migit
2015-03-29 22:39:53 +02:00
[CST] Focus
db1a2f2749 gui/components/cc_frm_header.cpp: set CTextBox save screen flag
Origin commit data
------------------
Branch: ni/coolstream
Commit: 16a1927f4f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)


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

------------------
This commit was generated by Migit
2015-03-06 14:14:00 +03:00
Thilo Graf
3385c662f3 CComponents: add setColBodyGradient() to set gradient properties
This provides possibility to set relevant gradiant properties in cc sub classes


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



------------------
This commit was generated by Migit
2014-09-25 11:08:08 +04:00
Thilo Graf
9e173b0c7e CComponentsItem: move initBodyGradient() into base class
This provides functinality for all sub classes too


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



------------------
This commit was generated by Migit
2014-09-25 11:08:04 +04:00
Thilo Graf
6f9ffe7aeb CComponentsText: move setTextRenderModeFullBG() to text object
This is mostly required here


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



------------------
This commit was generated by Migit
2014-09-25 11:08:00 +04: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
Michael Liebmann
fdbad36872 CComponentsHeader: Use Font::FULLBG for rendering string...
...when text is painted on a color gradient


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8762d4b871
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:07:37 +04:00
Michael Liebmann
222bea4e5a CComponentsHeader: Use color gradient for paint header
Conflicts:
	src/gui/widget/menue.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: bfc1c04d83
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:07:12 +04:00
Thilo Graf
f2da159bdf CComponentsPicture: structure of class highly simplified
It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5eb63b9515
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-20 (Fri, 20 Jun 2014)

Origin message was:
------------------
CComponentsPicture: structure of class highly simplified

It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
9fd307969f CComponentsHeader: add icons to button collection for use in headers or footers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9955fa9203
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-24 (Thu, 24 Apr 2014)


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

------------------
This commit was generated by Migit
2014-05-22 21:50:42 +02:00
Thilo Graf
80853dce36 CComponentsHeader: add missing init of icon
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1c39d08c60
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-24 (Thu, 24 Apr 2014)


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

------------------
This commit was generated by Migit
2014-05-22 21:50:42 +02:00
Thilo Graf
a1c1463e44 CComponentsHeader: remove superfluous semicolon
Origin commit data
------------------
Branch: ni/coolstream
Commit: e06d835396
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)


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

------------------
This commit was generated by Migit
2014-05-22 20:38:22 +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
ebd0111d37 CComponents: use neutrino debug mode for debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 750691fbbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-08 (Sat, 08 Mar 2014)


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

------------------
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
4b79914d57 CComponentsHeader: cleanup
-remove variable userHeight, is not used
-change name of parameter in member initCaptionFont(), "font_name" is not a
 suitable name for a type object.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1838a71c20
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-24 (Fri, 24 Jan 2014)



------------------
This commit was generated by Migit
2014-01-24 23:38:25 +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
Thilo Graf
aa65694193 CComponents: split some header files
Should bring more overview and less susceptibility to conflicts (merge etc)

License texts updated.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04574fc6eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)



------------------
This commit was generated by Migit
2014-01-06 22:27:59 +01:00
Stefan Seyfried
4908089769 CComponents: fix compiler warnings with DEBUG_CC
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9eddaedfdd
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)


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

------------------
This commit was generated by Migit
2013-12-18 21:10:17 +01:00
Thilo Graf
66242f7641 CComponents: replace __FUNCTION__ with __func__
__func__ is more suitable for portability


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
2013-12-18 15:13:19 +01:00
Michael Liebmann
2bead29a0a CComponentsHeader: Fix positioning of items
Origin commit data
------------------
Branch: ni/coolstream
Commit: b41e444887
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-13 (Fri, 13 Dec 2013)


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

------------------
This commit was generated by Migit
2013-12-13 22:33:21 +01:00
Michael Liebmann
7703fd2a30 CComponentsHeader: Fix height calculation
Origin commit data
------------------
Branch: ni/coolstream
Commit: c2c5b931cd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)


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

------------------
This commit was generated by Migit
2013-12-11 15:55:14 +01:00
Thilo Graf
87998ee737 CComponentsHeader: use also lower height if size mode==CC_HEADER_SIZE_SMALL
Origin commit data
------------------
Branch: ni/coolstream
Commit: 63392accda
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-04 (Wed, 04 Dec 2013)


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

------------------
This commit was generated by Migit
2013-12-10 09:30:53 +01:00
Thilo Graf
f8a4007a23 CComponentsForm/CComponentsHeader: use start pos x=1 instead 0
0 could make problems on fit items into container


Origin commit data
------------------
Branch: ni/coolstream
Commit: ad80daea96
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-04 (Wed, 04 Dec 2013)



------------------
This commit was generated by Migit
2013-12-10 09:30:52 +01:00
[CST] Focus
94a9bb4141 components: cleanup destructors - remove calls to functions,
already called inside base classes destructors


Origin commit data
------------------
Branch: ni/coolstream
Commit: dd7c7fc7ae
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)



------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
[CST] Focus
5d06d7384f components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Branch: ni/coolstream
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)


------------------
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
9f144909f3 CComponentsHeader: add possibility to modify text alignment
usable in header and its derived classes and in class CComponentsWindow


Origin commit data
------------------
Branch: ni/coolstream
Commit: 64c6eb5945
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-23 (Wed, 23 Oct 2013)



------------------
This commit was generated by Migit
2013-10-24 21:19:07 +02:00
Thilo Graf
6eb5133fa5 CComponentsHeader: use isAdded() to avoid add multiple items
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad102b69fd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-22 (Tue, 22 Oct 2013)


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

------------------
This commit was generated by Migit
2013-10-24 21:19:06 +02:00
Thilo Graf
6d90cc0a5c CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type


Origin commit data
------------------
Branch: ni/coolstream
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)



------------------
This commit was generated by Migit
2013-09-19 08:24:40 +02:00
Thilo Graf
c5b9563d60 CComponentsHeader: add member that allows switching to small size
Origin commit data
------------------
Branch: ni/coolstream
Commit: 78cdee08a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-08 (Sun, 08 Sep 2013)


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

------------------
This commit was generated by Migit
2013-09-19 08:24:39 +02:00
Michael Liebmann
221b6ee8b4 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Branch: ni/coolstream
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:00:58 +02:00
vanhofen
c77c9b716b cc_frm_header: rework positions/dimensions calculations
Origin commit data
------------------
Branch: ni/coolstream
Commit: b318c15895
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-30 (Thu, 30 May 2013)

Origin message was:
------------------
- cc_frm_header: rework positions/dimensions calculations

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

------------------
This commit was generated by Migit
2013-05-30 21:51:12 +02:00
vanhofen
fd57b25b4d CComponentsHeader: add possibility to change font in header class
Origin commit data
------------------
Branch: ni/coolstream
Commit: 890d282315
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-28 (Tue, 28 May 2013)

Origin message was:
------------------
- CComponentsHeader: add possibility to change font in header class

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

------------------
This commit was generated by Migit
2013-05-28 10:24:23 +02:00
Thilo Graf
e7da096348 CComponentsHeader: rename some members for plausible usage in subclasses
Some members are usable in subclasses, but current names could be not
suitable or not plausible with respect to the name of subclass.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8e46f63900
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-27 (Mon, 27 May 2013)

Origin message was:
------------------
CComponentsHeader: rename some members for plausible usage in subclasses

Some members are usable in subclasses, but current names could be not
suitable or not plausible with respect to the name of subclass.


------------------
This commit was generated by Migit
2013-05-27 11:58:05 +02:00
vanhofen
504dc54e1f cc_frm_header: improve "fix neutrino locales in CComponentsHeader"
* supplement to 9790718


Origin commit data
------------------
Branch: ni/coolstream
Commit: 784d8d3de2
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-26 (Sun, 26 May 2013)

Origin message was:
------------------
- cc_frm_header: improve "fix neutrino locales in CComponentsHeader"

* supplement to 9790718


------------------
This commit was generated by Migit
2013-05-26 23:27:23 +02:00
vanhofen
9790718094 cc_frm_header: fix neutrino locales in CComponentsHeader
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4cc9e7691a
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-26 (Sun, 26 May 2013)

Origin message was:
------------------
- cc_frm_header: fix neutrino locales in CComponentsHeader

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

------------------
This commit was generated by Migit
2013-05-26 22:49:46 +02:00
Thilo Graf
b17e7994c5 CComponentsHeader/Button: force paint of text
Origin commit data
------------------
Branch: ni/coolstream
Commit: 988d1f3ea8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-28 16:48:10 +02:00
Thilo Graf
3ef246a468 CComponentsForm: add own header for form classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 39a4e3400e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-15 (Mon, 15 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-16 08:26:56 +02:00
Thilo Graf
46af4825e3 CComponentsWindow/Header: fix add of header buttons
setHeaderButtons was without effect


Origin commit data
------------------
Branch: ni/coolstream
Commit: cc31a41f43
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)



------------------
This commit was generated by Migit
2013-03-24 21:14:10 +01:00
Thilo Graf
6d6cf7e177 fix license text, sorry, was a c&p error
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-21 11:37:00 +01:00
Thilo Graf
ddba104c01 CComponentsHeader: remove unused lines
Origin commit data
------------------
Branch: ni/coolstream
Commit: 824bc8913e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-18 12:04:54 +01:00
Thilo Graf
913634e7f2 CComponentsHeader/Window: add possibility to return header height
Origin commit data
------------------
Branch: ni/coolstream
Commit: ca42d9ba74
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-15 (Fri, 15 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-18 12:04:47 +01:00
Thilo Graf
bdf19bb55e CComponentsHeader: init text always before paint header
Origin commit data
------------------
Branch: ni/coolstream
Commit: 544e3bb8ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-18 12:04:29 +01:00
Thilo Graf
f918ed8e2a CComponentsForm/Header/Icons/Window: try to fix multiple inits and paints
Some items had multiple inits and some calls of clearCCItems()
have caused segfaults, hope this fix this.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a931af6ef
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-13 (Wed, 13 Mar 2013)



------------------
This commit was generated by Migit
2013-03-18 12:04:25 +01:00
Thilo Graf
bfda4b1d37 CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.


Origin commit data
------------------
Branch: ni/coolstream
Commit: da356d94da
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-10 (Sun, 10 Mar 2013)



------------------
This commit was generated by Migit
2013-03-18 12:04:21 +01:00
Thilo Graf
5e27da7def CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)



------------------
This commit was generated by Migit
2013-03-06 11:28:18 +01:00