Some braces were lost during the last merges.
Origin commit data
------------------
Commit: 7ac1550277
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Simple push_back() has no effect, buttons must be initialized and destroy
of cch_btn_obj is an easy way for clean up.
Origin commit data
------------------
Commit: 9150088088
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)
Inherited methodes like insertCCItem, removeCCItem ... don't work
nice, if cc-items are ititialized too late. If we init in constructors,
we can manipulate header items, otherwise not.
clearCCItems() is to find in the destructor, and should be called with
delete.
Handle with care!
Origin commit data
------------------
Commit: c039b4ae5c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)
insertCCItem() and removeCCItem() occured crashes, if no items was added.
Also added debug messages.
Origin commit data
------------------
Commit: 2e729ffdb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 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)
If is x or y position of embedded item out of allowed form dimension, then
set a new x or y value to item.
Added debug message should help to find issues.
Origin commit data
------------------
Commit: fb3646c9be
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-23 (Fri, 23 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)
Required in CCompmonentsText. Hide of textbox object is unnecessary in
CCompmonentsText objects.
Origin commit data
------------------
Commit: 4db5c450a4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 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)