Commit Graph
15 Commits
Author SHA1 Message Date
Donovan Watteau 4f5ccdbe75 MACOSX: Update some comments about macOS 10.4/10.5 behavior
Found while doing a review of our existing workarounds for those
versions, and the system features which can be used there.

Also fix indentation and some typos while there.
2022-11-05 10:09:58 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Thierry Crozat 79b4e0ae21 MACOSX: Fix memory leak in dock tile plugin 2020-10-19 01:14:21 +01:00
Thierry Crozat bdbbcd81ae OSX: Fix taskbar update
This was broken sometimes between release 1.8.1 and 1.9.0. I did not
track the change that broke it, but it looks like the code was trying
to get the DockTile object too early causing it to be nil.
2020-09-12 18:01:15 +01:00
SupSuper b123a21eed BACKENDS: Add support for qualified game IDs in taskbar icons 2020-09-09 01:58:20 +01:00
Colin Snover 6e2f18c498 MACOS: Fix warnings about undeclared selectors
When -Wundeclared-selector is enabled (recommended by Apple), the
calls to the setBadgeLabel selector in MacOSXTaskbarManager are
warned on because NSDockTile declarations are not included because
they do not exist in macOS 10.4 and earlier. While I don't know
that we are even supporting such old macOS versions these days, it
is simple enough to fix this problem when compiling to modern
macOS versions by conditionally including the necessary header.
2017-09-10 22:17:16 -05:00
Eugene Sandulenko 355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Colin Snover 1c0c540fa7 MACOS: Use 'unsigned int' instead of NSUInteger
NSUInteger apparently does not exist until macOS 10.5, but
buildbot targets 10.4.
2016-07-10 11:46:32 -05:00
Colin Snover c294e4fbf8 MACOS: Fix sign comparison 2016-07-10 10:50:05 -05:00
Thierry Crozat e917971681 OS X: Clean taskbar code
This involves moving the NSDockTilePlugIn code to backend/taskbar
and fixing style to follow our coding conventions. One make target
was also renamed. All in all there is no change in functionality with this
commit.
2016-03-25 20:26:01 +00:00
Thierry Crozat 50f9f19927 OS X: Fix access to NSArray items with older SDKs 2016-03-25 18:30:48 +00:00
Thierry Crozat 24ce588b86 OS X: Add missing includes for recently introduced taskbar code 2016-03-25 18:06:21 +00:00
Thierry Crozat d519dd8ec3 OS X: Implement a Dock Tile Plugin to display recent games menu in dock
This allows to start a recently played game directly from the dock. The
ScummVM.app application should have been permanently added to the
dock and the menu is only present when ScummVM is not running. The
list of recently played game is written by the taskbar code in ScummVM.
The Dock Tile Plugin only reads that list to populate the menu.
2016-03-25 15:37:13 +00:00
Thierry Crozat 2671918c92 OS X: Implement saving recent games list to user preferences 2016-03-25 15:37:04 +00:00
Thierry Crozat 6d7fcdd2b5 OSX: Implement TaskbarManager for Mac OS X
This implements count badge, progress bar, and icon overlay.
It uses the NSDockTile API which is available since OS X 10.5.
The code compiles and run on older system but without doing
anything.
2014-02-23 21:54:47 +00:00