From 8a3e09f0c2e18d7b56a1972facf5124457ed7f81 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 29 Apr 2010 10:49:19 +0200 Subject: changed screen to display (only local naming) changed that naming to be consistent to all other draw methods --- src/menu/application.cpp | 4 ++-- src/menu/application.hpp | 2 +- 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(); -- cgit v1.2.3