Commit Graph

72 Commits

Author SHA1 Message Date
Thilo Graf
39f4d174a7 CComponentsButton: remove additonal y offset
Any other offset could have bad side effects for centered text,
it must be centered here. Other font sizes can make problems here.


Origin commit data
------------------
Commit: 75bf3aa276
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-03 (Sat, 03 May 2014)
2014-05-22 21:50:49 +02:00
Thilo Graf
c6af819f8a CComponentsButton: add class with const char* parameters for icon names
Origin commit data
------------------
Commit: 2c87bb750a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:47 +02:00
Thilo Graf
ff78f69368 CComponentsButton: ignonre objects if no inititalized
This makes it possible to use buttons with or without icons or text


Origin commit data
------------------
Commit: 95c7e44eb1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:46 +02:00
Thilo Graf
f2a19fbc2d CComponentsButton, CComponentsFooter: rework bestfit of buttons inside chain
Origin commit data
------------------
Commit: 9ffdb1cb98
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-22 21:50:45 +02:00
Thilo Graf
1482cebcc6 CComponentsButton: add possibility to change font type, whitespace fixes
Origin commit data
------------------
Commit: 419fc12f2e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)
2014-05-22 21:50:44 +02:00
Thilo Graf
bd223cb6c9 CComponentsButton: simplify handling of init of buttons with chain class
Origin commit data
------------------
Commit: 7b279ddd33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-22 21:50:43 +02:00
Thilo Graf
f33efdbdc4 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
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Michael Liebmann
8ef66ccda2 CComponentsButton: Incrase height for btn font
Origin commit data
------------------
Commit: c4bff391a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:46 +01:00
Thilo Graf
3c26fc3e4b CComponentsButton: reduce scope of variable face_x
The scope of the variable 'face_x' can be reduced. (style)


Origin commit data
------------------
Commit: 9ac35f0d92
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-24 (Tue, 24 Dec 2013)
2013-12-25 19:50:31 +01:00
[CST] Focus
b476a667c6 components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Thilo Graf
0fe6ad13d9 CComponentsButton: add members to get caption properties
Origin commit data
------------------
Commit: 812168416f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-09 (Sat, 09 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
775ca7962d CComponentsButton: involving of button text for dyn font evaluation
Origin commit data
------------------
Commit: a47091872b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-12 (Sat, 12 Oct 2013)
2013-10-16 11:54:06 +02:00
Thilo Graf
8d52697ff9 CComponentsButton: use dynamic fonts, remove old font handling
Origin commit data
------------------
Commit: c3a3eea0d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-10 (Tue, 10 Sep 2013)
2013-10-16 11:54:04 +02:00
Thilo Graf
3419e9f3cd CComponentsButton: remove function blocks from header
Origin commit data
------------------
Commit: 19fa5e6418
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-20 (Fri, 20 Sep 2013)
2013-09-20 08:33:06 +02:00
Thilo Graf
975673532a CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type


Origin commit data
------------------
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)
2013-09-19 08:24:40 +02:00
Thilo Graf
b637a1bb79 CComponentsButton: add localized button
So it's possible to use locales for button caption.


Origin commit data
------------------
Commit: be8e47fe3f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-09 (Mon, 09 Sep 2013)
2013-09-19 08:24:39 +02:00
Michael Liebmann
7b6498d39f 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
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:00:58 +02:00
Thilo Graf
2a050bd77c CComponentsButton: fix alignment of button items
Origin commit data
------------------
Commit: b18741efc7
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:07 +02:00
Thilo Graf
9cb86caf96 CComponentsButton: rework position handling for buttons and code comments
Origin commit data
------------------
Commit: 7d82da09ae
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-03 (Mon, 03 Jun 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
da9452cb46 CComponentsButton: use adequate arrangement for caption
Origin commit data
------------------
Commit: 85b1117f37
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)
2013-04-28 16:48:10 +02:00
Thilo Graf
5dab12e9e7 CComponentsHeader/Button: force paint of text
Origin commit data
------------------
Commit: 988d1f3ea8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)
2013-04-28 16:48:10 +02:00
Thilo Graf
32cb909a14 CComponents:add sub class CComponentsButton
Origin commit data
------------------
Commit: 04afa10e02
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-20 (Sat, 20 Apr 2013)
2013-04-20 12:53:25 +02:00