34 Commits

Author SHA1 Message Date
Le Philousophe
6293c2b3c2 WIN32: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Donovan Watteau
5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
44219dfa1a BACKENDS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
sluicebox
8b9bc17334 WIN32: Make Win32TaskbarManager UNICODE compatible 2021-06-29 12:38:01 -05:00
SupSuper
b123a21eed BACKENDS: Add support for qualified game IDs in taskbar icons 2020-09-09 01:58:20 +01:00
Cameron Cawley
30f2c2f3cd WIN32: Use malloc instead of new in string conversion functions 2020-08-21 00:02:13 +02:00
SupSuper
d0512db25c WIN32: Move all ARRAYSIZE undefs to util.h
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-17 12:28:33 +02:00
SupSuper
7bff9176d5 WIN32: Fix incorrect Windows version check
There's no point in testing for Windows 10 since the comparison is already "greater than or equals", and it identifies itself as 6.2 for backwards compatibility. Likely it was failing before because the return type was wrong.

Version checks are unreliable anyways, should use feature checks, but "if it ain't broke don't fix it".
2018-12-16 10:48:13 +00:00
SupSuper
2f2555f728 WIN32: Move utility functions to a common wrapper 2018-12-16 10:48:13 +00:00
Kirben
9925851670 WIN32: Fix taskbar detection under Windows 10 onwards. 2016-06-08 09:56:18 +10:00
Johannes Schickel
655f4dfedb WIN32: Fix compilation with MinGW-w64 based Win32 compiler. 2016-02-12 19:22:47 +01:00
Johannes Schickel
862e4302a7 WIN32: Fix building for (some) MinGW64 toolchains. 2015-12-14 17:15:18 +01:00
Johannes Schickel
71cc9e41e8 WINCE: Fix compilation. 2015-02-18 05:24:45 +01:00
Johannes Schickel
3745ddbefd WIN32: Add experimental SDL2 support.
Based on changes by aquadran.
2015-02-16 02:13:11 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
dhewg
51778ed4af TASKBAR: Fix compilation with mingw-w64
mingw-compat.h is not required for newer mingw-w64, all required
symbols are present in the system headers.
2012-01-23 18:41:45 +01:00
Littleboy
f702cb5695 BACKENDS: Implement notifyError() and clearError() for Win32TaskbarManager 2011-08-06 15:26:49 -04:00
Eugene Sandulenko
2fa17c44ed JANITORIAL: Remove SVN keywords 2011-08-06 11:30:47 +01:00
Littleboy
b0ee7bbb7e BACKENDS: Implement Win32TaskbarManager::setCount() 2011-06-29 11:07:23 -04:00
Littleboy
c32a3ea0d3 BACKENDS: Fix warnings in Win32TaskbarManager 2011-06-28 23:40:31 -04:00
Littleboy
3931de4235 BACKENDS: Fix running on pre-Windows 2000 operating systems
The Windows taskbar manager uses VerSetConditionMask and VerifyVersionInfo to check for Windows 7 or later
before enabling the taskbar integration features. Those functions did not appear until Windows 2000, so we
have to check for them at runtime.
2011-06-26 16:02:33 -04:00
athrxx
b60d864e6b TASKBAR: initialize _taskBar with NULL in constructor 2011-06-25 16:59:35 +02:00
Julien
154c584d44 BACKENDS: Enhance Win32TaskbarManager::getIconPath()
We now look for an iconsPath configuration variable with the path to the icons folder.
In addition, we look if there is an "icons" subfolder (useful when using extrapath to store icons)
2011-06-16 16:09:20 -04:00
Julien
149a8f8f11 BACKENDS: Fix compilation of Win32TaskbarManager with mingw 2011-06-16 14:27:22 -04:00
Julien
5dff6c2c08 BACKENDS: Allow use of excluded functions needed by Win32TaskbarManager 2011-06-16 14:23:30 -04:00
Littleboy
f843b3f280 BACKENDS: Fix Win32TaskbarManager compilation with Mingw
It was missing an include for scummsys.h and so couldn't find the defines
2011-06-16 14:23:23 -04:00
Littleboy
5649ddaf10 BACKENDS: Move Win32TaskbarManager init code to constructor 2011-06-16 14:23:14 -04:00
Littleboy
6c14d8a950 BACKENDS: Integrate glib main event loop
- Unity needs a glib event loop to dispatch events.
 - Cleanup whitespace and indentation
2011-06-16 14:22:51 -04:00
Littleboy
c3d9c6afa5 BACKENDS: Add use flag for taskbar integration 2011-06-16 10:38:34 -04:00
Littleboy
2348eeed4c BACKENDS: Add taskbar integration compat header for MingW 2011-06-16 10:36:39 -04:00
Littleboy
0fd56852b6 BACKENDS: Add support for custom game icon (recent items list and icon overlay) 2011-06-16 10:30:31 -04:00
Littleboy
c0ec09ac66 BACKENDS: Implement Win32 taskbar progress state and recent list 2011-06-16 10:30:06 -04:00
Littleboy
f67975a487 BACKENDS: Add win32 stubs for taskbar integration 2011-06-16 10:29:47 -04:00