mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
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:
@@ -171,6 +171,8 @@ public:
|
||||
virtual bool showMessageBox(const std::string &title, const std::string &message, MessageBoxType type, bool attachtowindow) = 0;
|
||||
virtual int showMessageBox(const MessageBoxData &data) = 0;
|
||||
|
||||
virtual void requestAttention(bool continuous) = 0;
|
||||
|
||||
//virtual static Window *createSingleton() = 0;
|
||||
// No virtual statics, of course, but you are supposed to implement this static.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user