Commit Graph

52 Commits

Author SHA1 Message Date
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