Commit Graph

3615 Commits

Author SHA1 Message Date
Thilo Graf
782ba3ac26 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
------------------
Commit: cb8ac750a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-12 (Wed, 12 Sep 2012)
2013-03-06 11:28:04 +01:00
Thilo Graf
024c8f4f10 CComponentsItemBox: move paint of text into its own method
Origin commit data
------------------
Commit: 2c6a317b40
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)
2013-03-06 11:28:04 +01:00
Thilo Graf
297ede6c73 CComponentsItemBox: move paint of icons and pictures into it's own member
Origin commit data
------------------
Commit: 5bbe8e770e
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)
2013-03-06 11:28:03 +01:00
Thilo Graf
ba1f9dc688 CTestMenu: add tests for form objects
Origin commit data
------------------
Commit: 7105518423
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)
2013-03-06 11:28:03 +01:00
Thilo Graf
e42e381989 CComponentsForm: add functionality
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)
2013-03-06 11:28:03 +01:00
Thilo Graf
3ea00864f1 CComponents: remove bgmode handler
bg_mode varible was never used


Origin commit data
------------------
Commit: 7bbf0375e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-08 (Sat, 08 Sep 2012)
2013-03-06 11:28:03 +01:00
Thilo Graf
b9193d73a2 CComponents: reset saved_screen.pixbuf
It's safe to work with null pointer


Origin commit data
------------------
Commit: 09b8b29176
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-08 (Sat, 08 Sep 2012)
2013-03-06 11:28:03 +01:00
Thilo Graf
f65a4c6c5a CComponents: remove superfluous calls
firstPaint,	v_fbdata.clear() already called in initVarBasic() and
initVarBasic() is called in all subclass constructors


Origin commit data
------------------
Commit: 458cec23bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-07 (Fri, 07 Sep 2012)
2013-03-06 11:28:03 +01:00
Thilo Graf
f53f8c9edc CComponentsForm: add basics for CComponentsForm
Origin commit data
------------------
Commit: 16d12b4243
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-05 (Wed, 05 Sep 2012)
2013-03-06 11:28:02 +01:00
Michael Liebmann
8163e262a9 CComponentsItemBox: Add flag 'isCalculated' for control calculateElements()
Origin commit data
------------------
Commit: 33b4fc4cfa
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)
2013-03-06 11:28:02 +01:00
Michael Liebmann
185006f125 CComponentsInfoBox: Add 'bgMode = CC_BGMODE_PERMANENT' to initVarInfobox()
Origin commit data
------------------
Commit: 32515da236
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)
2013-03-06 11:28:02 +01:00
Thilo Graf
3a9fd29a20 CComponentsItemBox: use also locales in overloaded methode addText()
Origin commit data
------------------
Commit: 2c5367bc59
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-04 (Tue, 04 Sep 2012)
2013-03-06 11:28:02 +01:00
Thilo Graf
d8528eee79 CChannelList: adapt for new functionality in CComponents
Origin commit data
------------------
Commit: d0af8fb7bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-03 (Mon, 03 Sep 2012)
2013-03-06 11:28:02 +01:00
Thilo Graf
799ef8bdac CComponentsItemBox: split addElement()
Origin commit data
------------------
Commit: f5b584a925
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-03 (Mon, 03 Sep 2012)
2013-03-06 11:28:02 +01:00
Thilo Graf
f932bf3e2a CComponentsPicture: fix hide() of picture box
After hide of a picture box, no paint was possible, this should fix this.


Origin commit data
------------------
Commit: 0d039171c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-03 (Mon, 03 Sep 2012)
2013-03-06 11:28:01 +01:00
Thilo Graf
59a1c942c5 CTestMenu: add some demos for CComponents
Origin commit data
------------------
Commit: c0d4c204b2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-02 (Sun, 02 Sep 2012)
2013-03-06 11:28:01 +01:00
Thilo Graf
9407ec796e CComponents: add member isPainted()
Useful for monitoring and evaluation of the state of components,
is also inherited to all subclasses


Origin commit data
------------------
Commit: e931bdfd6c
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-02 (Sun, 02 Sep 2012)
2013-03-06 11:28:01 +01:00
Thilo Graf
5858f82195 CComponentsShapeSircle: fix segfault on init
Origin commit data
------------------
Commit: 4b1d9ca213
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-01 (Sat, 01 Sep 2012)
2013-03-06 11:28:01 +01:00
Thilo Graf
6b2171ecb2 CTestMenu: rework member showTestMenu()
It's better to split this member. Newer tests can make it too messy.


