diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-01-19 17:22:59 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-02-12 12:04:17 +0000 |
commit | 7c2fb098b206c0fb97c18cce8f88387cd0c0e82a (patch) | |
tree | 0f62f0e6b9e5cebe88bbbb924920763fd9107465 /hw/xwin/winprefs.h | |
parent | 19b3e44ce51cc2f74ba388cb2cd3a26467848e9a (diff) |
Cygwin/X: Fix several prototypes to return HICON
Fix prototypes of winOverrideIcon(), winTaskbarIcon() and winOverrideDefaultIcon() to return HICON
Also use HICON type in WINPREFS stucture
Remove various casts these changes make unnecessary
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'hw/xwin/winprefs.h')
-rw-r--r-- | hw/xwin/winprefs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xwin/winprefs.h b/hw/xwin/winprefs.h index 996b02ade..6d641da6a 100644 --- a/hw/xwin/winprefs.h +++ b/hw/xwin/winprefs.h @@ -105,7 +105,7 @@ typedef struct ICONITEM { char match[MENU_MAX+1]; /* What string to search for? */ char iconFile[PATH_MAX+NAME_MAX+2]; /* Icon location, WIN32 path */ - unsigned long hicon; /* LoadImage() result */ + HICON hicon; /* LoadImage() result */ } ICONITEM; /* To redefine styles for certain window types */ @@ -172,15 +172,15 @@ HandleCustomWM_COMMAND (unsigned long hwndIn, int winIconIsOverride (unsigned hiconIn); -unsigned long +HICON winOverrideIcon (unsigned long longpWin); unsigned long winOverrideStyle (unsigned long longpWin); -unsigned long +HICON winTaskbarIcon(void); -unsigned long +HICON winOverrideDefaultIcon(int size); #endif |