diff options
Diffstat (limited to '')
-rw-r--r-- | src/menu/background.hpp (renamed from src/menu/frame_background.hpp) | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/menu/frame_background.hpp b/src/menu/background.hpp index 9cb7c504..4f997700 100644 --- a/src/menu/frame_background.hpp +++ b/src/menu/background.hpp @@ -24,27 +24,26 @@ * $Id$ */ -#ifndef FRAME_BACKGROUND_HPP -#define FRAME_BACKGROUND_HPP +#ifndef BACKGROUND_HPP +#define BACKGROUND_HPP #include "drawable.hpp" namespace usdx { - // Exception - class FrameBackgroundException { }; - - // FrameBackground - abstract class for FrameBackgrounds - class FrameBackground : public Drawable + // Background - abstract class for Backgrounds + class Background : public Drawable { public: - FrameBackground(); - virtual ~FrameBackground(); + virtual ~Background() {}; protected: + // abstract base class + Background() {}; + // no copy and no assignment - FrameBackground(const FrameBackground&); - FrameBackground& operator=(const FrameBackground&); + Background(const Background&); + Background& operator=(const Background&); }; }; |