mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user