Commit Graph

3813 Commits

Author SHA1 Message Date
Thilo Graf
f75b2b68af CComponentsHeader: fix button display
Calculation of button offset was broken.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4fb3cde45f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-24 (Sat, 24 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:13 +01:00
Thilo Graf
2af76c88a3 CComponentsForm: do not paint out of form
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
------------------
Branch: ni/coolstream
Commit: fb3646c9be
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-23 (Fri, 23 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:13 +01:00
Thilo Graf
eba57997fb CComponentsHeader: add parameter buttons onto constructors
This adds default buttons to header


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3644abec66
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-21 (Wed, 21 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:13 +01:00
Thilo Graf
6835dc611c CComponentsHeader: move init members into its own member
Origin commit data
------------------
Branch: ni/coolstream
Commit: 562b091e66
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-19 (Mon, 19 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:12 +01:00
Thilo Graf
a7ba423845 CComponentsForm: add virtual members to manipulate ccitems
Origin commit data
------------------
Branch: ni/coolstream
Commit: 949867e4ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-19 (Mon, 19 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:12 +01:00
Thilo Graf
9908a6f233 CComponentsHeader: add header buttons to header form
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
------------------
Branch: ni/coolstream
Commit: b330d78ff2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-18 (Sun, 18 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:12 +01:00
Thilo Graf
f4f1b65886 CTestMenu: add sample code for class CComponentsIconForm
Origin commit data
------------------
Branch: ni/coolstream
Commit: b251e2a001
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-12 (Mon, 12 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:12 +01:00
Thilo Graf
b7d160cad3 CComponents: add sub class CComponentsIconForm based upon CComponentsForm
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
------------------
Branch: ni/coolstream
Commit: 84fe7cf134
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-12 (Mon, 12 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:12 +01:00
Thilo Graf
e445d158fb CComponentsHeader: add private member variable cch_text_x
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee87b95ec
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
fb9080b019 CComponentsForm: remove constructor
Call of overloaded 'CComponentsForm(int, int, int, int)' is ambiguous.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0dbddbc483
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
0640b4d592 CComponentsForm: paintCCItems() is needed as public member
Origin commit data
------------------
Branch: ni/coolstream
Commit: dd91340a37
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
b97881b150 CComponentsPicture: rework parameter handling
Not shure if pic_max_h/w could still make problems in while usage
of CComponentsPicture, we will see...


Origin commit data
------------------
Branch: ni/coolstream
Commit: a5adaf854a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
b1a92d1e8c CComponentsHeader: init code for icon and text outsource
slim down of paint()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8061b2938f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
d29a53df43 CComponentsHeader: use height of header as default height for icon space
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6bdd8cd771
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:11 +01:00
Thilo Graf
1401c480f6 CTextBox: don't hide if m_nPaintBackground is set to false
Required in CCompmonentsText. Hide of textbox object is unnecessary in
CCompmonentsText objects.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4db5c450a4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:10 +01:00
Thilo Graf
4ee32b90c1 CComponents: add option paint_bg and apply in CComponentsHeader
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75fbc08269
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:10 +01:00
Thilo Graf
a87c5c55f7 CComponents: init ccitem vars in initVarBasic()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4450984597
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:10 +01:00
Thilo Graf
849c0ae13e CCompnents: rename hideContainer into hideCCItem()
Origin commit data
------------------
Branch: ni/coolstream
Commit: d538e807d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:10 +01:00
Thilo Graf
916fae83a8 CComponentsHeader: optimize allocations an deallocations for cc-items
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
------------------
Branch: ni/coolstream
Commit: 1934ceef69
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:10 +01:00
Thilo Graf
ccbfa90c05 CTextMenu: add sample code for CComponentsHeader
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4c4a33477
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-04 (Sun, 04 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
dd19f97b42 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.


Origin commit data
------------------
Branch: ni/coolstream
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.


------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
ab6f2eea7d CComponentsForm: members become virtual
Members of CComponentsForm will be used in sub classes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9601760137
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
dcebf01ecb CComponents: add define DEBUG_CC and some debug statements
Origin commit data
------------------
Branch: ni/coolstream
Commit: d84c968157
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
8e2d11e775 CTestMenu: add more sample codes for cc-items
Origin commit data
------------------
Branch: ni/coolstream
Commit: 023fe54841
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
c81618b912 CComponents: add automaticaly cut of items with too large dimensions
Origin commit data
------------------
Branch: ni/coolstream
Commit: a4cf4800f2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-02 (Fri, 02 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:09 +01:00
Thilo Graf
57036a1949 CComponentsForm: using better variable names in paintCCItems()
Origin commit data
------------------
Branch: ni/coolstream
Commit: de0dd61812
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-01 (Thu, 01 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:08 +01:00
Thilo Graf
6d9359fd3d CTestMenu: add sample code for CComponentsForm
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1cbe655513
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-01 (Thu, 01 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:08 +01:00
Thilo Graf
658bf4cdda CComponents: add new methodes to create forms
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
------------------
Branch: ni/coolstream
Commit: cda02273ea
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-01 (Thu, 01 Nov 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:08 +01:00
Thilo Graf
8df1cac838 CTestMenu: add tests for CComponentsText
Origin commit data
------------------
Branch: ni/coolstream
Commit: 98b1e38dfa
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-27 (Sat, 27 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:08 +01:00
Thilo Graf
4804b70573 CComponentsInfoBox: paint text with innstance of CComponentsText
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
------------------
Branch: ni/coolstream
Commit: ce00b0b4a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-27 (Sat, 27 Oct 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:08 +01:00
Thilo Graf
436667a392 CComponentsText: fix paint text into Textbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 80ffab8999
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-26 (Fri, 26 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
bbf6bb8156 CComponentsInfoBox: inherit setText
Origin commit data
------------------
Branch: ni/coolstream
Commit: ed5aac229b
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
64a168444d CComponentsInfoBox: inherit setTextFont and setTextMode
Origin commit data
------------------
Branch: ni/coolstream
Commit: ac94ad0d3b
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
9fc52e1a2b CComponentsInfoBox: inherit setTextColor
Origin commit data
------------------
Branch: ni/coolstream
Commit: c4ef839ad4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
d8738e130b CComponentsText: add member clearCCText()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c5805d0ea
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
f21355566b CComponentsText: fix possible segfault
segfault happens on left empty text

CComponentsInfoBox: inherit ct_textbox

CComponentsInfoBox: inherit ct_box

CComponentsInfoBox: inherit ct_box


Origin commit data
------------------
Branch: ni/coolstream
Commit: d970c5303f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:07 +01:00
Thilo Graf
5400b77ad9 CComponentsInfoBox:start inherit of CComponentsText onto CComponentsInfoBox
Origin commit data
------------------
Branch: ni/coolstream
Commit: bb39d1f64f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:06 +01:00
Thilo Graf
f9b223780e CComponentsInfoBox: move define of x_text onto paint()
Origin commit data
------------------
Branch: ni/coolstream
Commit: e80a254daa
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:06 +01:00
Thilo Graf
cbf51c852e CComponents: add missing paint-members to circle and square classes
paint () ist in CComponentsItem abstrakt, muss definiert werden
seine eigene in Unterklassen.


Origin commit data
------------------
Branch: ni/coolstream
Commit: e37b5d86f4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:06 +01:00
Thilo Graf
26f374414d CComponents: move CComponentsText before Infobox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4df7e4d144
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-23 (Tue, 23 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:06 +01:00
Thilo Graf
4c8e722ed5 CComponents: rename Container onto Item, make void paint() abstract
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
------------------
Branch: ni/coolstream
Commit: e1c9749730
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-21 (Sun, 21 Oct 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:06 +01:00
Thilo Graf
1054f03ad5 ComponentsInfoBox: arange text to the left border if no picture is painted
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
------------------
Branch: ni/coolstream
Commit: 28904b79c7
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-25 (Tue, 25 Sep 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:05 +01:00
Thilo Graf
53b6f0fe84 ComponentsText: remove tests for color and background
Origin commit data
------------------
Branch: ni/coolstream
Commit: 51891e0ccb
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-24 (Mon, 24 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:05 +01:00
Thilo Graf
b3ad4a4396 CComponentsText: ensure an empty default value for AUTO_WIDTH in setText()
AUTO_WIDTH has ugly sideeffects in context with max width


Origin commit data
------------------
Branch: ni/coolstream
Commit: fcf8a018c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:05 +01:00
Thilo Graf
20b0197244 CComponents: add sub class CComponentsText
Origin commit data
------------------
Branch: ni/coolstream
Commit: d8447b9110
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-24 (Mon, 24 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:05 +01:00
Michael Liebmann
dd48917b6d channellist.cpp: Fix segfault at 'delete Infobox' when changes in bouquet list.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 505d14c0a1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-22 (Sat, 22 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:05 +01:00
Thilo Graf
43913c1221 CTextBox/CMsgBox: reduce data type conflicts
Origin commit data
------------------
Branch: ni/coolstream
Commit: e1a586a9b1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:04 +01:00
Thilo Graf
02c4b4417c CTextBox: add methodes setTextMode() and setBackGroundColor()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1d6bf7397e
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-14 (Fri, 14 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:04 +01:00
Thilo Graf
d125d24f54 CComponents: clean up, don't use fbadata in paintFbItems()
Use consistently vector v_fbdata, so we don't need all parameters in
paintFbItems()


Origin commit data
------------------
Branch: ni/coolstream
Commit: cb8ac750a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-12 (Wed, 12 Sep 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:04 +01:00
Thilo Graf
c618cf6a9e CComponentsItemBox: move paint of text into its own method
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c6a317b40
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-06 11:28:04 +01:00