diff options
author | Torbjörn Andersson | 2003-11-11 07:43:02 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-11 07:43:02 +0000 |
commit | 446a01ba09192a132ee9b6e40129161a7ec09be0 (patch) | |
tree | 720edb242a2b0ef813092c01d5efc76d000e37ff /sword2/driver/menu.cpp | |
parent | 0bcc7ce80eb6a8daa35bf2591281974cceff8078 (diff) | |
download | scummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.tar.gz scummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.tar.bz2 scummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.zip |
Moved low-level keyboard and mouse handling to a new Input class, and
renamed the Display class Graphics for no better reason than me liking the
phrase "sound and graphics" better than "sound and display".
svn-id: r11258
Diffstat (limited to 'sword2/driver/menu.cpp')
-rw-r--r-- | sword2/driver/menu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp index 54a87c20ac..341fb85de9 100644 --- a/sword2/driver/menu.cpp +++ b/sword2/driver/menu.cpp @@ -29,7 +29,7 @@ namespace Sword2 { #define MENUDEEP 40 #define MAXMENUANIMS 8 -void Display::clearIconArea(int menu, int pocket, Common::Rect *r) { +void Graphics::clearIconArea(int menu, int pocket, Common::Rect *r) { byte *dst; int i; @@ -52,7 +52,7 @@ void Display::clearIconArea(int menu, int pocket, Common::Rect *r) { * system is. */ -void Display::processMenu(void) { +void Graphics::processMenu(void) { byte *src, *dst; uint8 menu; uint8 i, j; @@ -199,7 +199,7 @@ void Display::processMenu(void) { * @return RD_OK, or an error code */ -int32 Display::showMenu(uint8 menu) { +int32 Graphics::showMenu(uint8 menu) { // Check for invalid menu parameter if (menu > RDMENU_BOTTOM) return RDERR_INVALIDMENU; @@ -219,7 +219,7 @@ int32 Display::showMenu(uint8 menu) { * @return RD_OK, or an error code */ -int32 Display::hideMenu(uint8 menu) { +int32 Graphics::hideMenu(uint8 menu) { // Check for invalid menu parameter if (menu > RDMENU_BOTTOM) return RDERR_INVALIDMENU; @@ -237,7 +237,7 @@ int32 Display::hideMenu(uint8 menu) { * This function hides both menus immediately. */ -void Display::closeMenuImmediately(void) { +void Graphics::closeMenuImmediately(void) { Common::Rect r; int i; @@ -266,7 +266,7 @@ void Display::closeMenuImmediately(void) { * @return RD_OK, or an error code */ -int32 Display::setMenuIcon(uint8 menu, uint8 pocket, uint8 *icon) { +int32 Graphics::setMenuIcon(uint8 menu, uint8 pocket, uint8 *icon) { Common::Rect r; // Check for invalid menu parameter. |