aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/menu/background.hpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/menu/background.hpp b/src/menu/background.hpp
index 660605dd..a971416c 100644
--- a/src/menu/background.hpp
+++ b/src/menu/background.hpp
@@ -26,26 +26,23 @@
#define BACKGROUND_HPP
#include "drawable.hpp"
+#include <boost/noncopyable.hpp>
namespace usdx
{
class DrawableControl;
- // Background - abstract class for Backgrounds
- class Background : public Drawable
+ /**
+ * Abstract class for backgrounds. Subclasses of this class, implement
+ * different ways to draw the background for any DrawableControl.
+ */
+ class Background : public Drawable, public boost::noncopyable
{
private:
const DrawableControl& parent;
- protected:
- // abstract base class
- Background(const DrawableControl&);
-
- // no copy and no assignment
- Background(const Background&);
- Background& operator=(const Background&);
-
public:
+ Background(const DrawableControl&);
virtual ~Background();
/**