ReactOS 0.4.16-dev-311-g9382aa2
|
Go to the source code of this file.
Classes | |
struct | FileTypeInfo |
management of file types More... | |
struct | FileTypeManager |
struct | Icon |
struct | SysCacheIcon |
struct | IconCache |
struct | Desktop |
struct | Desktops |
struct | ExplorerGlobals |
structure containing global variables of Explorer More... | |
struct | ResString |
convenient loading of string resources More... | |
struct | ResIcon |
convenient loading of standard (32x32) icon resources More... | |
struct | SmallIcon |
convenient loading of small (16x16) icon resources More... | |
struct | ResIconEx |
convenient loading of icon resources with specified sizes More... | |
struct | ResBitmap |
convenient loading of bitmap resources More... | |
Macros | |
#define | ICON_SIZE_SMALL 16 |
#define | ICON_SIZE_MIDDLE 24 |
#define | ICON_SIZE_LARGE 32 |
#define | STARTMENUROOT_ICON_SIZE ICON_SIZE_MIDDLE |
#define | ICON_SIZE_FROM_ICF(flags) (flags&ICF_LARGE? ICON_SIZE_LARGE: flags&ICF_MIDDLE? ICON_SIZE_MIDDLE: ICON_SIZE_SMALL) |
#define | ICF_FROM_ICON_SIZE(size) (size>=ICON_SIZE_LARGE? ICF_LARGE: size>=ICON_SIZE_MIDDLE? ICF_MIDDLE: (ICONCACHE_FLAGS)0) |
#define | DESKTOP_COUNT 4 |
Typedefs | |
typedef pair< HWND, DWORD > | MinimizeStruct |
desktop management | |
typedef Desktop | DesktopRef |
Enumerations | |
enum | ICON_TYPE { IT_STATIC , IT_CACHED , IT_DYNAMIC , IT_SYSCACHE } |
enum | ICON_ID { ICID_UNKNOWN , ICID_NONE , ICID_FOLDER , ICID_APP , ICID_EXPLORER , ICID_CONFIG , ICID_DOCUMENTS , ICID_FAVORITES , ICID_INFO , ICID_APPS , ICID_SEARCH , ICID_ACTION , ICID_SEARCH_DOC , ICID_PRINTER , ICID_NETWORK , ICID_COMPUTER , ICID_LOGOFF , ICID_SHUTDOWN , ICID_RESTART , ICID_BOOKMARK , ICID_MINIMIZE , ICID_CONTROLPAN , ICID_DESKSETTING , ICID_NETCONNS , ICID_ADMIN , ICID_RECENT , ICID_DYNAMIC } |
Functions | |
HBITMAP | create_bitmap_from_icon (HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd) |
create a bitmap from an icon | |
int | ImageList_AddAlphaIcon (HIMAGELIST himl, HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd) |
add icon with alpha channel to imagelist using the specified background color | |
HICON | get_window_icon_small (HWND hwnd) |
retrieve icon from window | |
HICON | get_window_icon_big (HWND hwnd, bool allow_from_class=true) |
void | SetWindowIcon (HWND hwnd, UINT nid) |
set big and small icons out of the resources for a window | |
Variables | |
struct ExplorerGlobals | g_Globals |
#define ICF_FROM_ICON_SIZE | ( | size | ) | (size>=ICON_SIZE_LARGE? ICF_LARGE: size>=ICON_SIZE_MIDDLE? ICF_MIDDLE: (ICONCACHE_FLAGS)0) |
#define ICON_SIZE_FROM_ICF | ( | flags | ) | (flags&ICF_LARGE? ICON_SIZE_LARGE: flags&ICF_MIDDLE? ICON_SIZE_MIDDLE: ICON_SIZE_SMALL) |
#define STARTMENUROOT_ICON_SIZE ICON_SIZE_MIDDLE |
typedef Desktop DesktopRef |
typedef pair<HWND, DWORD> MinimizeStruct |
Definition at line 62 of file globals.h.
Enumerator | |
---|---|
IT_STATIC | |
IT_CACHED | |
IT_DYNAMIC | |
IT_SYSCACHE |
create a bitmap from an icon
Definition at line 332 of file explorer.cpp.
Referenced by Icon::create_bitmap(), TaskBar::EnumWndProc(), and ImageList_AddAlphaIcon().
Definition at line 347 of file taskbar.cpp.
retrieve icon from window
Definition at line 323 of file taskbar.cpp.
Referenced by TaskBar::EnumWndProc().
int ImageList_AddAlphaIcon | ( | HIMAGELIST | himl, |
HICON | hIcon, | ||
HBRUSH | hbrush_bkgnd, | ||
HDC | hdc_wnd | ||
) |
add icon with alpha channel to imagelist using the specified background color
Definition at line 366 of file explorer.cpp.
Referenced by Icon::add_to_imagelist(), MainFrameBase::FillBookmarks(), TrayNotifyDlg::InsertItem(), and TrayNotifyDlg::TrayNotifyDlg().
set big and small icons out of the resources for a window
Definition at line 689 of file explorer.cpp.
Referenced by DesktopBar::DesktopBar(), ExplorerAboutDlg::ExplorerAboutDlg(), FindProgramDlg::FindProgramDlg(), and TrayNotifyDlg::TrayNotifyDlg().