aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-04-29 10:49:19 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:48 +0100
commit8a3e09f0c2e18d7b56a1972facf5124457ed7f81 (patch)
treefe9d10f5506311dd3c1795e11578896d67e76d44 /src/menu
parente4426f0019cbde1035011e30e740bdbfffafa5ee (diff)
downloadusdx-8a3e09f0c2e18d7b56a1972facf5124457ed7f81.tar.gz
usdx-8a3e09f0c2e18d7b56a1972facf5124457ed7f81.tar.xz
usdx-8a3e09f0c2e18d7b56a1972facf5124457ed7f81.zip
changed screen to display (only local naming)
changed that naming to be consistent to all other draw methods
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/application.cpp4
-rw-r--r--src/menu/application.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp
index cc690b1c..9265aad7 100644
--- a/src/menu/application.cpp
+++ b/src/menu/application.cpp
@@ -72,10 +72,10 @@ namespace usdx
return instance;
}
- void Application::draw(SDL_Surface* screen) const
+ void Application::draw(SDL_Surface* display) const
{
if (frame) {
- frame->repaint(screen);
+ frame->repaint(display);
}
}
diff --git a/src/menu/application.hpp b/src/menu/application.hpp
index 24d0b44f..cc9ba0c2 100644
--- a/src/menu/application.hpp
+++ b/src/menu/application.hpp
@@ -66,7 +66,7 @@ namespace usdx
protected:
Application(Control* parent);
- void draw(SDL_Surface* screen) const;
+ void draw(SDL_Surface* display) const;
public:
virtual ~Application();