]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Video.hh
fixed permissions for stlplus files
[chaz/yoink] / src / Moof / Video.hh
index 736832f09d0277edb4da88e1a393e327dd934d63..91eecb71d092537be39e12015e9fedfa0d13be97 100644 (file)
@@ -35,8 +35,6 @@
 
 #include <SDL/SDL.h>
 
-#include <Moof/Exception.hh>
-
 
 namespace Mf {
 
@@ -84,7 +82,7 @@ public:
 
        Video();
        explicit Video(const Attributes& attribs);
-       explicit Video(const std::string& caption, const std::string& icon);
+       Video(const std::string& caption, const std::string& icon);
        ~Video();
 
        void setVideoMode(const long mode[3]);
@@ -96,6 +94,8 @@ public:
        void setCaption(const std::string& caption);
        std::string getCaption() const;
 
+       const std::string& getIcon() const;
+
        void setFull(bool full);
        void toggleFull();
        bool isFull() const;
@@ -112,24 +112,11 @@ public:
        void toggleCursorGrab();
        bool isCursorGrab() const;
 
-       void makeActive();
        void swap();
 
        int getWidth() const;
        int getHeight() const;
 
-
-       struct Exception : public Mf::Exception
-       {
-               explicit Exception(unsigned error) :
-                       Mf::Exception(error) {}
-
-               void raise()
-               {
-                       throw *this;
-               }
-       };
-
 private:
 
        void init(const Attributes& attribs);
This page took 0.018647 seconds and 4 git commands to generate.