From f7d3dc0bd6a4f6d4cf0b23e1ceaae60767f21739 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 10 Jun 2007 11:17:38 +0000 Subject: [PATCH] Display nice images taken (and modified) from http://www.lullabot.com/articles/free_gpl_icons_lullacons_pack_1, which are licensed under the GPL. svn path=/trunk/; revision=27108 --- reactos/dll/win32/aclui/aclui.c | 29 +++++++++++++++++++------ reactos/dll/win32/aclui/res/usrgrp.bmp | Bin 2358 -> 2358 bytes 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/reactos/dll/win32/aclui/aclui.c b/reactos/dll/win32/aclui/aclui.c index cf95f9e628f..95739888e43 100644 --- a/reactos/dll/win32/aclui/aclui.c +++ b/reactos/dll/win32/aclui/aclui.c @@ -1363,13 +1363,28 @@ SecurityPageProc(IN HWND hwndDlg, 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) diff --git a/reactos/dll/win32/aclui/res/usrgrp.bmp b/reactos/dll/win32/aclui/res/usrgrp.bmp index 575112c6f7ce7b8a8b74252fe4c80aba527b285b..b20b72881fbbd6a28968a5e1e269e936ac3ebf16 100644 GIT binary patch literal 2358 zcmb7?Z%7ki9LMctFUEWsiUmzc8=A5Rf_h`%us=*nGBsTmnTEFA=KkF|H)qqdU2d8) zwye~d8EZMGR?3vhnPEl}F|7ubnGn4wg6hp-zkKX^*jk;(bI130&-e4a@5YmPV8{BH zm1_q)li^N>I~MMBF&p3s*XlkR&~rIv8DDyhLW5l};=9qb#caSJ4UEy8gscX4!Whko zYz>tK&SIehts*q;yIn+NxEQT2F~_iY^r!h?B63Q^=erIiJXL33%NCUYCH^ znI~!dYd*ZBiNYJD+j>rJ>pqdzc|7%MNot2wcv&iRN`>{6zgn^3piu|z6gcy9Y+Lx= zB)%t!?@r?1Oyu__@_L{ftUO5*o(~^_arlgAuu|l!6nQH$Jf}0qJ`D@if*C zf^EJgDkXL-CDy;PMw0n=lleox>)nESY(DzcFitcb4baj_x+GvJesK1XUzd4DwjJuB zZmb{guqG-u^GUvVrXc(2k*t~hJEwOF0$XG6Lp{`u%}0F5Hr@fKQKu;y)gu@Gq0~l7(`hljwl#!W&V@keiC}rbtYr7J zD1IV8r;U(Rv*!T`Qm1uYq8A?d7N!Q@PIy9oS8$+h)>Z4MQ|L5m)*RLWsL@_WB;{_B z;}qapElD?C@9$gk-du9K7O%Cxv(|^IKThqj->zzL;%21Rln;o4G9*rZ z-T3%NLf~t{_^0@L?>G5gDM>0a8Sk)4P5qzZo{zq$sy0ZUe>*nM97t|s}oTQ+h0yH&T`Dh5ssRB2abVY`w9GSJ)-~s literal 2358 zcmeH{F%Ez*3f*Gnfd^B{{I}X2t*b`V%R{fXcW}56H;bzg zBO=y$ZZ8(MvbEj84?G!NtCR451bbsp#X>&i+#NV!fOBTjJQV`4m0AI~*ytak_%x