45 typedef map<String, FileTypeInfo>
super;
139 const Icon& add(
int sys_idx);
141 const Icon& get_icon(
int icon_id);
145 void free_icon(
int icon_id);
169 #define ICON_SIZE_SMALL 16 // GetSystemMetrics(SM_CXSMICON) 170 #define ICON_SIZE_MIDDLE 24 // special size for start menu root icons 171 #define ICON_SIZE_LARGE 32 // GetSystemMetrics(SM_CXICON) 173 #define STARTMENUROOT_ICON_SIZE ICON_SIZE_MIDDLE // ICON_SIZE_LARGE 175 #define ICON_SIZE_FROM_ICF(flags) (flags&ICF_LARGE? ICON_SIZE_LARGE: flags&ICF_MIDDLE? ICON_SIZE_MIDDLE: ICON_SIZE_SMALL) 176 #define ICF_FROM_ICON_SIZE(size) (size>=ICON_SIZE_LARGE? ICF_LARGE: size>=ICON_SIZE_MIDDLE? ICF_MIDDLE: (ICONCACHE_FLAGS)0) 199 DesktopThreadPtr _pThread;
200 WindowHandle _hwndDesktop;
210 struct DesktopThread :
public Thread 212 DesktopThread(
Desktop& desktop)
238 #define DESKTOP_COUNT 4 246 void SwitchToDesktop(
int idx);
247 void ToggleMinimize();
250 DesktopRef& get_current_Desktop() {
return (*
this)[_current_desktop];}
264 void read_persistent();
265 void write_persistent();
313 operator HICON()
const {
return _hicon;}
324 operator HICON()
const {
return _hicon;}
335 operator HICON()
const {
return _hicon;}
convenient loading of standard (32x32) icon resources
GLubyte GLubyte GLubyte GLubyte w
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
SysCacheIcon(int id, int sys_idx)
list< MinimizeStruct > _minimized
FileTypeManager _ftype_mgr
BOOL WINAPI DestroyIcon(_In_ HICON)
map< PidlCacheKey, ICON_ID > PidlCacheMap
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
HICON get_window_icon_big(HWND hwnd, bool allow_from_class=true)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
GLint GLint GLint GLint GLint x
DWORD WINAPI GetSysColor(_In_ int)
BOOL extract(char *filename, const bin_file *bin)
GLfloat GLfloat GLfloat GLfloat h
HIMAGELIST _himlSys_small
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
pair< HWND, DWORD > MinimizeStruct
desktop management
_Out_opt_ int _Out_opt_ int * cy
convenient loading of icon resources with specified sizes
static CHAR Desktop[MAX_PATH]
pair< String, pair< int, int > > IdxCacheKey
convenient loading of small (16x16) icon resources
map< IdxCacheKey, ICON_ID > IdxCacheMap
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
map< CacheKey, ICON_ID > PathCacheMap
WindowHandle _hwndForeground
convenient loading of bitmap resources
pair< ShellPath, int > PidlCacheKey
ICON_TYPE get_icontype() const
map< String, FileTypeInfo > super
static BOOL is_exe_file(LPCWSTR ext)
HBITMAP create_bitmap_from_icon(HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd)
create a bitmap from an icon
structure containing global variables of Explorer
pair< String, int > CacheKey
static HBITMAP create_bitmap(INT cx, INT cy, COLORREF color, const char *comment)
GLint GLint GLint GLint GLint GLint y
int get_sysiml_idx() const
GLuint GLuint GLsizei GLenum type
convenient loading of string resources
HBRUSH WINAPI GetSysColorBrush(_In_ int)
struct ExplorerGlobals g_Globals
HICON get_window_icon_small(HWND hwnd)
retrieve icon from window
wrapper class for item ID lists
void SetWindowIcon(HWND hwnd, UINT nid)
set big and small icons out of the resources for a window
base of all file and directory entries
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum map
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
HIMAGELIST get_sys_imagelist() const