From 9ee1da15db8829ad404edbc4526869e4bde9a142 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 17 Apr 2014 14:23:43 -0300 Subject: [PATCH] Rename she::NotDisposableSurface to she::NonDisposableSurface --- src/she/display.h | 4 ++-- src/she/she_alleg4.cpp | 4 ++-- src/she/surface.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/she/display.h b/src/she/display.h index 07837136d..0e2901ee3 100644 --- a/src/she/display.h +++ b/src/she/display.h @@ -11,7 +11,7 @@ namespace she { class EventQueue; - class NotDisposableSurface; + class NonDisposableSurface; class Surface; // A display or window to show graphics. @@ -35,7 +35,7 @@ namespace she { // Returns the main surface to draw into this display. // You must not dispose this surface. - virtual NotDisposableSurface* getSurface() = 0; + virtual NonDisposableSurface* getSurface() = 0; // Flips all graphics in the surface to the real display. Returns // false if the flip couldn't be done because the display was diff --git a/src/she/she_alleg4.cpp b/src/she/she_alleg4.cpp index 4aecba4e2..f127786cf 100644 --- a/src/she/she_alleg4.cpp +++ b/src/she/she_alleg4.cpp @@ -318,8 +318,8 @@ public: m_surface = newSurface; } - NotDisposableSurface* getSurface() OVERRIDE { - return static_cast(m_surface); + NonDisposableSurface* getSurface() OVERRIDE { + return static_cast(m_surface); } bool flip() OVERRIDE { diff --git a/src/she/surface.h b/src/she/surface.h index 2046663dc..2ad70d0ef 100644 --- a/src/she/surface.h +++ b/src/she/surface.h @@ -22,9 +22,9 @@ namespace she { virtual void* nativeHandle() = 0; }; - class NotDisposableSurface : public Surface { + class NonDisposableSurface : public Surface { public: - virtual ~NotDisposableSurface() { } + virtual ~NonDisposableSurface() { } private: virtual void dispose() = 0; };