Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Thilo Graf
efb109fad0 CComponentsInfoBox: add basic constructor without args
usefull if dynamic changed properties are needed


Origin commit data
------------------
Commit: 9aa0d14d39
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-22 (Wed, 22 Aug 2012)
2013-03-06 11:27:55 +01:00
Michael Liebmann
459cdc9947 CComponentsInfoBox: Add removeLineBreaks()
Origin commit data
------------------
Commit: af8c8f2c10
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)

Origin message was:
------------------
* CComponentsInfoBox: Add removeLineBreaks()
2013-03-06 11:27:54 +01:00
Michael Liebmann
aa412f8293 CComponentsInfoBox: Use setTextFont() in paintText()
Origin commit data
------------------
Commit: e233c7467e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)
2013-03-06 11:27:54 +01:00
Michael Liebmann
fb8f90be98 CComponentsInfoBox: Add setTextBorderWidth() to paintText()
- Add delete textbox to paint()
- remove CTextBox::AUTO_HIGH


Origin commit data
------------------
Commit: 1ac03645cc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)

Origin message was:
------------------
* CComponentsInfoBox: Add setTextBorderWidth() to paintText()

- Add delete textbox to paint()
- remove CTextBox::AUTO_HIGH
2013-03-06 11:27:54 +01:00
Thilo Graf
f2e176419c CComponents: Rework some buggy paint methodes
Origin commit data
------------------
Commit: 9090e41d5b
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-18 (Sat, 18 Aug 2012)
2013-03-06 11:27:53 +01:00
Thilo Graf
02f6ee68da CComponents: paint picture in Infobox
Origin commit data
------------------
Commit: aa308c1236
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-17 (Fri, 17 Aug 2012)
2013-03-06 11:27:53 +01:00
Thilo Graf
149c663c31 CComponents: add text functionality into class CComponentsInfoBox()
Origin commit data
------------------
Commit: 2e6ac2420a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-16 (Thu, 16 Aug 2012)
2013-03-06 11:27:52 +01:00
Thilo Graf
565424d293 CComponents: add class to place and paint icons and pictures
Origin commit data
------------------
Commit: faca582807
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-13 (Mon, 13 Aug 2012)
2013-03-06 11:27:52 +01:00
Thilo Graf
ec4b8e3637 CComponents: add more basic members and sub classes
- change default colors for info box
- add member methode to synchronize system colors
- add class CComponentsShapeCircle
- add class CComponentsShapeSquare
- add sub class CComponentsPIP


Origin commit data
------------------
Commit: 485dca43e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-03 (Fri, 03 Aug 2012)
2013-03-06 11:27:51 +01:00
Thilo Graf
78cc05a766 CComponents: add sub class CComponentsContainer and clean up some members
- add virtual members to set colors
- remove parameters from CComponents constructor and set default values
 in constructor
- v_fbdata becomes a protected member, because old members like
 v_screen_val and v_infobox_val not needed in sub classes
- using sizeof() to get size of fbdata structs in paint() members,
 so we don't need explizit defines for struct size
- new class CComponentsContainer is a basic class for
 CComponentsInfoBox and other similar coming sub classes
- use enums for fbdata types
- add function setShadowOnOff()
- also add defines for plausible usage of setShadowOnOff(CC_SHADOW_ON/OFF)


Origin commit data
------------------
Commit: 06ee0c0c10
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-07-30 (Mon, 30 Jul 2012)

Origin message was:
------------------
CComponents: add sub class CComponentsContainer and clean up some members

- add virtual members to set colors
- remove parameters from CComponents constructor and set default values
 in constructor
- v_fbdata becomes a protected member, because old members like
 v_screen_val and v_infobox_val not needed in sub classes
- using sizeof() to get size of fbdata structs in paint() members,
 so we don't need explizit defines for struct size
- new class CComponentsContainer is a basic class for
 CComponentsInfoBox and other similar coming sub classes
- use enums for fbdata types
- add function setShadowOnOff()
- also add defines for plausible usage of setShadowOnOff(CC_SHADOW_ON/OFF)
2013-03-06 11:27:50 +01:00
Thilo Graf
e244a9c9c2 CComponents: move class into its own source directory
The components could over time become quite large,
so it makes more sense, coming features to split into
multiple files and to do it in a separate directory.


Origin commit data
------------------
Commit: 0a961a4cf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-19 (Tue, 19 Feb 2013)
2013-02-19 11:27:46 +01:00