|
From: Markus R. <god...@us...> - 2009-11-13 11:59:21
|
Module: performous Branch: master Commit: 9fa64e99f097760c45e47167fb6eb0719066d45f Author: Markus Raab <un...@ma...> Date: Fri Nov 13 12:56:37 2009 +0100 share code between screen hiscore and songs inherit from ScreenSongs 3 methods for common drawing behaviour make a common baseclass would be better? --- game/main.cc | 2 +- game/screen_hiscore.cc | 95 ++++++++---------------------------------------- game/screen_hiscore.hh | 22 ++++-------- game/screen_songs.cc | 48 +++++++++++++++--------- game/screen_songs.hh | 15 +++++++- 5 files changed, 67 insertions(+), 115 deletions(-) |