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
------------------
Commit: 6aecdf3b5a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-17 (Sat, 17 May 2014)
COL_LIGHT_GRAY is too garish related to background
Origin commit data
------------------
Commit: a0492bc530
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-16 (Fri, 16 May 2014)
Value of is_painted is modified temporarily till next paint
of item
Not sure whether this is sufficiently or has bad side effects?
Origin commit data
------------------
Commit: b6c781f7e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
Empty buttons with defined width are causing gaps...looks not nice!
Origin commit data
------------------
Commit: 9937c0fae8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
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
------------------
Commit: 18f13b0062
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
Some icons can be too large for defined button height, so it's required to
scale icons. Scaling happens inside cc_btn_icon_obj during its init.
Origin commit data
------------------
Commit: 9d014d2039
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-03 (Sat, 03 May 2014)
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)
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
------------------
Commit: f7860fed35
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)
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)
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
------------------
Commit: 8797872d47
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
Position related to parent container was wrong. Some variables were
unused and removed.
Origin commit data
------------------
Commit: f4447b38e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)
Value 0 can not be used without problems here, because explicit values
are required since a9a6a925240675c44243754e82dbee79f2d84698
Origin commit data
------------------
Commit: b038d1b6c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
kill() allows now paint with defined colors over rendered objects
without restore of background. It's similar to paintBackgroundBoxRel()
known from CFrameBuffer, but with possiblity to define color,
default color is 0 like before (empty background).
Items with parent bindings use the background color of its parent
as default, but can also be ignored.
This function can be useful before repaint of items and/or,
if required, to have a clean background inside item containers.
Origin commit data
------------------
Commit: 6a2e701a7a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-05 (Mon, 05 May 2014)