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
------------------
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)
Included header files don't fit after move of components.
Origin commit data
------------------
Commit: 44346c6417
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-20 (Wed, 20 Feb 2013)
- add var for object index
can be usefull for identifications of objects for focus operations soon
- add default value for screen size (30%) to CComponentsPIP constructor
most size we mostly use is 30% of size
- add setters for screen_w and screen_h
also this can be usefull t adapt screen sizes e.g. during
runtime operations
Origin commit data
------------------
Commit: 399eb696d6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-17 (Sun, 17 Feb 2013)
Origin message was:
------------------
CComponents: add some new variables and parameters and modifie debug output
- add var for object index
can be usefull for identifications of objects for focus operations soon
- add default value for screen size (30%) to CComponentsPIP constructor
most size we mostly use is 30% of size
- add setters for screen_w and screen_h
also this can be usefull t adapt screen sizes e.g. during
runtime operations
Small helper for detection of item types.
This could be useful, if it is necessary, to track these at runtime or
debugging, because it's not really detectable, which items just be used.
e.g forms could contain very much items, but many of these items
are inherited from CComponentsItem and an assignment to a certain subclass.
Origin commit data
------------------
Commit: 6175fd989d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-12-04 (Tue, 04 Dec 2012)
This moves caclulation from initCCHeaderButtons() to its own
member.
Origin commit data
------------------
Commit: 41165d7cb2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-24 (Sat, 24 Nov 2012)
Use addHeaderButton() to add any button icon ont header form.
The buttons have a right alignment, this means, the first button
is on the right boarder of header.
For existing instances it's recommended to remove old button icons
before add new buttons, otherwise icons will be append.
See also sample code in CTestMenu.
Origin commit data
------------------
Commit: b330d78ff2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-18 (Sun, 18 Nov 2012)
Collects only icons.You can add icons step by step or
with a vector and paint the form at once.
Width and height are dynamic calculated if parameters
width or height are smaller then summary of lenght of all added icons.
It's also possible to manipulate the icon array with members:
- insertIcon()
- removeIcon()
- removeAllIcons()
TODO: support for resizable images
Origin commit data
------------------
Commit: 84fe7cf134
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-12 (Mon, 12 Nov 2012)
Not shure if pic_max_h/w could still make problems in while usage
of CComponentsPicture, we will see...
Origin commit data
------------------
Commit: a5adaf854a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)
Bequeath of destructor from CComponentsForm into CCcomponentsHeader.
clearCCItems() does already manage deallocations for cc-items,
so some 'delete" calls are unnecessary.
There was also the danger to overfill the cc-item vector with new added
objects, if it is not have been cleaned previously in existing instances.
Origin commit data
------------------
Commit: 1934ceef69
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)
This should replace CComponentsTitleBar comming soon.
TODO:
- add additional icons,
- fix frame painting with other corner types , but this is an issue in
CFramebuffer. paintBoxFrame provides parameters for corner radius,
but no corner types.
Origin commit data
------------------
Commit: d14b9903f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-04 (Sun, 04 Nov 2012)
Origin message was:
------------------
CComponents: add new sub class CComponentsHeader()
This should replace CComponentsTitleBar comming soon.
TODO:
- add additional icons,
- fix frame painting with other corner types , but this is an issue in
CFramebuffer. paintBoxFrame provides parameters for corner radius,
but no corner types.
Members of CComponentsForm will be used in sub classes.
Origin commit data
------------------
Commit: 9601760137
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)
Create forms with default constructor and now you can add
cc-items into form with new member addCCItem().
The x/y values are valid to inside of form dimensions itself not inside of screen.
Addable cc-items are all CComponentItem objects and their inheritances
including CComponentsForm itself. So are even nestings possible.
Some changes on other cc-item classes were necessary.
For example, CComponentsPicture or CComponentsText and it's still
much to do.
Origin commit data
------------------
Commit: cda02273ea
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-01 (Thu, 01 Nov 2012)
This should be a stable state for painting info boxes in gui parts.
This fix also an automaticaly correction of font size changes while
runtime.
Origin commit data
------------------
Commit: ce00b0b4a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-27 (Sat, 27 Oct 2012)
paint () ist in CComponentsItem abstrakt, muss definiert werden
seine eigene in Unterklassen.
Origin commit data
------------------
Commit: e37b5d86f4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)
CComponentsItem is shorter then CComponentsContainer, but also
plausible and appropriately.
paint() is required in all sub classes and useful for coming functions.
Origin commit data
------------------
Commit: e1c9749730
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-21 (Sun, 21 Oct 2012)
changed isPainted() to isPicPainted(), return of isPicPainted() value was
not marked-down to false and isPainted() means the container frame and
isPicPainted() means the picture itself, so the last state was wrong. Now
it should work fine.
Btw: scope of x_text reduced, is only required in member paintText()
Origin commit data
------------------
Commit: 28904b79c7
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-25 (Tue, 25 Sep 2012)
AUTO_WIDTH has ugly sideeffects in context with max width
Origin commit data
------------------
Commit: fcf8a018c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)
Use consistently vector v_fbdata, so we don't need all parameters in
paintFbItems()
Origin commit data
------------------
Commit: cb8ac750a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-12 (Wed, 12 Sep 2012)
Now it's possible to paint forms with defined caption and icon
Origin commit data
------------------
Commit: bc764b4653
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)