Added love.window.requestAttention. Bounces the dock icon in OS X and flashes the taskbar icon in Windows when called, if the program isn't in focus.

This commit is contained in:
Alex Szpakowski
2015-06-07 19:40:46 -03:00
parent 6ef6f85d0c
commit cf73aa0107
7 changed files with 67 additions and 2 deletions
+2
View File
@@ -100,6 +100,8 @@ public:
bool showMessageBox(const std::string &title, const std::string &message, MessageBoxType type, bool attachtowindow);
int showMessageBox(const MessageBoxData &data);
void requestAttention(bool continuous) override;
static love::window::Window *createSingleton();
const char *getName() const;