Commit Graph

4349 Commits

Author SHA1 Message Date
Thilo Graf
e931bdfd6c CComponents: add member isPainted()
Useful for monitoring and evaluation of the state of components,
is also inherited to all subclasses
2013-03-06 11:28:01 +01:00
Thilo Graf
4b1d9ca213 CComponentsShapeSircle: fix segfault on init 2013-03-06 11:28:01 +01:00
Thilo Graf
2126bbda81 CTestMenu: rework member showTestMenu()
It's better to split this member. Newer tests can make it too messy.
2013-03-06 11:28:01 +01:00
Thilo Graf
efb85b958f 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.
2013-03-06 11:28:00 +01:00
Thilo Graf
f45246caed CComponentsTitleBar: rename member addText(), convert locale in constructor 2013-03-06 11:28:00 +01:00
Thilo Graf
936e965909 CChannellist: remove calculateElements()
is already included in print()clHead->paint() and refreshElement()
2013-03-06 11:28:00 +01:00
Thilo Graf
806d840c86 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()
2013-03-06 11:28:00 +01:00
micha-bbg
cd4cb6645e Channellist: Use CComponentsTitleBar for paint head 2013-03-06 11:28:00 +01:00
micha-bbg
8745d69d41 CComponentsItemBox: Add refreshElement() & paintElement()
- use paintElement() for CComponentsItemBox::paint
2013-03-06 11:28:00 +01:00
Thilo Graf
c540de4d77 CComponentsTitleBar: add overloaded constructors for different text types 2013-03-06 11:27:59 +01:00
Thilo Graf
edbbfbef8f CComponentsTitleBar: add blanc constructor 2013-03-06 11:27:59 +01:00
Thilo Graf
8cabe408cf CComponents: declare small members as inline 2013-03-06 11:27:59 +01:00
micha-bbg
88e2cb77c2 * CComponentsItemBox: Correction x-position of elements 2013-03-06 11:27:59 +01:00
Thilo Graf
19e6866bb8 CComponentsItemBox: use plausible member names 2013-03-06 11:27:59 +01:00
Thilo Graf
6a29d7b83a CComponentsItemBox: remove comment 2013-03-06 11:27:58 +01:00
micha-bbg
79c4ad05a2 * Move hMax correction from CComponentsItemBox to CComponentsTitleBar 2013-03-06 11:27:58 +01:00
micha-bbg
b88f73d595 * CComponentsItemBox: Use CTextBox for paint text 2013-03-06 11:27:58 +01:00
micha-bbg
758fda514a * CComponents: Adjustments for CComponentsItemBox and CComponentsTitleBar 2013-03-06 11:27:58 +01:00
Thilo Graf
b8c5e2b6da CComponents: add CComponentsItemBox as basich Class for CComponentsTitlebar 2013-03-06 11:27:58 +01:00
Thilo Graf
354d835156 CComponentsTitlebar: remove init of shadow
is allready inititalized in initVarContainer() (initVarBasic()) with
default value CC_SHADOW_OFF,
2013-03-06 11:27:58 +01:00
Thilo Graf
136885722a CComponentsTitlebar: remove member col_body
is allready inherit from basic class CComponents
2013-03-06 11:27:57 +01:00
micha-bbg
b51ff8401b * CComponents: add class to place an paint titlebars 2013-03-06 11:27:57 +01:00
Thilo Graf
4007cf4a6d CTextBox: initialize variables in constructor (style) 2013-03-06 11:27:57 +01:00
Thilo Graf
32f2f8a85d CChannelList: use own function to get transponder info 2013-03-06 11:27:57 +01:00
Thilo Graf
c53a0a7ab4 CChannelList: adapt for new CComponentsInfoBox functionality
TODO:
paint text into infobox with CComponentsInfoBox
2013-03-06 11:27:57 +01:00
Thilo Graf
d87c1c9071 CComponentsPicture: use DEBUG to show dimensions error 2013-03-06 11:27:56 +01:00
Thilo Graf
1a09bd719a CBEChannelSelectWidget: use CComponentsInfoBox to paint infobox 2013-03-06 11:27:56 +01:00
micha-bbg
61ed9d4862 * CComponents::CComponentsPicture: Add the processing and scaling images 2013-03-06 11:27:56 +01:00
Thilo Graf
e6eb91f706 CBEChannelWidget: use CComponentsInfoBox to paint text into infobox 2013-03-06 11:27:56 +01:00
Thilo Graf
200dce89c1 Bedit: adapt to last CComponent changes 2013-03-06 11:27:56 +01:00
Thilo Graf
7df6748f74 CMenuWidget: set frame thickness
default value in CComponentsInfoBox is inherit from CComponentsContainer
and =0, baut we need =2
2013-03-06 11:27:55 +01:00
Thilo Graf
d521cac983 CComponents: add members to init inherit variables
This sould enshure, that we have init with basic values in sub classes
2013-03-06 11:27:55 +01:00
Thilo Graf
12cb192341 CMenuWidget: init instance of CComponentsDetailsLine in constructor 2013-03-06 11:27:55 +01:00
Thilo Graf
ee52053f2d CComponentsDetailsLine: add basic constructor without args 2013-03-06 11:27:55 +01:00
Thilo Graf
232933f9fc CComponentsInfoBox: create instance of CComponentsInfoBox in constructor 2013-03-06 11:27:55 +01:00
Thilo Graf
9aa0d14d39 CComponentsInfoBox: add basic constructor without args
usefull if dynamic changed properties are needed
2013-03-06 11:27:55 +01:00
micha-bbg
2101a32862 * CMenuWidget: Use removeLineBreaks() in paintHint() 2013-03-06 11:27:54 +01:00
micha-bbg
af8c8f2c10 * CComponentsInfoBox: Add removeLineBreaks() 2013-03-06 11:27:54 +01:00
micha-bbg
e233c7467e CComponentsInfoBox: Use setTextFont() in paintText() 2013-03-06 11:27:54 +01:00
micha-bbg
ff12f2b5b5 CMenuWidget: Remove line breaks from hint text
- Add font to Constructor & setText()
- remove CTextBox::AUTO_HIGH
2013-03-06 11:27:54 +01:00
micha-bbg
1ac03645cc * CComponentsInfoBox: Add setTextBorderWidth() to paintText()
- Add delete textbox to paint()
- remove CTextBox::AUTO_HIGH
2013-03-06 11:27:54 +01:00
Thilo Graf
53ff9cdddf CMenuWidget: implement CComponentsInfoBox functionality for text and icon 2013-03-06 11:27:53 +01:00
Thilo Graf
9090e41d5b CComponents: Rework some buggy paint methodes 2013-03-06 11:27:53 +01:00
Thilo Graf
aa308c1236 CComponents: paint picture in Infobox 2013-03-06 11:27:53 +01:00
Thilo Graf
d59eb05427 CChannelList: adapt for last changes in CComponents 2013-03-06 11:27:53 +01:00
Thilo Graf
14f8e63cc9 CAudioPlayer: adapt for last changes in CComponents 2013-03-06 11:27:53 +01:00
Thilo Graf
b0f9cde09f CMenuWidget: adapt for last changes in CComponents 2013-03-06 11:27:52 +01:00
Thilo Graf
b0fc5efe28 Bedit: adapt for last changes in CComponents 2013-03-06 11:27:52 +01:00
Thilo Graf
2e6ac2420a CComponents: add text functionality into class CComponentsInfoBox() 2013-03-06 11:27:52 +01:00
Thilo Graf
faca582807 CComponents: add class to place and paint icons and pictures 2013-03-06 11:27:52 +01:00