Author: rnaumann
Date: Fri Nov 20 23:16:50 2015
New Revision: 69969
URL:
http://svn.reactos.org/svn/reactos?rev=69969&view=rev
Log:
[USRMGR] Update Icons and show imagelists with 32 instead of 8 bit. Patch by Jared Smudde.
CORE-10516
Modified:
trunk/reactos/dll/cpl/usrmgr/groupprops.c
trunk/reactos/dll/cpl/usrmgr/resources/group.ico
trunk/reactos/dll/cpl/usrmgr/resources/locked.ico
trunk/reactos/dll/cpl/usrmgr/resources/user.ico
trunk/reactos/dll/cpl/usrmgr/users.c
Modified: trunk/reactos/dll/cpl/usrmgr/groupprops.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/groupprops.…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/groupprops.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/groupprops.c [iso-8859-1] Fri Nov 20 23:16:50 2015
@@ -83,7 +83,7 @@
hwndLV = GetDlgItem(hwndDlg, IDC_USER_ADD_MEMBERSHIP_LIST);
GetClientRect(hwndLV, &rect);
- hImgList = ImageList_Create(16,16,ILC_COLOR8 | ILC_MASK,5,5);
+ hImgList = ImageList_Create(16,16,ILC_COLOR32 | ILC_MASK,5,5);
hIcon =
LoadImage(hApplet,MAKEINTRESOURCE(IDI_GROUP),IMAGE_ICON,16,16,LR_DEFAULTCOLOR);
ImageList_AddIcon(hImgList,hIcon);
DestroyIcon(hIcon);
@@ -406,7 +406,7 @@
hwndLV = GetDlgItem(hwndDlg, IDC_GROUP_GENERAL_MEMBERS);
/* Create the image list */
- hImgList = ImageList_Create(16, 16, ILC_COLOR8 | ILC_MASK, 5, 5);
+ hImgList = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 5, 5);
hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_GROUP), IMAGE_ICON, 16, 16,
LR_DEFAULTCOLOR);
ImageList_AddIcon(hImgList, hIcon);
DestroyIcon(hIcon);
Modified: trunk/reactos/dll/cpl/usrmgr/resources/group.ico
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/resources/g…
==============================================================================
Binary files - no diff available.
Modified: trunk/reactos/dll/cpl/usrmgr/resources/locked.ico
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/resources/l…
==============================================================================
Binary files - no diff available.
Modified: trunk/reactos/dll/cpl/usrmgr/resources/user.ico
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/resources/u…
==============================================================================
Binary files - no diff available.
Modified: trunk/reactos/dll/cpl/usrmgr/users.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/users.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] Fri Nov 20 23:16:50 2015
@@ -513,7 +513,7 @@
HICON hIcon;
/* Create the image list */
- hImgList = ImageList_Create(16, 16, ILC_COLOR8 | ILC_MASK, 5, 5);
+ hImgList = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 5, 5);
hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_USER), IMAGE_ICON, 16, 16,
LR_DEFAULTCOLOR);
ImageList_AddIcon(hImgList, hIcon);
hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_LOCKED_USER), IMAGE_ICON, 16, 16,
LR_DEFAULTCOLOR);