Origin commit data
------------------
Commit: 2126bbda81
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-01 (Sat, 01 Sep 2012)
2013-03-06 11:28:01 +01:00
Thilo Graf
cedae6fd9d CComponentsTitleBar: add parameter for default icon
...also removed parameter for text ailgnment, because the most titelbars
need only left alignment and if required more elements, we can use the
addElement() methode.


Origin commit data
------------------
Commit: efb85b958f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-31 (Fri, 31 Aug 2012)
2013-03-06 11:28:00 +01:00
Thilo Graf
5ab39cd4c2 CComponentsTitleBar: rename member addText(), convert locale in constructor
Origin commit data
------------------
Commit: f45246caed
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)
2013-03-06 11:28:00 +01:00
Thilo Graf
80abb28236 CChannellist: remove calculateElements()
is already included in print()clHead->paint() and refreshElement()


Origin commit data
------------------
Commit: 936e965909
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)
2013-03-06 11:28:00 +01:00
Thilo Graf
aec90883ad CComponents: rework some members
*rename col_text to class relevant names,
 col_text is already defined in class CComponents InfoBox and
 its easy to confuse member names
*add member printItemBox() and
 move calculateElements() into CComponentsItemBox and use it
 in print() and refreshElement()


Origin commit data
------------------
Commit: 806d840c86
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)
2013-03-06 11:28:00 +01:00
Michael Liebmann
61569002e2 Channellist: Use CComponentsTitleBar for paint head
Origin commit data
------------------
Commit: cd4cb6645e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
2013-03-06 11:28:00 +01:00
Michael Liebmann
bab8a8fba6 CComponentsItemBox: Add refreshElement() & paintElement()
- use paintElement() for CComponentsItemBox::paint


Origin commit data
------------------
Commit: 8745d69d41
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
2013-03-06 11:28:00 +01:00
Thilo Graf
96fcd0810e CComponentsTitleBar: add overloaded constructors for different text types
Origin commit data
------------------
Commit: c540de4d77
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-28 (Tue, 28 Aug 2012)
2013-03-06 11:27:59 +01:00
Thilo Graf
a0e6ffe1ed CComponentsTitleBar: add blanc constructor
Origin commit data
------------------
Commit: edbbfbef8f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)
2013-03-06 11:27:59 +01:00
Thilo Graf
153e84bc18 CComponents: declare small members as inline
Origin commit data
------------------
Commit: 8cabe408cf
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)
2013-03-06 11:27:59 +01:00
Michael Liebmann
1880fdba4f CComponentsItemBox: Correction x-position of elements
Origin commit data
------------------
Commit: 88e2cb77c2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-27 (Mon, 27 Aug 2012)

Origin message was:
------------------
* CComponentsItemBox: Correction x-position of elements
2013-03-06 11:27:59 +01:00
Thilo Graf
e5811f3adc CComponentsItemBox: use plausible member names
Origin commit data
------------------
Commit: 19e6866bb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)
2013-03-06 11:27:59 +01:00
Thilo Graf
401ee7bccc CComponentsItemBox: remove comment
Origin commit data
------------------
Commit: 6a29d7b83a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)
2013-03-06 11:27:58 +01:00
Michael Liebmann
b8912864cb Move hMax correction from CComponentsItemBox to CComponentsTitleBar
Origin commit data
------------------
Commit: 79c4ad05a2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-27 (Mon, 27 Aug 2012)

Origin message was:
------------------
* Move hMax correction from CComponentsItemBox to CComponentsTitleBar
2013-03-06 11:27:58 +01:00
Michael Liebmann
49379d201f CComponentsItemBox: Use CTextBox for paint text
Origin commit data
------------------
Commit: b88f73d595
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-27 (Mon, 27 Aug 2012)

Origin message was:
------------------
* CComponentsItemBox: Use CTextBox for paint text
2013-03-06 11:27:58 +01:00
Michael Liebmann
58b7ad7ba5 CComponents: Adjustments for CComponentsItemBox and CComponentsTitleBar
Origin commit data
------------------
Commit: 758fda514a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-26 (Sun, 26 Aug 2012)

