Commit Graph

107 Commits

Author SHA1 Message Date
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
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
Thilo Graf
485dca43e2 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
2013-03-06 11:27:51 +01:00
Thilo Graf
06ee0c0c10 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
0a961a4cf6 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.
2013-02-19 11:27:46 +01:00