Add love.window.getIcon, and reset it after setMode, so it doesn't get reset (issue #667 and issue #513)

This commit is contained in:
Bart van Strien
2013-07-09 15:19:49 +02:00
parent aaa301ead2
commit 25d0d87247
5 changed files with 30 additions and 0 deletions
+2
View File
@@ -53,6 +53,7 @@ public:
std::string getWindowTitle() const;
bool setIcon(love::image::ImageData *imgd);
love::image::ImageData *getIcon();
void swapBuffers();
@@ -79,6 +80,7 @@ private:
int width;
int height;
WindowFlags flags;
love::image::ImageData *icon;
} currentMode;