Author: weiden Date: Sun Jun 10 15:17:38 2007 New Revision: 27108
URL: http://svn.reactos.org/svn/reactos?rev=27108&view=rev Log: Display nice images taken (and modified) from http://www.lullabot.com/articles/free_gpl_icons_lullacons_pack_1, which are licensed under the GPL.
Modified: trunk/reactos/dll/win32/aclui/aclui.c trunk/reactos/dll/win32/aclui/res/usrgrp.bmp
Modified: trunk/reactos/dll/win32/aclui/aclui.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/aclui/aclui.c?rev... ============================================================================== --- trunk/reactos/dll/win32/aclui/aclui.c (original) +++ trunk/reactos/dll/win32/aclui/aclui.c Sun Jun 10 15:17:38 2007 @@ -1363,13 +1363,28 @@ LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT);
- sp->hiPrincipals = ImageList_LoadBitmap(hDllInstance, - MAKEINTRESOURCE(IDB_USRGRPIMAGES), - 16, - 3, - RGB(255, - 0, - 255)); + sp->hiPrincipals = ImageList_Create(16, + 16, + ILC_COLOR32 | ILC_MASK, + 0, + 3); + if (sp->hiPrincipals != NULL) + { + HBITMAP hbmImages; + + hbmImages = LoadBitmap(hDllInstance, + MAKEINTRESOURCE(IDB_USRGRPIMAGES)); + if (hbmImages != NULL) + { + ImageList_AddMasked(sp->hiPrincipals, + hbmImages, + RGB(255, + 0, + 255)); + + DeleteObject(hbmImages); + } + }
/* setup the listview control */ if (sp->hiPrincipals != NULL)
Modified: trunk/reactos/dll/win32/aclui/res/usrgrp.bmp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/aclui/res/usrgrp.... ============================================================================== Binary files - no diff available.