The combination of infobox handling and screen size management doesn't
really fit together. Particular it could be better implemented some
inheritance, because incorporated functions and variables are
redundant and so the classes can be better coordinated.
Moreover, it doesn't seem sensible to use only a part of the display.
The use of full screen instead of window could simplify a lot.
Origin commit data
------------------
Commit: 152d40c6cd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-25 (Mon, 25 Feb 2013)
Origin message was:
------------------
Bedit: adapt for infobox
The combination of infobox handling and screen size management doesn't
really fit together. Particular it could be better implemented some
inheritance, because incorporated functions and variables are
redundant and so the classes can be better coordinated.
Moreover, it doesn't seem sensible to use only a part of the display.
The use of full screen instead of window could simplify a lot.
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)
Current state of CChannelList is mostly not compatible with CC-classes and
implementations are to expensive at the moment, because more preparations are necessary.
Origin commit data
------------------
Commit: ce2e95cc5a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Origin message was:
------------------
CChannelList: revert of some implementations of CComponents classes
Current state of CChannelList is mostly not compatible with CC-classes and
implementations are to expensive at the moment, because more preparations are necessary.
- 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
var full_width was lost during merge, this fixes
header and details width
Origin commit data
------------------
Commit: ec0a91813a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-17 (Sun, 17 Feb 2013)
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)
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)