ReactOS
0.4.15-dev-1619-g69dffed
|
#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(), msi_seltree_create_imagelist(), CRootNode::SetupNode(), TREEVIEW_CreateDragImage(), and ViewDlg_CreateTreeImageList().
INT WINAPI ImageList_AddIcon | ( | HIMAGELIST | himl, |
HICON | hIcon | ||
) |
Definition at line 540 of file imagelist.c.
Referenced by add_zone_to_listview(), COpenWithDialog::AddApp(), CAppsListView::AddAvailableApplication(), CNotifyToolbar::AddButton(), CSideTreeView::AddCategory(), CMainToolbar::AddImageToImageList(), CAppsListView::AddInstalledApplication(), AddListViewItems(), AddOrUpdateHwnd(), AddToInputListView(), AddWallpapersFromDirectory(), Control_WndProc_Create(), DriveDlgProc(), EditTypeDlg_UpdateEntryIcon(), EnumerateConnectedDrives(), FILEDLG95_InitControls(), FileTypesDlg_InsertToLV(), ShellBrowser::get_image_idx(), GetGeneralGroupData(), GetUserMembershipData(), COpenWithDialog::Init(), InitGroupMembersList(), InitImageList(), InitInstance(), InitListViewImage(), InitListViewImageLists(), InitTreeViewImageLists(), InitUserGroupsList(), OnBrowseButton(), OnGroupsPageInitDialog(), OnInitDialog(), PROPSHEET_CollectPageInfo(), CNotifyToolbar::ResizeImagelist(), SetupDiGetClassImageListExW(), SIC_IconAppend(), UpgradeRepairDlgProc(), and ViewTree_AddIcon().
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(), ImageList_LoadImageW(), ImageListImpl_AddMasked(), ImageView_CreateToolBar(), init_hierarchy_page(), InitImageList(), LV_Init(), CToolBox::OnCreate(), 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(), CAppsListView::Create(), CreateDragImage(), CShellLink::CreateShortcutIcon(), CreateStateImageList(), DriveDlgProc(), EnumerateConnectedDrives(), FILEDLG95_InitControls(), FileTypesDlg_DoList(), GetGeneralGroupData(), GetUserMembershipData(), GROUP_GroupWndProc(), HEADER_CreateDragImage(), ImageList_BeginDrag(), ImageList_Duplicate(), ImageList_LoadImageW(), ImageList_Merge(), ImageList_Read(), ImageView_CreateToolBar(), COpenWithDialog::Init(), init_functions(), init_hierarchy_page(), InitGroupMembersList(), CNotifyToolbar::Initialize(), InitImageList(), CMainToolbar::InitImageList(), InitInstance(), InitListViewImage(), InitListViewImageLists(), InitTreeViewImageLists(), InitUserGroupsList(), ShellBrowser::invalidate_cache(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LV_Init(), MainFrameBase::MainFrameBase(), msi_seltree_create_imagelist(), CToolBox::OnCreate(), CTaskSwitchWnd::OnCreate(), OnGroupsPageInitDialog(), OnInitDialog(), OnInitSettingsPage(), PROPSHEET_CollectPageInfo(), CNotifyToolbar::ResizeImagelist(), security_on_initdialog(), SecurityPageProc(), select_cert_dlg_proc(), CBaseBarSite::SetDeskBarSite(), SetImageList(), SetupDiGetClassImageListExW(), ShellBrowser::ShellBrowser(), SIC_Initialize(), ThemePageDlgProc(), TOOLBAR_AddBitmap(), TOOLBAR_CheckImageListIconSize(), TREEVIEW_CreateDragImage(), TREEVIEW_InitCheckboxes(), UpgradeRepairDlgProc(), and ViewDlg_CreateTreeImageList().
|
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(), CToolsBand::CloseDW(), CAddressBand::CloseDW(), CMainToolbar::Create(), CShellLink::CreateShortcutIcon(), CreateStateImageList(), DependenciesPageProc(), CSideTreeView::DestroyImageList(), DestroySecurityPage(), DestroyTreeView(), DriveDlgProc(), ExitInstance(), FileOpenDlgProc95(), FloatToolbarCreateHistoryGui(), FloatToolbarCreateToolsGui(), GROUP_GroupWndProc(), HEADER_MouseMove(), hierarchy_callback(), iewnd_OnDestroy(), ImageList_Create(), ImageList_EndDrag(), ImageList_SetDragCursorImage(), ImageListImpl_Clone(), ImageListImpl_Merge(), ImageView_CreateToolBar(), init_functions(), InitImageList(), InitTreeViewImageLists(), ShellBrowser::invalidate_cache(), LISTVIEW_NCDestroy(), LISTVIEW_SetExtendedListViewStyle(), MainWndCreateToolbarClient(), OnInitSettingsPage(), pCreateToolbar(), PROPSHEET_CleanUp(), ReleaseHelpViewer(), CNotifyToolbar::ResizeImagelist(), security_on_destroy(), select_cert_dlg_proc(), SetImageList(), SetupDiDestroyClassImageList(), SHGetImageList(), SIC_Destroy(), SIC_Initialize(), SoundsDlgProc(), TOOLBAR_CheckImageListIconSize(), TOOLBAR_Destroy(), TreeListProc(), TreeView_Cleanup(), TV1_Initialize(), TV2_Initialize(), UpgradeRepairDlgProc(), COpenWithDialog::~COpenWithDialog(), CStartButton::~CStartButton(), 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(), COMBOEX_DrawItem(), 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(), 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(), 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 ImageList_Create(), ImageList_CreateImage(), ImageList_Duplicate(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_SetIconSize(), and ImageList_SetImageCount().
COLORREF WINAPI ImageList_GetBkColor | ( | HIMAGELIST | himl | ) |
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 COMBOEX_AdjustEditPos(), COMBOEX_DrawItem(), COMBOEX_ReSize(), 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(), show_frame(), 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.