Commit Graph

59 Commits

Author SHA1 Message Date
Thilo Graf
9ffdb1cb98 CComponentsButton, CComponentsFooter: rework bestfit of buttons inside chain 2014-05-22 21:50:45 +02:00
Thilo Graf
41c01cedad CComponentsFooter: add possibility to change font type 2014-05-22 21:50:44 +02:00
Thilo Graf
8797872d47 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
2014-05-22 21:50:43 +02:00
Thilo Graf
6fe7b452c1 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.
2014-04-02 08:40:21 +02:00
Thilo Graf
23d7b62cf0 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.
2014-03-03 09:43:39 +01:00
Thilo Graf
7151608c8b CComponentsHeader/CComponentsFooter: move footer class into its own file 2014-02-05 11:56:46 +01:00
Thilo Graf
5ea7ec48df 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.
2014-01-24 23:09:56 +01:00
[CST] Focus
90c76a2985 components: remove initVarHeader calls in classes derived from CComponentsHeader 2013-11-29 17:27:10 +04:00
Thilo Graf
e665ab18ab CComponentsFooter: add new class CComponentsFooter 2013-06-03 22:06:03 +02:00