Commit Graph

46 Commits

Author SHA1 Message Date
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
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
Thilo Graf
a1f04c1a97 CComponentsItemBox: move paint of icons and pictures into it's own member
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5bbe8e770e
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:03 +01:00
Thilo Graf
dde5f006df CComponentsForm: add functionality
Now it's possible to paint forms with defined caption and icon


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



------------------
This commit was generated by Migit
2013-03-06 11:28:03 +01:00
Thilo Graf
db433d1463 CComponents: remove bgmode handler
bg_mode varible was never used


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



------------------
This commit was generated by Migit
2013-03-06 11:28:03 +01:00
Thilo Graf
839b0cfc43 CComponents: reset saved_screen.pixbuf
It's safe to work with null pointer


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



------------------
This commit was generated by Migit
2013-03-06 11:28:03 +01:00
Thilo Graf
436c6d4ee0 CComponents: remove superfluous calls
firstPaint,	v_fbdata.clear() already called in initVarBasic() and
initVarBasic() is called in all subclass constructors


Origin commit data
------------------
Branch: ni/coolstream
Commit: 458cec23bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-07 (Fri, 07 Sep 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:03 +01:00
Thilo Graf
cd2fc22fa0 CComponentsForm: add basics for CComponentsForm
Origin commit data
------------------
Branch: ni/coolstream
Commit: 16d12b4243
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-05 (Wed, 05 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:02 +01:00
Michael Liebmann
f0d6eeea7f CComponentsItemBox: Add flag 'isCalculated' for control calculateElements()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 33b4fc4cfa
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:02 +01:00
Michael Liebmann
1b4cce9392 CComponentsInfoBox: Add 'bgMode = CC_BGMODE_PERMANENT' to initVarInfobox()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 32515da236
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:02 +01:00
Thilo Graf
fdd36a2bec CComponentsItemBox: use also locales in overloaded methode addText()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c5367bc59
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-04 (Tue, 04 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:02 +01:00
Thilo Graf
e3c3a2669d CComponentsItemBox: split addElement()
Origin commit data
------------------
Branch: ni/coolstream
Commit: f5b584a925
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-03 (Mon, 03 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:02 +01:00
Thilo Graf
1a4e1ad02e CComponentsPicture: fix hide() of picture box
After hide of a picture box, no paint was possible, this should fix this.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d039171c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-03 (Mon, 03 Sep 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:01 +01:00
Thilo Graf
e98fa3142d CComponents: add member isPainted()
Useful for monitoring and evaluation of the state of components,
is also inherited to all subclasses


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



------------------
This commit was generated by Migit
2013-03-06 11:28:01 +01:00
Thilo Graf
ce55591295 CComponentsShapeSircle: fix segfault on init
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b1d9ca213
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-01 (Sat, 01 Sep 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:01 +01:00
Thilo Graf
480c9d95e9 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
------------------
Branch: ni/coolstream
Commit: efb85b958f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-31 (Fri, 31 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:00 +01:00
Thilo Graf
1668f72ec3 CComponentsTitleBar: rename member addText(), convert locale in constructor
Origin commit data
------------------
Branch: ni/coolstream
Commit: f45246caed
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:00 +01:00
Thilo Graf
e64ad46936 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
------------------
Branch: ni/coolstream
Commit: 806d840c86
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:00 +01:00
Michael Liebmann
abc6fa47af CComponentsItemBox: Add refreshElement() & paintElement()
- use paintElement() for CComponentsItemBox::paint


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8745d69d41
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:28:00 +01:00
Thilo Graf
4876ba74ea CComponentsTitleBar: add overloaded constructors for different text types
Origin commit data
------------------
Branch: ni/coolstream
Commit: c540de4d77
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-28 (Tue, 28 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:59 +01:00
Thilo Graf
c56c40a572 CComponentsTitleBar: add blanc constructor
Origin commit data
------------------
Branch: ni/coolstream
Commit: edbbfbef8f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:59 +01:00
Michael Liebmann
8e210f68c4 CComponentsItemBox: Correction x-position of elements
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:59 +01:00
Thilo Graf
66e21b7ccf CComponentsItemBox: use plausible member names
Origin commit data
------------------
Branch: ni/coolstream
Commit: 19e6866bb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:59 +01:00
Thilo Graf
0746643aeb CComponentsItemBox: remove comment
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a29d7b83a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Michael Liebmann
0cf209f3ad Move hMax correction from CComponentsItemBox to CComponentsTitleBar
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Michael Liebmann
ea539a4bbb CComponentsItemBox: Use CTextBox for paint text
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Michael Liebmann
e3dde0ced5 CComponents: Adjustments for CComponentsItemBox and CComponentsTitleBar
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Thilo Graf
0d4019d93e CComponents: add CComponentsItemBox as basich Class for CComponentsTitlebar
Origin commit data
------------------
Branch: ni/coolstream
Commit: b8c5e2b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Thilo Graf
3935a2fc54 CComponentsTitlebar: remove init of shadow
is allready inititalized in initVarContainer() (initVarBasic()) with
default value CC_SHADOW_OFF,


Origin commit data
------------------
Branch: ni/coolstream
Commit: 354d835156
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-26 (Sun, 26 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:27:58 +01:00
Michael Liebmann
4f89def7b8 CComponents: add class to place an paint titlebars
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:57 +01:00
Thilo Graf
acba064386 CComponentsPicture: use DEBUG to show dimensions error
Origin commit data
------------------
Branch: ni/coolstream
Commit: d87c1c9071
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-25 (Sat, 25 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:56 +01:00
Michael Liebmann
1063ba9ee9 CComponents::CComponentsPicture: Add the processing and scaling images
Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
2013-03-06 11:27:56 +01:00
Thilo Graf
8c5bd2fe27 CComponents: add members to init inherit variables
This sould enshure, that we have init with basic values in sub classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: d521cac983
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-23 (Thu, 23 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:27:55 +01:00
Thilo Graf
34d0d8bb40 CComponentsDetailsLine: add basic constructor without args
Origin commit data
------------------
Branch: ni/coolstream
Commit: ee52053f2d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-22 (Wed, 22 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:55 +01:00
Thilo Graf
128492efee CComponentsInfoBox: add basic constructor without args
usefull if dynamic changed properties are needed


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9aa0d14d39
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-22 (Wed, 22 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:27:55 +01:00
Michael Liebmann
d79fb84d91 CComponentsInfoBox: Add removeLineBreaks()
Origin commit data
------------------
Branch: ni/coolstream
Commit: af8c8f2c10
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)

Origin message was:
------------------
* CComponentsInfoBox: Add removeLineBreaks()

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

------------------
This commit was generated by Migit
2013-03-06 11:27:54 +01:00
Michael Liebmann
0cc6ca19fc CComponentsInfoBox: Use setTextFont() in paintText()
Origin commit data
------------------
Branch: ni/coolstream
Commit: e233c7467e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-20 (Mon, 20 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:54 +01:00
Michael Liebmann
1ddc65e25d CComponentsInfoBox: Add setTextBorderWidth() to paintText()
- Add delete textbox to paint()
- remove CTextBox::AUTO_HIGH


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


------------------
This commit was generated by Migit
2013-03-06 11:27:54 +01:00
Thilo Graf
d8fea8f899 CComponents: Rework some buggy paint methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9090e41d5b
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-18 (Sat, 18 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:53 +01:00
Thilo Graf
29ec5c53e2 CComponents: paint picture in Infobox
Origin commit data
------------------
Branch: ni/coolstream
Commit: aa308c1236
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-17 (Fri, 17 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:53 +01:00
Thilo Graf
3eb3a7cfcc CComponents: add text functionality into class CComponentsInfoBox()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2e6ac2420a
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-16 (Thu, 16 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:52 +01:00
Thilo Graf
879b6e76d8 CComponents: add class to place and paint icons and pictures
Origin commit data
------------------
Branch: ni/coolstream
Commit: faca582807
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-13 (Mon, 13 Aug 2012)


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

------------------
This commit was generated by Migit
2013-03-06 11:27:52 +01:00
Thilo Graf
53ee38c801 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
------------------
Branch: ni/coolstream
Commit: 485dca43e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-03 (Fri, 03 Aug 2012)



------------------
This commit was generated by Migit
2013-03-06 11:27:51 +01:00
Thilo Graf
109338c765 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
------------------
Branch: ni/coolstream
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)


------------------
This commit was generated by Migit
2013-03-06 11:27:50 +01:00
Thilo Graf
2b4cf29743 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
------------------
Branch: ni/coolstream
Commit: 0a961a4cf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-19 (Tue, 19 Feb 2013)



------------------
This commit was generated by Migit
2013-02-19 11:27:46 +01:00