/reactos/dll/win32/comctl32/ |
H A D | imagelist.c | 276 StretchDIBits( himl->hdcImage, pt.x, pt.y, himl->cx, himl->cy, in add_dib_bits() 279 StretchDIBits( himl->hdcMask, pt.x, pt.y, himl->cx, himl->cy, in add_dib_bits() 368 …RACE("%p has allocated %d, max %d, grow %d images\n", himl, himl->cCurImage, himl->cMaxImage, himl… in IMAGELIST_InternalExpandBitmaps() 463 himl, himl->cCurImage, himl->cMaxImage, himl->cGrow, himl->cx, himl->cy); in ImageList_Add() 872 himl->hbmImage = ImageList_CreateImage(himl->hdcImage, himl, himl->cMaxImage); in ImageList_Create() 1038 imldp.himl = InternalDrag.himl; in ImageList_InternalDragDraw() 1272 imldp.himl = himl; in ImageList_DrawEx() 2734 StretchBlt (himl->hdcImage, pt.x, pt.y, himl->cx, himl->cy, in ImageList_Replace() 2745 StretchBlt (himl->hdcMask, pt.x, pt.y, himl->cx, himl->cy, in ImageList_Replace() 2800 himl->cx, himl->cy, in ImageList_ReplaceIcon() [all …]
|
H A D | comctl32_ros.diff | 618 @@ -1243,8 +1243,11 @@ ImageList_DrawEx (HIMAGELIST himl, INT i 644 BitBlt( hdc, 0, 0, cx, cy, himl->hdcImage, src_x, src_y, SRCCOPY ); 686 + BitBlt(hdc, 0, 0, cx, cy, himl->hdcImage, src_x, src_y, SRCCOPY); 726 if (!pimldp || !(himl = pimldp->himl)) return FALSE; 727 if (!is_valid(himl)) return FALSE; 750 has_alpha = (himl->has_alpha && himl->has_alpha[pimldp->i]); 1905 HIMAGELIST himl = NULL; 1919 if (!himl) 1924 + ImageList_GetImageInfo(himl, index, &info); 1942 index, himl, left, top, offset); [all …]
|
H A D | toolbar.c | 112 HIMAGELIST himl; member 464 HIMAGELIST himl; in TOOLBAR_IsValidBitmapIndex() local 481 return (himl != NULL) && (ImageList_GetImageCount(himl) > 0); in TOOLBAR_IsValidImageList() 495 HIMAGELIST himl; in TOOLBAR_GetImageListForDrawing() local 528 if (!himl) in TOOLBAR_GetImageListForDrawing() 531 return himl; in TOOLBAR_GetImageListForDrawing() 820 if (!himl) in TOOLBAR_DrawImage() 848 if (!himl) in TOOLBAR_DrawImage() 854 if (!himl) in TOOLBAR_DrawImage() 879 imldp.himl = himl; in TOOLBAR_DrawImage() [all …]
|
H A D | comboex.c | 54 HIMAGELIST himl; member 381 if (infoPtr->himl && !(infoPtr->dwExtStyle & CBES_EX_NOEDITIMAGEINDENT)) { in COMBOEX_AdjustEditPos() 384 ImageList_GetImageInfo(infoPtr->himl, 0, &iinfo); in COMBOEX_AdjustEditPos() 415 if (infoPtr->himl && ImageList_GetImageInfo(infoPtr->himl, 0, &iinfo)) { in COMBOEX_ReSize() 730 static HIMAGELIST COMBOEX_SetImageList (COMBOEX_INFO *infoPtr, HIMAGELIST himl) in COMBOEX_SetImageList() argument 732 HIMAGELIST himlTemp = infoPtr->himl; in COMBOEX_SetImageList() 736 infoPtr->himl = himl; in COMBOEX_SetImageList() 1395 if (infoPtr->himl && !(infoPtr->dwExtStyle & CBES_EX_NOEDITIMAGEINDENT)) { in COMBOEX_DrawItem() 1398 ImageList_GetImageInfo(infoPtr->himl, 0, &iinfo); in COMBOEX_DrawItem() 1442 if (overlay > 0) ImageList_SetOverlayImage (infoPtr->himl, overlay, 1); in COMBOEX_DrawItem() [all …]
|
H A D | header.c | 89 HIMAGELIST himl; /* handle to an image list (may be 0) */ member 1074 HIMAGELIST himl; in HEADER_CreateDragImage() local 1114 himl = ImageList_Create(width, height, ILC_COLORDDB, 1, 1); in HEADER_CreateDragImage() 1115 ImageList_Add(himl, hMemory, NULL); in HEADER_CreateDragImage() 1117 return himl; in HEADER_CreateDragImage() 1215 return (LRESULT)infoPtr->himl; in HEADER_GetImageList() 1495 HEADER_SetImageList (HEADER_INFO *infoPtr, HIMAGELIST himl) in HEADER_SetImageList() argument 1499 TRACE("(himl %p)\n", himl); in HEADER_SetImageList() 1500 himlOld = infoPtr->himl; in HEADER_SetImageList() 1501 infoPtr->himl = himl; in HEADER_SetImageList() [all …]
|
H A D | tab.c | 1173 if (infoPtr->himl) in TAB_SetItemBounds() 1174 ImageList_GetIconSize(infoPtr->himl, &cx, &icon_height); in TAB_SetItemBounds() 1197 if (infoPtr->himl) in TAB_SetItemBounds() 1201 ImageList_GetIconSize(infoPtr->himl, &icon_width, &cy); in TAB_SetItemBounds() 1784 if (infoPtr->himl && item->iImage != -1) in TAB_DrawItemInterior() 1789 ImageList_GetIconSize(infoPtr->himl, &cx, &cy); in TAB_DrawItemInterior() 1847 infoPtr->himl, in TAB_DrawItemInterior() 2943 return (LRESULT)infoPtr->himl; in TAB_GetImageList() 2948 HIMAGELIST himlPrev = infoPtr->himl; in TAB_SetImageList() 2950 infoPtr->himl = himlNew; in TAB_SetImageList() [all …]
|
H A D | listview.c | 4691 HIMAGELIST himl; in LISTVIEW_DrawItemPart() local 8644 HIMAGELIST himl; in LISTVIEW_CreateCheckBoxIL() local 8674 return himl; in LISTVIEW_CreateCheckBoxIL() 8704 HIMAGELIST himl = 0; in LISTVIEW_SetExtendedListViewStyle() local 8717 himl = LISTVIEW_SetImageList(infoPtr, LVSIL_STATE, himl); in LISTVIEW_SetExtendedListViewStyle() 8897 if (himl && ImageList_GetIconSize(himl, &cx, &cy)) in set_icon_size() 8933 infoPtr->himlNormal = himl; in LISTVIEW_SetImageList() 8941 infoPtr->himlSmall = himl; in LISTVIEW_SetImageList() 8949 infoPtr->himlState = himl; in LISTVIEW_SetImageList() 9342 HIMAGELIST himl; in LISTVIEW_SetView() local [all …]
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | imagelist.c | 526 imldp.himl = himl; in test_DrawIndirect() 1809 imldp.himl = himl; in test_IImageList_Draw() 1966 ok(himl == NULL, "got %p\n", himl); in test_create_destroy() 1969 ok(himl == NULL, "got %p\n", himl); in test_create_destroy() 1972 ok(himl == NULL, "got %p\n", himl); in test_create_destroy() 1975 ok(himl == NULL, "got %p\n", himl); in test_create_destroy() 1978 ok(himl == NULL, "got %p\n", himl); in test_create_destroy() 1985 ok(himl != NULL, "got %p\n", himl); in test_create_destroy() 1993 ok(himl != NULL, "got %p\n", himl); in test_create_destroy() 2000 ok(himl != NULL, "got %p\n", himl); in test_create_destroy() [all …]
|
H A D | tab.c | 468 SendMessageA(hwTab, TCM_SETIMAGELIST, 0, (LPARAM)himl); in test_tab() 489 SendMessageA(hwTab, TCM_SETIMAGELIST, 0, (LPARAM)himl); in test_tab() 513 SendMessageA(hwTab, TCM_SETIMAGELIST, 0, (LPARAM)himl); in test_tab() 581 pImageList_Destroy(himl); in test_tab() 1125 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1126 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1127 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1142 i = pImageList_GetImageCount(himl); in test_removeimage() 1155 i = pImageList_GetImageCount(himl); in test_removeimage() 1168 i = pImageList_GetImageCount(himl); in test_removeimage() [all …]
|
H A D | treeview.c | 817 HIMAGELIST himl; in test_get_set_imagelist() local 828 ok(himl == NULL, "NULL image list, reported as %p, expected 0.\n", himl); in test_get_set_imagelist() 2374 ok(himl == NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() 2395 ok(himl != NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() 2399 ok(himl2 == himl, "got %p, expected %p\n", himl2, himl); in test_TVS_CHECKBOXES() 2433 ok(himl != himl2, "got %p, expected %p\n", himl2, himl); in test_TVS_CHECKBOXES() 2442 ok(himl == NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() 2491 ok(himl != NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() 2499 ok(himl == NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() 2503 ok(himl != NULL, "got %p\n", himl); in test_TVS_CHECKBOXES() [all …]
|
H A D | toolbar.c | 490 ok(himl != NULL, "No image list\n"); \ 491 if (himl != NULL) {\ 492 …ok(pImageList_GetImageCount(himl) == count, "Images count mismatch - %d vs %d\n", count, pImageLis… 493 pImageList_GetIconSize(himl, &cx, &cy); \ 505 HIMAGELIST himl; in test_add_bitmap() local 511 HIMAGELIST himl; in test_add_bitmap() local 523 ok(himl != NULL, "Got %p\n", himl); in test_add_bitmap() 529 count = pImageList_GetImageCount(himl); in test_add_bitmap() 719 pImageList_Destroy(himl); in test_add_bitmap() 1357 HIMAGELIST himl, himl2; in test_sizes() local [all …]
|
H A D | button.c | 1758 HIMAGELIST himl; in test_get_set_imagelist() local 1791 biml.himl = 0; in test_get_set_imagelist() 1798 biml.himl = himl; in test_get_set_imagelist() 1804 biml.himl = himl; in test_get_set_imagelist() 1810 ok(biml.himl == himl, "Expect himl to be same\n"); in test_get_set_imagelist() 1819 ok(biml.himl == himl, "Expect himl to be same\n"); in test_get_set_imagelist() 1822 biml.himl = himl; in test_get_set_imagelist() 1832 pImageList_Destroy(himl); in test_get_set_imagelist() 1936 HIMAGELIST himl; in test_bcm_get_ideal_size() local 2044 biml.himl = himl; in test_bcm_get_ideal_size() [all …]
|
H A D | listview.c | 893 HIMAGELIST himl; in test_images() local 904 r = pImageList_Add(himl, hbmp, 0); in test_images() 3765 HIMAGELIST himl, himl2; in test_hittest() local 4030 HIMAGELIST himl, himl_ret; in test_getitemrect() local 4149 r = pImageList_Add(himl, hbm, 0); in test_getitemrect() 4183 ok(himl_ret == himl, "got %p, expected %p\n", himl_ret, himl); in test_getitemrect() 5099 HIMAGELIST himl; in test_approximate_viewrect() local 5713 HIMAGELIST himl; in test_createdragimage() local 5724 ok(himl == NULL, "got %p\n", himl); in test_createdragimage() 5727 ok(himl != NULL, "got %p\n", himl); in test_createdragimage() [all …]
|
H A D | rebar.c | 504 HIMAGELIST himl; in test_layout() local 589 himl = pImageList_LoadImageA(GetModuleHandleA("comctl32"), MAKEINTRESOURCEA(121), 24, 2, in test_layout() 593 ri.himl = himl; in test_layout() 669 pImageList_Destroy(himl); in test_layout()
|
/reactos/base/applications/mscutils/servman/ |
H A D | misc.c | 226 HIMAGELIST himl; in InitImageList() local 231 himl = ImageList_Create(Width, in InitImageList() 236 if (himl == NULL) in InitImageList() 256 ret = ImageList_AddMasked(himl, in InitImageList() 262 ret = ImageList_AddIcon(himl, in InitImageList() 271 ImageList_Destroy(himl); in InitImageList() 272 himl = NULL; in InitImageList() 275 return himl; in InitImageList()
|
/reactos/base/applications/regedit/ |
H A D | treeview.c | 436 HIMAGELIST himl; /* handle to image list */ in InitTreeViewImageLists() local 443 if ((himl = ImageList_Create(cx, cy, ILC_MASK | ILC_COLOR32, 0, NUM_ICONS)) == NULL) in InitTreeViewImageLists() 455 Image_Open = ImageList_AddIcon(himl, hico); in InitTreeViewImageLists() 467 Image_Closed = ImageList_AddIcon(himl, hico); in InitTreeViewImageLists() 479 Image_Root = ImageList_AddIcon(himl, hico); in InitTreeViewImageLists() 484 if (ImageList_GetImageCount(himl) < NUM_ICONS) in InitTreeViewImageLists() 486 ImageList_Destroy(himl); in InitTreeViewImageLists() 491 (void)TreeView_SetImageList(hwndTV, himl, TVSIL_NORMAL); in InitTreeViewImageLists() 757 HIMAGELIST himl; in DestroyTreeView() local 762 himl = TreeView_GetImageList(hwndTV, TVSIL_NORMAL); in DestroyTreeView() [all …]
|
H A D | listview.c | 270 HIMAGELIST himl; /* handle to image list */ in InitListViewImageLists() local 274 if ((himl = ImageList_Create(CX_ICON, CY_ICON, in InitListViewImageLists() 281 Image_Bin = ImageList_AddIcon(himl, hico); in InitListViewImageLists() 284 Image_String = ImageList_AddIcon(himl, hico); in InitListViewImageLists() 287 if (ImageList_GetImageCount(himl) < LISTVIEW_NUM_ICONS) in InitListViewImageLists() 293 (void)ListView_SetImageList(hwndLV, himl, LVSIL_SMALL); in InitListViewImageLists()
|
/reactos/modules/rosapps/applications/explorer-old/ |
H A D | explorer.cpp | 288 HIMAGELIST himl = g_Globals._icon_cache.get_sys_imagelist(); in create_bitmap() local 291 ImageList_GetIconSize(himl, &cx, &cy); in create_bitmap() 296 ImageList_DrawEx(himl, _sys_idx, hdc, 0, 0, cx, cy, bk_color, CLR_DEFAULT, ILD_NORMAL); in create_bitmap() 306 int Icon::add_to_imagelist(HIMAGELIST himl, HDC hdc_wnd, COLORREF bk_color, HBRUSH bk_brush) const in add_to_imagelist() argument 311 HIMAGELIST himl = g_Globals._icon_cache.get_sys_imagelist(); in add_to_imagelist() local 314 ImageList_GetIconSize(himl, &cx, &cy); in add_to_imagelist() 319 ImageList_DrawEx(himl, _sys_idx, hdc, 0, 0, cx, cy, bk_color, CLR_DEFAULT, ILD_NORMAL); in add_to_imagelist() 323 ret = ImageList_Add(himl, hbmp, 0); in add_to_imagelist() 327 ret = ImageList_AddAlphaIcon(himl, _hicon, bk_brush, hdc_wnd); in add_to_imagelist() 366 int ImageList_AddAlphaIcon(HIMAGELIST himl, HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd) in ImageList_AddAlphaIcon() argument [all …]
|
H A D | globals.h | 107 …int add_to_imagelist(HIMAGELIST himl, HDC hdc_wnd, COLORREF bk_color=GetSysColor(COLOR_WINDOW), H… 183 extern int ImageList_AddAlphaIcon(HIMAGELIST himl, HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd);
|
/reactos/dll/cpl/desk/ |
H A D | background.c | 184 HIMAGELIST himl; in AddWallpapersFromDirectory() local 192 himl = ListView_GetImageList(hwndBackgroundList, LVSIL_SMALL); in AddWallpapersFromDirectory() 223 sfi.iIcon = ImageList_AddIcon(himl, sfi.hIcon); in AddWallpapersFromDirectory() 285 HIMAGELIST himl; in AddListViewItems() local 306 himl = ImageList_Create(cx, cy, ILC_COLOR32 | ILC_MASK, 0, 0); in AddListViewItems() 314 ListView_SetImageList(hwndBackgroundList, himl, LVSIL_SMALL); in AddListViewItems() 335 listItem.iImage = ImageList_AddIcon(himl, hIcon); in AddListViewItems() 392 sfi.iIcon = ImageList_AddIcon(himl, sfi.hIcon); in AddListViewItems() 628 HIMAGELIST himl; in OnBrowseButton() local 631 himl = ListView_GetImageList(hwndBackgroundList, LVSIL_SMALL); in OnBrowseButton() [all …]
|
/reactos/modules/rostests/apitests/comctl32/ |
H A D | button.c | 83 ok (imlData.himl == 0, "Expected 0 himl\n"); in Test_Imagelist() 91 imlData.himl = (HIMAGELIST)0xdead; in Test_Imagelist() 97 ok (imlData.himl == (HIMAGELIST)0xdead, "Expected 0 himl\n"); in Test_Imagelist() 101 imlData.himl = 0; in Test_Imagelist() 116 HIMAGELIST himl; in Test_GetIdealSizeNoThemes() local 177 himl = ImageList_LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(5), 1, 1, 0, IMAGE_BITMAP, 0); in Test_GetIdealSizeNoThemes() 178 ok (himl != 0, "Expected ImageList_LoadImage to succeed\n"); in Test_GetIdealSizeNoThemes() 181 imlData.himl = himl; in Test_GetIdealSizeNoThemes()
|
/reactos/sdk/include/psdk/ |
H A D | commctrl.h | 330 HIMAGELIST himl; member 371 _In_ HIMAGELIST himl, 378 _In_ HIMAGELIST himl, 386 _In_ HIMAGELIST himl, 394 _In_ HIMAGELIST himl, 415 #define ImageList_AddIcon(himl,hicon) ImageList_ReplaceIcon(himl,-1,hicon) argument 556 #define ImageList_RemoveAll(himl) ImageList_Remove(himl,-1) argument 557 #define ImageList_ExtractIcon(hi,himl,i) ImageList_GetIcon(himl,i,0) argument 1483 HIMAGELIST himl; member 1485 HANDLE himl; member [all …]
|
/reactos/sdk/include/reactos/ui/ |
H A D | rosctrls.h | 91 HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList) in SetImageList() argument 93 … return (HIMAGELIST)SendMessage(LVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl)); in SetImageList() 424 HIMAGELIST SetImageList(HIMAGELIST himl) in SetImageList() argument 426 return (HIMAGELIST)SendMessageW(TB_SETIMAGELIST, 0, reinterpret_cast<LPARAM>(himl)); in SetImageList() 530 HIMAGELIST SetImageList(HIMAGELIST himl, int iImageList) in SetImageList() argument 532 … return (HIMAGELIST) SendMessage(TVM_SETIMAGELIST, iImageList, reinterpret_cast<LPARAM>(himl)); in SetImageList()
|
/reactos/dll/cpl/mmsys/ |
H A D | sounds.c | 1094 HIMAGELIST himl; in InitImageList() local 1099 himl = ImageList_Create(Width, in InitImageList() 1104 if (himl == NULL) in InitImageList() 1124 ret = ImageList_AddMasked(himl, in InitImageList() 1130 ret = ImageList_AddIcon(himl, in InitImageList() 1139 ImageList_Destroy(himl); in InitImageList() 1140 himl = NULL; in InitImageList() 1143 return himl; in InitImageList()
|
/reactos/modules/rostests/win32/comctl32/buttonvistest/ |
H A D | buttonvistest.cpp | 11 HIMAGELIST himl; variable 163 …himl = ImageList_LoadImageW(hInstance, MAKEINTRESOURCEW(IDB_BITMAP2), 16, 0, CLR_DEFAULT, IMAGE_BI… in wWinMain() 164 BUTTON_IMAGELIST btniml = {himl, {1,1,1,1}, BUTTON_IMAGELIST_ALIGN_LEFT}; in wWinMain()
|