Origin message was:
------------------
* CComponents: Adjustments for CComponentsItemBox and CComponentsTitleBar
2013-03-06 11:27:58 +01:00
Thilo Graf
507d6cb91b CComponents: add CComponentsItemBox as basich Class for CComponentsTitlebar
Origin commit data
------------------
Commit: b8c5e2b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)
2013-03-06 11:27:58 +01:00
Thilo Graf
ad48595a84 CComponentsTitlebar: remove init of shadow
is allready inititalized in initVarContainer() (initVarBasic()) with
default value CC_SHADOW_OFF,


Origin commit data
------------------
Commit: 354d835156
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)
2013-03-06 11:27:58 +01:00
Thilo Graf
93c6594687 CComponentsTitlebar: remove member col_body
is allready inherit from basic class CComponents


Origin commit data
------------------
Commit: 136885722a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)
2013-03-06 11:27:57 +01:00
Michael Liebmann
7d62a3826d CComponents: add class to place an paint titlebars
Origin commit data
------------------
Commit: b51ff8401b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-24 (Fri, 24 Aug 2012)

Origin message was:
------------------
* CComponents: add class to place an paint titlebars
2013-03-06 11:27:57 +01:00
Thilo Graf
82ff6f298d CTextBox: initialize variables in constructor (style)
Origin commit data
------------------
Commit: 4007cf4a6d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)
2013-03-06 11:27:57 +01:00
Thilo Graf
a1398ac4ad CChannelList: use own function to get transponder info
Origin commit data
------------------
Commit: 32f2f8a85d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)
2013-03-06 11:27:57 +01:00
Thilo Graf
ef4dca41c5 CChannelList: adapt for new CComponentsInfoBox functionality
TODO:
paint text into infobox with CComponentsInfoBox


Origin commit data
------------------
Commit: c53a0a7ab4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)
2013-03-06 11:27:57 +01:00
Thilo Graf
3a98038b0a CComponentsPicture: use DEBUG to show dimensions error
Origin commit data
------------------
Commit: d87c1c9071
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)
2013-03-06 11:27:56 +01:00
Thilo Graf
4d1861c989 CBEChannelSelectWidget: use CComponentsInfoBox to paint infobox
Origin commit data
------------------
Commit: 1a09bd719a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)
2013-03-06 11:27:56 +01:00
Michael Liebmann
f2f0e69242 CComponents::CComponentsPicture: Add the processing and scaling images
Origin commit data
------------------
Commit: 61ed9d4862
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-24 (Fri, 24 Aug 2012)

Origin message was:
------------------
* CComponents::CComponentsPicture: Add the processing and scaling images
2013-03-06 11:27:56 +01:00
Thilo Graf
51a2fe5661 CBEChannelWidget: use CComponentsInfoBox to paint text into infobox
Origin commit data
------------------
Commit: e6eb91f706
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)
2013-03-06 11:27:56 +01:00
Thilo Graf
d2859cbe4e Bedit: adapt to last CComponent changes
Origin commit data
------------------
Commit: 200dce89c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-24 (Fri, 24 Aug 2012)
2013-03-06 11:27:56 +01:00
Thilo Graf
d8ee6cad83 CMenuWidget: set frame thickness
default value in CComponentsInfoBox is inherit from CComponentsContainer
and =0, baut we need =2


Origin commit data
------------------
Commit: 7df6748f74
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-23 (Thu, 23 Aug 2012)
2013-03-06 11:27:55 +01:00
Thilo Graf
53bfac434d CComponents: add members to init inherit variables
This sould enshure, that we have init with basic values in sub classes


Origin commit data
------------------
Commit: d521cac983
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-23 (Thu, 23 Aug 2012)
2013-03-06 11:27:55 +01:00
Thilo Graf
77d1ef4e94 CMenuWidget: init instance of CComponentsDetailsLine in constructor
Origin commit data
------------------
Commit: 12cb192341
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-22 (Wed, 22 Aug 2012)
2013-03-06 11:27:55 +01:00
Thilo Graf
fb398fcc56 CComponentsDetailsLine: add basic constructor without args
Origin commit data
------------------
Commit: ee52053f2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-22 (Wed, 22 Aug 2012)
2013-03-06 11:27:55 +01:00