ReactOS 0.4.16-dev-91-g764881a
|
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "commctrl.h"
#include "comctl32.h"
#include "commoncontrols.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "wine/heap.h"
#include "pshpack2.h"
#include "poppack.h"
Go to the source code of this file.
Classes | |
struct | _IMAGELIST |
struct | _ILHEAD |
struct | INTERNALDRAG |
Macros | |
#define | COBJMACROS |
#define | MAX_OVERLAYIMAGE 15 |
#define | IMAGELIST_MAGIC 0x53414D58 |
#define | TILE_COUNT 4 |
Typedefs | |
typedef struct _ILHEAD | ILHEAD |
Variables | |
static INTERNALDRAG | InternalDrag = { 0, 0, 0, 0, 0, 0, 0, FALSE, 0 } |
static const IImageList2Vtbl | ImageListImpl_Vtbl |
#define COBJMACROS |
Definition at line 35 of file imagelist.c.
#define IMAGELIST_MAGIC 0x53414D58 |
Definition at line 117 of file imagelist.c.
#define MAX_OVERLAYIMAGE 15 |
Definition at line 52 of file imagelist.c.
#define TILE_COUNT 4 |
Definition at line 179 of file imagelist.c.
Definition at line 3197 of file imagelist.c.
Referenced by ImageList_Write().
|
static |
Definition at line 234 of file imagelist.c.
Referenced by add_with_alpha(), and ImageList_Read().
|
static |
Definition at line 285 of file imagelist.c.
Referenced by ImageList_Add(), ImageList_Replace(), and ImageList_ReplaceIcon().
|
static |
Definition at line 1289 of file imagelist.c.
Referenced by ImageList_DrawIndirect().
|
inlinestatic |
Definition at line 203 of file imagelist.c.
Referenced by MFDRV_StretchBlt(), and read_bitmap().
Definition at line 198 of file imagelist.c.
Referenced by _write_bitmap(), EMFDRV_StretchBlt(), get_dib_image_size(), MFDRV_CreateBrushIndirect(), and MFDRV_StretchBlt().
HRESULT WINAPI HIMAGELIST_QueryInterface | ( | HIMAGELIST | himl, |
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 4038 of file imagelist.c.
Referenced by ImageListImpl_Clone(), ImageListImpl_GetDragImage(), ImageListImpl_Merge(), init_functions(), and SHGetImageList().
INT WINAPI ImageList_Add | ( | HIMAGELIST | himl, |
HBITMAP | hbmImage, | ||
HBITMAP | hbmMask | ||
) |
Definition at line 448 of file imagelist.c.
Referenced by Icon::add_to_imagelist(), AddContentTab(), HEADER_CreateDragImage(), ImageList_AddAlphaIcon(), ImageList_AddMasked(), ImageList_LoadImageW(), ImageListImpl_Add(), init_functions(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), seltree_create_imagelist(), CRootNode::SetupNode(), and TREEVIEW_CreateDragImage().
INT WINAPI ImageList_AddIcon | ( | HIMAGELIST | himl, |
HICON | hIcon | ||
) |
Definition at line 540 of file imagelist.c.
INT WINAPI ImageList_AddMasked | ( | HIMAGELIST | himl, |
HBITMAP | hBitmap, | ||
COLORREF | clrMask | ||
) |
Definition at line 563 of file imagelist.c.
Referenced by cert_mgr_advanced_dlg_proc(), cert_mgr_dlg_proc(), cert_properties_general_dlg_proc(), CreateDragImage(), CShellLink::CreateShortcutIcon(), CreateStateImageList(), CPaintToolBar::DoCreate(), ImageList_LoadImageW(), ImageListImpl_AddMasked(), init_hierarchy_page(), InitImageList(), LV_Init(), Preview_CreateToolBar(), SecurityPageProc(), select_cert_dlg_proc(), CBaseBarSite::SetDeskBarSite(), SetImageList(), ThemePageDlgProc(), TOOLBAR_AddBitmapToImageList(), TOOLBAR_ReplaceBitmap(), and TREEVIEW_InitCheckboxes().
Definition at line 638 of file imagelist.c.
Referenced by GROUP_GroupWndProc(), HEADER_MouseMove(), ImageListImpl_BeginDrag(), init_functions(), and CDefView::OnNotify().
HRESULT WINAPI ImageList_CoCreateInstance | ( | REFCLSID | rclsid, |
const IUnknown * | punkOuter, | ||
REFIID | riid, | ||
void ** | ppv | ||
) |
Definition at line 3430 of file imagelist.c.
Referenced by init_functions().
BOOL WINAPI ImageList_Copy | ( | HIMAGELIST | himlDst, |
INT | iDst, | ||
HIMAGELIST | himlSrc, | ||
INT | iSrc, | ||
UINT | uFlags | ||
) |
Definition at line 706 of file imagelist.c.
Referenced by ImageListImpl_Copy(), and init_functions().
|
inlinestatic |
Definition at line 215 of file imagelist.c.
Referenced by ImageList_Remove(), and ImageList_SetImageCount().
Definition at line 804 of file imagelist.c.
Referenced by AddContentTab(), AddListViewItems(), ApplicationPageWndProc(), cert_mgr_advanced_dlg_proc(), cert_mgr_dlg_proc(), cert_properties_general_dlg_proc(), Control_CreateListView(), CreateDragImage(), CShellLink::CreateShortcutIcon(), CreateStateImageList(), DesktopOnInitDialog(), dialog_listview(), CPaintToolBar::DoCreate(), EnumerateConnectedDrives(), FILEDLG95_InitControls(), FileTypesDlg_DoList(), GetGeneralGroupData(), CUIFIcon::GetImageList(), GetUserMembershipData(), GROUP_GroupWndProc(), HEADER_CreateDragImage(), ImageList_BeginDrag(), ImageList_Duplicate(), ImageList_LoadImageW(), ImageList_Merge(), ImageList_Read(), COpenWithDialog::Init(), init_functions(), init_hierarchy_page(), InitGroupMembersList(), CNotifyToolbar::Initialize(), CMainToolbar::InitImageList(), InitImageList(), InitInstance(), InitListViewImage(), InitListViewImageLists(), InitPartitionList(), InitTreeViewImageLists(), InitUserGroupsList(), ShellBrowser::invalidate_cache(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LV_Init(), MainFrameBase::MainFrameBase(), CTaskSwitchWnd::OnCreate(), OnGroupsPageInitDialog(), OnInitDialog(), OnInitSettingsPage(), Preview_CreateToolBar(), PROPSHEET_CollectPageInfo(), CNotifyToolbar::ResizeImagelist(), security_on_initdialog(), SecurityPageProc(), select_cert_dlg_proc(), seltree_create_imagelist(), CBaseBarSite::SetDeskBarSite(), CAppsListView::SetDisplayAppType(), SetImageList(), SetupDiGetClassImageListExW(), ShellBrowser::ShellBrowser(), SIC_Initialize(), ThemePageDlgProc(), TOOLBAR_AddBitmap(), TOOLBAR_CheckImageListIconSize(), TREEVIEW_CreateDragImage(), TREEVIEW_InitCheckboxes(), and UpgradeRepairDlgProc().
|
static |
Definition at line 3326 of file imagelist.c.
Referenced by ImageList_Create(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_SetIconSize(), and ImageList_SetImageCount().
BOOL WINAPI ImageList_Destroy | ( | HIMAGELIST | himl | ) |
Definition at line 928 of file imagelist.c.
Referenced by cert_mgr_advanced_dlg_proc(), cert_mgr_dlg_proc(), cert_properties_general_callback(), CleanupPartitionList(), CAddressBand::CloseDW(), CToolsBand::CloseDW(), CMainToolbar::Create(), CShellLink::CreateShortcutIcon(), CreateStateImageList(), DependenciesPageProc(), DesktopOnDestroyDialog(), destroy_control(), CSideTreeView::DestroyImageList(), DestroyTreeView(), FileOpenDlgProc95(), GROUP_GroupWndProc(), HEADER_MouseMove(), hierarchy_callback(), iewnd_OnDestroy(), ImageList_Create(), ImageList_EndDrag(), ImageList_SetDragCursorImage(), ImageListImpl_Clone(), ImageListImpl_Merge(), init_functions(), InitImageList(), InitTreeViewImageLists(), ShellBrowser::invalidate_cache(), LISTVIEW_NCDestroy(), LISTVIEW_SetExtendedListViewStyle(), OnInitSettingsPage(), CUIFIcon::operator=(), pCreateToolbar(), Preview_CreateToolBar(), PROPSHEET_CleanUp(), ReleaseHelpViewer(), CNotifyToolbar::ResizeImagelist(), security_on_destroy(), select_cert_dlg_proc(), CAppsListView::SetDisplayAppType(), SetImageList(), SetupDiDestroyClassImageList(), SHGetImageList(), SIC_Destroy(), SIC_Initialize(), SoundsDlgProc(), TOOLBAR_CheckImageListIconSize(), TOOLBAR_Destroy(), TreeListProc(), TreeView_Cleanup(), TV1_Initialize(), TV2_Initialize(), UpgradeRepairDlgProc(), CAppsListView::~CAppsListView(), COpenWithDialog::~COpenWithDialog(), CStartButton::~CStartButton(), CUIFButton::~CUIFButton(), MainFrameBase::~MainFrameBase(), Pane::~Pane(), ShellBrowser::~ShellBrowser(), and TrayNotifyDlg::~TrayNotifyDlg().
Definition at line 958 of file imagelist.c.
Referenced by CDefView::DragEnter(), GROUP_GroupWndProc(), and ImageListImpl_DragEnter().
Definition at line 992 of file imagelist.c.
Referenced by CDefView::DragLeave(), CDefView::Drop(), GROUP_GroupWndProc(), and ImageListImpl_DragLeave().
Definition at line 1070 of file imagelist.c.
Referenced by CDefView::DragOver(), GROUP_GroupWndProc(), HEADER_MouseMove(), and ImageListImpl_DragMove().
Definition at line 1153 of file imagelist.c.
Referenced by HEADER_LButtonUp(), HEADER_MouseMove(), HEADER_Refresh(), ImageList_DragEnter(), ImageList_DragLeave(), ImageList_SetDragCursorImage(), and ImageListImpl_DragShowNolock().
Definition at line 1228 of file imagelist.c.
Referenced by CFn_WMDrawItem(), CreateDragImage(), FILEDLG95_LOOKIN_DrawItem(), FileMenu_DrawItem(), init_functions(), LISTVIEW_DrawItemPart(), REBAR_DrawBand(), TAB_DrawItemInterior(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DrawImage(), TreeListDraw(), TREEVIEW_CreateDragImage(), and TREEVIEW_DrawItem().
BOOL WINAPI ImageList_DrawEx | ( | HIMAGELIST | himl, |
INT | i, | ||
HDC | hdc, | ||
INT | x, | ||
INT | y, | ||
INT | dx, | ||
INT | dy, | ||
COLORREF | rgbBk, | ||
COLORREF | rgbFg, | ||
UINT | fStyle | ||
) |
Definition at line 1264 of file imagelist.c.
Referenced by Icon::add_to_imagelist(), Icon::create_bitmap(), Icon::draw(), Pane::draw_item(), HEADER_DrawItem(), ImageList_Draw(), LISTVIEW_DrawItemPart(), TOOLBAR_DrawMasked(), and TREEVIEW_DrawItem().
BOOL WINAPI ImageList_DrawIndirect | ( | IMAGELISTDRAWPARAMS * | pimldp | ) |
Definition at line 1525 of file imagelist.c.
Referenced by ImageList_DrawEx(), ImageList_InternalDragDraw(), ImageListImpl_Draw(), init_functions(), and TOOLBAR_DrawImage().
HIMAGELIST WINAPI ImageList_Duplicate | ( | HIMAGELIST | himlSrc | ) |
Definition at line 1801 of file imagelist.c.
Referenced by ImageListImpl_Clone(), CNetConnectionPropertyUi::InitializeLANPropertiesUIDlg(), and SHGetImageList().
Definition at line 1847 of file imagelist.c.
Referenced by CDefView::Drop(), GROUP_GroupWndProc(), HEADER_LButtonUp(), ImageListImpl_EndDrag(), and init_functions().
|
inlinestatic |
Definition at line 192 of file imagelist.c.
Referenced by check_iml_data(), ImageList_Create(), ImageList_CreateImage(), ImageList_Duplicate(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_SetIconSize(), and ImageList_SetImageCount().
COLORREF WINAPI ImageList_GetBkColor | ( | HIMAGELIST | himl | ) |
Definition at line 1879 of file imagelist.c.
Referenced by ImageListImpl_GetBkColor().
HIMAGELIST WINAPI ImageList_GetDragImage | ( | POINT * | ppt, |
POINT * | pptHotspot | ||
) |
Definition at line 1900 of file imagelist.c.
Referenced by ImageListImpl_GetDragImage(), and init_functions().
DWORD WINAPI ImageList_GetFlags | ( | HIMAGELIST | himl | ) |
HICON WINAPI ImageList_GetIcon | ( | HIMAGELIST | himl, |
INT | i, | ||
UINT | fStyle | ||
) |
Definition at line 1963 of file imagelist.c.
Referenced by CShellBrowser::BrowseToPath(), CShellLink::CreateShortcutIcon(), ImageListImpl_GetIcon(), SHGetFileInfoW(), and SIC_OverlayShortcutImage().
BOOL WINAPI ImageList_GetIconSize | ( | HIMAGELIST | himl, |
INT * | cx, | ||
INT * | cy | ||
) |
Definition at line 2037 of file imagelist.c.
Referenced by Icon::add_to_imagelist(), CFn_WMDrawItem(), CFn_WMMeasureItem(), Icon::create_bitmap(), HEADER_DrawItem(), ImageListImpl_GetIconSize(), init_functions(), LISTVIEW_SetColumnWidth(), LISTVIEW_SetIconSpacing(), REBAR_SetBarInfo(), CNotifyToolbar::ResizeImagelist(), set_icon_size(), TAB_DrawItemInterior(), TAB_SetItemBounds(), TOOLBAR_AddBitmapToImageList(), TOOLBAR_CheckImageListIconSize(), TOOLBAR_DrawMasked(), TOOLBAR_SetImageList(), TREEVIEW_CreateDragImage(), TREEVIEW_SetImageList(), and CTaskSwitchWnd::UpdateButtonsSize().
INT WINAPI ImageList_GetImageCount | ( | HIMAGELIST | himl | ) |
Definition at line 2063 of file imagelist.c.
Referenced by DisplayImageList(), ImageListImpl_GetImageCount(), init_functions(), InitListViewImageLists(), InitTreeViewImageLists(), TOOLBAR_AddBitmapToImageList(), TOOLBAR_CheckImageListIconSize(), TOOLBAR_DrawButton(), TOOLBAR_IsValidBitmapIndex(), TOOLBAR_IsValidImageList(), TOOLBAR_Refresh(), TOOLBAR_ReplaceBitmap(), TOOLBAR_SetBitmapSize(), and TOOLBAR_SetImageList().
BOOL WINAPI ImageList_GetImageInfo | ( | HIMAGELIST | himl, |
INT | i, | ||
IMAGEINFO * | pImageInfo | ||
) |
Definition at line 2088 of file imagelist.c.
Referenced by ImageList_GetImageRect(), ImageListImpl_GetImageInfo(), ImageListImpl_GetImageRect(), init_functions(), TOOLBAR_DrawImage(), and TreeListProc().
BOOL WINAPI ImageList_GetImageRect | ( | HIMAGELIST | himl, |
INT | i, | ||
LPRECT | lpRect | ||
) |
Definition at line 2129 of file imagelist.c.
Definition at line 181 of file imagelist.c.
Referenced by imagelist_copy_images(), and imagelist_get_bitmap_size().
Definition at line 1032 of file imagelist.c.
Referenced by ImageList_DragMove(), and ImageList_DragShowNolock().
|
static |
Definition at line 361 of file imagelist.c.
Referenced by ImageList_Add(), and ImageList_ReplaceIcon().
HIMAGELIST WINAPI ImageList_LoadImageA | ( | HINSTANCE | hi, |
LPCSTR | lpbmp, | ||
INT | cx, | ||
INT | cGrow, | ||
COLORREF | clrMask, | ||
UINT | uType, | ||
UINT | uFlags | ||
) |
Definition at line 2164 of file imagelist.c.
Referenced by init_functions().
HIMAGELIST WINAPI ImageList_LoadImageW | ( | HINSTANCE | hi, |
LPCWSTR | lpbmp, | ||
INT | cx, | ||
INT | cGrow, | ||
COLORREF | clrMask, | ||
UINT | uType, | ||
UINT | uFlags | ||
) |
Definition at line 2208 of file imagelist.c.
Referenced by CFn_WMInitDialog(), CFn_WMMeasureItem(), create_rebar(), CAddressBand::CreateGoButton(), ImageList_LoadImageA(), init_functions(), CStartButton::Initialize(), CToolsBand::SetSite(), and wWinMain().
HIMAGELIST WINAPI ImageList_Merge | ( | HIMAGELIST | himl1, |
INT | i1, | ||
HIMAGELIST | himl2, | ||
INT | i2, | ||
INT | dx, | ||
INT | dy | ||
) |
Definition at line 2300 of file imagelist.c.
Referenced by GROUP_GroupWndProc(), ImageList_SetDragCursorImage(), ImageListImpl_Merge(), and init_functions().
|
inlinestatic |
Definition at line 186 of file imagelist.c.
Referenced by add_dib_bits(), ImageList_Add(), ImageList_BeginDrag(), ImageList_Copy(), imagelist_copy_images(), ImageList_DrawIndirect(), ImageList_GetIcon(), ImageList_GetImageInfo(), ImageList_GetImageRect(), ImageList_Merge(), ImageList_Replace(), and ImageList_ReplaceIcon().
HIMAGELIST WINAPI ImageList_Read | ( | IStream * | pstm | ) |
Definition at line 2463 of file imagelist.c.
Referenced by init_functions().
BOOL WINAPI ImageList_Remove | ( | HIMAGELIST | himl, |
INT | i | ||
) |
Definition at line 2568 of file imagelist.c.
Referenced by ApplicationPageRefreshThread(), ImageListImpl_Remove(), init_functions(), CNotifyToolbar::RemoveButton(), CTaskSwitchWnd::RemoveIcon(), SIC_IconAppend(), TAB_RemoveImage(), and TOOLBAR_ReplaceBitmap().
Definition at line 2703 of file imagelist.c.
Referenced by ImageListImpl_Replace(), and init_functions().
INT WINAPI ImageList_ReplaceIcon | ( | HIMAGELIST | himl, |
INT | nIndex, | ||
HICON | hIcon | ||
) |
Definition at line 2779 of file imagelist.c.
Referenced by AddOrUpdateHwnd(), CTaskSwitchWnd::AddTaskItemButton(), DesktopPageProc(), CUIFIcon::GetImageList(), ImageList_AddIcon(), ImageListImpl_ReplaceIcon(), init_functions(), PROGRAM_AddProgram(), CNotifyToolbar::UpdateButton(), and CTaskSwitchWnd::UpdateTaskItemButton().
COLORREF WINAPI ImageList_SetBkColor | ( | HIMAGELIST | himl, |
COLORREF | clrBk | ||
) |
Definition at line 2889 of file imagelist.c.
Referenced by cert_mgr_advanced_dlg_proc(), cert_mgr_dlg_proc(), cert_properties_general_dlg_proc(), ImageList_Read(), ImageListImpl_SetBkColor(), init_hierarchy_page(), ShellBrowser::invalidate_cache(), LISTVIEW_SetImageList(), select_cert_dlg_proc(), SetupDiGetClassImageListExW(), and ShellBrowser::ShellBrowser().
UINT WINAPI ImageList_SetColorTable | ( | HIMAGELIST | himl, |
UINT | uStartIndex, | ||
UINT | cEntries, | ||
const RGBQUAD * | prgb | ||
) |
Definition at line 3403 of file imagelist.c.
Referenced by ImageList_Add(), and init_functions().
BOOL WINAPI ImageList_SetDragCursorImage | ( | HIMAGELIST | himlDrag, |
INT | iDrag, | ||
INT | dxHotspot, | ||
INT | dyHotspot | ||
) |
Definition at line 2928 of file imagelist.c.
Referenced by ImageListImpl_SetDragCursorImage(), and init_functions().
BOOL WINAPI ImageList_SetFilter | ( | HIMAGELIST | himl, |
INT | i, | ||
DWORD | dwFilter | ||
) |
DWORD WINAPI ImageList_SetFlags | ( | HIMAGELIST | himl, |
DWORD | flags | ||
) |
Definition at line 3015 of file imagelist.c.
BOOL WINAPI ImageList_SetIconSize | ( | HIMAGELIST | himl, |
INT | cx, | ||
INT | cy | ||
) |
Definition at line 3038 of file imagelist.c.
Referenced by ImageListImpl_SetIconSize(), TOOLBAR_SetBitmapSize(), and CTaskSwitchWnd::UpdateButtonsSize().
BOOL WINAPI ImageList_SetImageCount | ( | HIMAGELIST | himl, |
UINT | iImageCount | ||
) |
Definition at line 3089 of file imagelist.c.
Referenced by ImageListImpl_SetImageCount(), init_functions(), and TOOLBAR_AddBitmapToImageList().
BOOL WINAPI ImageList_SetOverlayImage | ( | HIMAGELIST | himl, |
INT | iImage, | ||
INT | iOverlay | ||
) |
Definition at line 3180 of file imagelist.c.
Referenced by ImageList_Read(), ImageListImpl_SetOverlayImage(), and SetupDiGetClassImageListExW().
BOOL WINAPI ImageList_Write | ( | HIMAGELIST | himl, |
IStream * | pstm | ||
) |
Definition at line 3283 of file imagelist.c.
Referenced by init_functions().
|
static |
Definition at line 3511 of file imagelist.c.
|
static |
Definition at line 3561 of file imagelist.c.
|
static |
Definition at line 3470 of file imagelist.c.
|
static |
Definition at line 3771 of file imagelist.c.
|
static |
Definition at line 3692 of file imagelist.c.
|
static |
Definition at line 3628 of file imagelist.c.
|
static |
Definition at line 4044 of file imagelist.c.
Referenced by ImageList_CoCreateInstance(), and ImageList_Create().
|
static |
Definition at line 3914 of file imagelist.c.
|
static |
Definition at line 3784 of file imagelist.c.