162 if (
size_t(iItem) + 1 <
size())
174 return (*
this)[
size() - 1];
913 DWORD dwToolbarButtonFlags,
static HWND CreateWnd(HINSTANCE hinst, PLARGE_STRING clsName, PLARGE_STRING clsVer, PLARGE_STRING wndName)
static BOOL GetColor(HWND hwndDlg, GLOBALS *g, INT nButton)
static LRESULT OnUser(HWND hWnd)
static LRESULT OnNotify(HWND hWnd, LPARAM lParam)
static VOID OnTimer(IN HWND hwndDlg, IN PSYS_SHUTDOWN_PARAMS pShutdownParams)
decltype(&GetThemeFont) FN_GetThemeFont
void cicUpdateUIFSys(void)
decltype(&GetThemeBackgroundContentRect) FN_GetThemeBackgroundContentRect
decltype(&GetThemeColor) FN_GetThemeColor
@ UIF_BUTTON_V_ALIGN_BOTTOM
@ UIF_BUTTON_H_ALIGN_LEFT
@ UIF_BUTTON_V_ALIGN_MIDDLE
@ UIF_BUTTON_V_ALIGN_MASK
@ UIF_BUTTON_H_ALIGN_CENTER
@ UIF_BUTTON_H_ALIGN_RIGHT
@ UIF_BUTTON_H_ALIGN_MASK
HBITMAP cicMirrorBitmap(HBITMAP hBitmap, HBRUSH hbrBack)
void cicUpdateUIFScheme(void)
decltype(&OpenThemeData) FN_OpenThemeData
void cicDrawMaskBmpOnDC(HDC hDC, LPCRECT prc, HBITMAP hbmp, HBITMAP hbmpMask)
HBITMAP cicCreateDisabledBitmap(LPCRECT prc, HBITMAP hbmMask, HBRUSH hbr1, HBRUSH hbr2, BOOL bPressed)
@ UIF_WINDOW_ENABLETHEMED
BOOL cicGetIconBitmaps(HICON hIcon, HBITMAP *hbm1, HBITMAP *hbm2, const SIZE *pSize)
decltype(&GetThemeSysColor) FN_GetThemeSysColor
decltype(&DrawThemeBackground) FN_DrawThemeBackground
void cicInitUIFScheme(void)
HBRUSH cicCreateDitherBrush(VOID)
decltype(&GetThemeTextExtent) FN_GetThemeTextExtent
CUIFScheme * cicCreateUIFScheme(DWORD type)
@unimplemented
BOOL cicIsFullScreenSize(HWND hWnd)
decltype(&CloseThemeData) FN_CloseThemeData
decltype(&DrawThemeParentBackground) FN_DrawThemeParentBackground
HBITMAP cicCreateShadowMaskBmp(LPRECT prc, HBITMAP hbm1, HBITMAP hbm2, HBRUSH hbr1, HBRUSH hbr2)
void cicGetScreenRect(POINT pt, LPRECT prc)
HBITMAP cicCreateMaskBmp(LPCRECT prc, HBITMAP hbm1, HBITMAP hbm2, HBRUSH hbr, COLORREF rgbColor, COLORREF rgbBack)
void cicGetWorkAreaRect(POINT pt, LPRECT prc)
@ UIF_BALLOON_WINDOW_YESNO
@ UIF_BALLOON_WINDOW_TYPE_MASK
HBITMAP cicChangeBitmapColor(LPCRECT prc, HBITMAP hbm, COLORREF rgbBack, COLORREF rgbFore)
decltype(&GetThemeMargins) FN_GetThemeMargins
void cicDoneUIFScheme(void)
BOOL cicGetIconSize(HICON hIcon, LPSIZE pSize)
decltype(&DrawThemeIcon) FN_DrawThemeIcon
decltype(&GetThemeBackgroundExtent) FN_GetThemeBackgroundExtent
void cicInitUIFUtil(void)
decltype(&GetThemePartSize) FN_GetThemePartSize
void cicDoneUIFUtil(void)
decltype(&GetThemeSysSize) FN_GetThemeSysSize
decltype(&DrawThemeText) FN_DrawThemeText
decltype(&DrawThemeEdge) FN_DrawThemeEdge
HBITMAP cicConvertBlackBKGBitmap(LPCRECT prc, HBITMAP hbm1, HBITMAP hbm2, HBRUSH hBrush)
STDMETHOD_(LRESULT, OnObjectNotify)(CUIFObject *pObject
void GetButtonSize(LPSIZE pSize)
void AddButton(UINT nCommandId)
COLORREF GetBalloonBkColor()
void SetTargetPos(POINT ptTarget)
STDMETHOD_(LPCTSTR, GetWndTitle)() override
STDMETHOD_(BOOL, Initialize)() override
STDMETHOD_(LPCTSTR, GetClassName)() override
void SetExcludeRect(LPCRECT prcExclude)
CUIFBalloonButton * FindButton(UINT nCommandID)
void SetText(LPCWSTR pszText)
void SendNotification(WPARAM wParam)
STDMETHOD_(void, OnDestroy)(HWND hWnd) override
~CUIFBalloonWindow() override
void PaintMessageProc(HDC hDC, LPRECT prc, LPCWSTR pszText)
STDMETHOD_(void, OnCreate)(HWND hWnd) override
STDMETHOD_(void, OnPaint)(HDC hDC) override
void AdjustPos()
@unimplemented
COLORREF GetBalloonTextColor()
HRGN CreateRegion(LPCRECT prc)
void GetMargin(LPRECT prcMargin)
CUIFObject * FindUIObject(UINT nObjectID)
void PaintFrameProc(HDC hDC, LPCRECT prc)
BOOL SetDIB(LONG cx, LONG cy, WORD cPlanes, WORD cBitCount)
static CUIFBitmapDC * s_phdcDst
void Uninit(BOOL bKeep=FALSE)
static BOOL s_fInitBitmapDCs
static CUIFBitmapDC * s_phdcSrc
static CUIFBitmapDC * s_phdcMask
BOOL SetBitmap(HBITMAP hBitmap)
STDMETHOD_(void, DoneBrush)() override
COLORREF GetColor(INT iColor) const
STDMETHOD_(void, InitBrush)() override
HBRUSH GetBrush(INT iColor)
STDMETHOD_(void, InitColor)() override
STDMETHOD_(void, DoneBrush)() override
COLORREF GetColor(INT iColor) const
STDMETHOD_(void, InitColor)() override
STDMETHOD_(void, InitBrush)() override
HBRUSH GetBrush(INT iColor)
STDMETHOD_(void, InitColor)()=0
STDMETHOD_(void, DoneBrush)()=0
virtual ~CUIFColorTable()
STDMETHOD_(void, InitBrush)()=0
STDMETHOD_(void, DoneColor)()
STDMETHOD_(void, OnLButtonDown)(LONG x
STDMETHOD_(void, OnLButtonUp)(LONG x
STDMETHOD_(BOOL, OnPaintTheme)(HDC hDC) override
STDMETHOD_(void, SetStyle)(DWORD style) override
STDMETHOD_(void, OnPaintNoTheme)(HDC hDC) override
HIMAGELIST GetImageList(BOOL bMirror)
CUIFIcon & operator=(HICON hIcon)
BOOL Add(CUIFObject *pObject)
BOOL Remove(CUIFObject *pObject)
CUIFObject * GetLast() const
STDMETHOD_(BOOL, OnPaintTheme)(HDC hDC)
STDMETHOD_(void, Show)(BOOL bVisible)
STDMETHOD_(void, OnLButtonDown)(LONG x
STDMETHOD_(LRESULT, OnShowToolTip)()
STDMETHOD_(void, SetToolTip)(LPCWSTR pszToolTip)
void SetScheme(CUIFScheme *scheme)
CUIFObject * ObjectFromPoint(POINT pt)
STDMETHOD_(void, CallOnPaint)()
STDMETHOD_(void, Enable)(BOOL bEnable)
STDMETHOD_(void, SetFontToThis)(HFONT hFont)
STDMETHOD_(void, SetFont)(HFONT hFont)
STDMETHOD_(void, OnTimer)()
STDMETHOD_(void, OnPaintNoTheme)(HDC hDC)
STDMETHOD_(void, OnPaint)(HDC hDC)
STDMETHOD_(void, DetachWndObj)()
STDMETHOD_(void, SetRect)(LPCRECT prc)
CUIFObjectArray m_ObjectArray
STDMETHOD_(void, ClearWndObj)()
void StartTimer(WPARAM wParam)
STDMETHOD_(LPCWSTR, GetToolTip)()
STDMETHOD_(void, ClearTheme)()
STDMETHOD_(void, RemoveUIObj)(CUIFObject *pObject)
STDMETHOD_(void, OnHideToolTip)()
STDMETHOD_(void, SetStyle)(DWORD style)
STDMETHOD_(BOOL, Initialize)()
STDMETHOD_(BOOL, PtInObject)(POINT pt)
STDMETHOD_(void, GetRect)(LPRECT prc)
STDMETHOD_(void, AddUIObj)(CUIFObject *pObject)
LRESULT NotifyCommand(WPARAM wParam, LPARAM lParam)
STDMETHOD_(void, DrawFrameCtrlBitmap)(HDC hDC
LPCRECT HBITMAP HBITMAP hbm2
STDMETHOD_(COLORREF, GetColor)(INT iColor) override
STDMETHOD_(void, DrawCtrlEdge)(HDC hDC
LPCRECT DWORD DWORD unused1
STDMETHOD_(void, DrawFrameCtrlIcon)(HDC hDC
STDMETHOD_(DWORD, GetType)() override
STDMETHOD_(void, DrawFrameCtrlEdge)(HDC hDC
LPCRECT LPCWSTR INT cchText
STDMETHOD_(INT, CxSizeFrame)() override
CUIFSchemeDef(DWORD dwType)
LPCRECT DWORD dwUnknownFlags
STDMETHOD_(void, DrawSeparator)(HDC hDC
STDMETHOD_(INT, CxWndBorder)() override
STDMETHOD_(INT, CyWndBorder)() override
STDMETHOD_(void, DrawMenuBitmap)(HDC hDC
STDMETHOD_(void, DrawFrameCtrlBkgd)(HDC hDC
STDMETHOD_(HBRUSH, GetBrush)(INT iColor) override
STDMETHOD_(INT, CyMenuItem)(INT cyText) override
STDMETHOD_(INT, CySizeFrame)() override
STDMETHOD_(INT, CyMenuItem)(INT cyText)=0
LPCRECT HICON DWORD dwDrawFlags
STDMETHOD_(void, DrawFrameCtrlIcon)(HDC hDC
static CUIFColorTableSys * s_pColorTableSys
STDMETHOD_(void, DrawSeparator)(HDC hDC
LPCRECT DWORD DWORD dwDrawFlags
STDMETHOD_(void, DrawFrameCtrlEdge)(HDC hDC
LPCRECT LPCWSTR INT DWORD BOOL bRight
STDMETHOD_(DWORD, GetType)()=0
STDMETHOD_(void, DrawWndFrame)(HDC hDC
LPCRECT LPCWSTR INT cchText
STDMETHOD_(INT, CyWndBorder)()=0
STDMETHOD_(void, FrameRect)(HDC hDC
STDMETHOD_(void, DrawFrameCtrlBitmap)(HDC hDC
STDMETHOD_(INT, CySizeFrame)()=0
STDMETHOD_(void, DrawCtrlEdge)(HDC hDC
STDMETHOD_(HBRUSH, GetBrush)(INT iColor)=0
STDMETHOD_(void, DrawMenuSeparator)(HDC hDC
STDMETHOD_(void, DrawMenuBitmap)(HDC hDC
STDMETHOD_(COLORREF, GetColor)(INT iColor)=0
LPCRECT DWORD DWORD DWORD unused2
STDMETHOD_(INT, CxWndBorder)()=0
STDMETHOD_(void, DrawFrameCtrlBkgd)(HDC hDC
LPCRECT DWORD DWORD unused1
LPCRECT DWORD dwUnknownFlags
LPCRECT HBITMAP HBITMAP hbm2
static CUIFColorTableOff10 * s_pColorTableOff10
STDMETHOD_(INT, CxSizeFrame)()=0
void InitShadow()
@unimplemented
STDMETHOD_(void, OnPaint)(HDC hDC) override
STDMETHOD_(BOOL, Initialize)() override
STDMETHOD_(DWORD, GetWndStyleEx)() override
STDMETHOD_(void, Show)(BOOL bVisible) override
void OnOwnerWndMoved(BOOL bDoSize)
COLORREF m_rgbShadowColor
CUIFWindow * m_pShadowOwner
void InitSettings()
@unimplemented
STDMETHOD_(LRESULT, OnSettingChange)(HWND hWnd
CUIFSolidBrush(COLORREF rgbColor)
static CUIFSystemInfo * s_pSystemInfo
STDMETHOD() DrawThemeParentBackground(HWND hwnd, HDC hDC, LPRECT prc)
static FN_GetThemeFont s_fnGetThemeFont
static FN_GetThemeSysSize s_fnGetThemeSysSize
STDMETHOD_(COLORREF, GetThemeSysColor)(INT iColorId)
STDMETHOD() DrawThemeBackground(HDC hDC, int iStateId, LPCRECT pRect, LPCRECT pClipRect)
STDMETHOD() GetThemeFont(HDC hDC, int iStateId, int iPropId, LOGFONTW *pFont)
STDMETHOD() GetThemeBackgroundExtent(HDC hDC, int iStateId, LPCRECT pContentRect, LPRECT pExtentRect)
STDMETHOD() GetThemeColor(int iStateId, int iPropId, COLORREF *pColor)
static FN_GetThemeMargins s_fnGetThemeMargins
STDMETHOD() GetThemeMargins(HDC hDC, int iStateId, int iPropId, LPRECT prc, MARGINS *pMargins)
HRESULT InternalOpenThemeData(HWND hWnd)
STDMETHOD() DrawThemeText(HDC hDC, int iStateId, LPCWSTR pszText, int cchText, DWORD dwTextFlags, DWORD dwTextFlags2, LPCRECT pRect)
static FN_DrawThemeIcon s_fnDrawThemeIcon
static FN_GetThemePartSize s_fnGetThemePartSize
STDMETHOD() DrawThemeIcon(HDC hDC, int iStateId, LPCRECT pRect, HIMAGELIST himl, int iImageIndex)
static FN_DrawThemeBackground s_fnDrawThemeBackground
STDMETHOD() DrawThemeEdge(HDC hDC, int iStateId, LPCRECT pDestRect, UINT uEdge, UINT uFlags, LPRECT pContentRect)
STDMETHOD() GetThemePartSize(HDC hDC, int iStateId, LPRECT prc, THEMESIZE eSize, SIZE *psz)
STDMETHOD() GetThemeTextExtent(HDC hDC, int iStateId, LPCWSTR pszText, int cchCharCount, DWORD dwTextFlags, LPCRECT pBoundingRect, LPRECT pExtentRect)
static FN_GetThemeBackgroundExtent s_fnGetThemeBackgroundExtent
STDMETHOD() GetThemeBackgroundContentRect(HDC hDC, int iStateId, LPCRECT pBoundingRect, LPRECT pContentRect)
static FN_GetThemeTextExtent s_fnGetThemeTextExtent
static FN_DrawThemeParentBackground s_fnDrawThemeParentBackground
static FN_GetThemeSysColor s_fnGetThemeSysColor
static FN_OpenThemeData s_fnOpenThemeData
static HINSTANCE s_hUXTHEME
static FN_DrawThemeEdge s_fnDrawThemeEdge
STDMETHOD_(int, GetThemeSysSize)(int iSizeId)
static FN_GetThemeBackgroundContentRect s_fnGetThemeBackgroundContentRect
HRESULT EnsureThemeData(HWND hWnd)
static FN_DrawThemeText s_fnDrawThemeText
static FN_GetThemeColor s_fnGetThemeColor
static FN_CloseThemeData s_fnCloseThemeData
STDMETHOD_(void, ClientRectToWindowRect)(LPRECT pRect)
static LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
STDMETHOD_(void, UpdateUI)(LPCRECT prc)
STDMETHOD_(BOOL, OnEraseBkGnd)(HWND hWnd
STDMETHOD_(void, GetWindowFrameSize)(LPSIZE pSize)
UINT WPARAM LPARAM lParam
STDMETHOD_(HRESULT, OnGetObject)(HWND hWnd
void SetObjectPointed(CUIFObject *pPointed, POINT pt)
STDMETHOD_(void, OnMouseOutFromWindow)(LONG x
void SetCaptureObject(CUIFObject *pCaptured)
void SetBehindModal(CUIFWindow *pBehindModal)
STDMETHOD_(HWND, CreateWnd)(HWND hwndParent)
STDMETHOD_(DWORD, GetWndStyle)()
STDMETHOD_(void, SetCapture)(int)
STDMETHOD_(DWORD, GetWndStyleEx)()
static CUIFWindow * GetThis(HWND hWnd)
STDMETHOD_(void, Show)(BOOL bVisible) override
STDMETHOD_(void, OnObjectMoved)(CUIFObject *pObject)
STDMETHOD_(void, SetRect)(LPCRECT prc) override
STDMETHOD_(void, HandleMouseMsg)(UINT uMsg
STDMETHOD_(void, RemoveUIObj)(CUIFObject *pRemove) override
STDMETHOD_(LRESULT, WindowProc)(HWND hWnd
STDMETHOD_(void, ModalMouseNotify)(UINT uMsg
void SetTimerObject(CUIFObject *pTimerObject, UINT uElapse)
CUIFWindow * m_pBehindModal
STDMETHOD_(LPCTSTR, GetWndTitle)()
STDMETHOD_(BOOL, Initialize)() override
STDMETHOD_(LPCTSTR, GetClassName)()
BOOL GetWorkArea(LPCRECT prcWnd, LPRECT prcWorkArea)
void AdjustWindowPosition()
CUIFObject * m_pTimerObject
static void SetThis(HWND hWnd, LONG_PTR dwNewLong)
DWORD HitTest(LONG x, LONG y)
void GetFrameSize(LPSIZE pSize)
STDMETHOD_(void, OnLButtonUp)(LONG x
STDMETHOD_(void, OnPaintNoTheme)(HDC hDC) override
STDMETHOD_(BOOL, OnPaintTheme)(HDC hDC) override
STDMETHOD_(void, OnLButtonDown)(LONG x
ptrdiff_t Find(const CUIFObject * &item) const
CUIFObject * * Append(size_t cGrow)
CUIFObject * * data() const
static LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
HRESULT WINAPI DrawThemeEdge(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pDestRect, UINT uEdge, UINT uFlags, RECT *pContentRect)
HRESULT WINAPI DrawThemeIcon(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, HIMAGELIST himl, int iImageIndex)
HRESULT WINAPI DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, const RECT *pClipRect)
HRESULT WINAPI GetThemePartSize(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT *prc, THEMESIZE eSize, SIZE *psz)
HRESULT WINAPI GetThemeBackgroundExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pContentRect, RECT *pExtentRect)
HRESULT WINAPI DrawThemeText(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD dwTextFlags, DWORD dwTextFlags2, const RECT *pRect)
HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
HRESULT WINAPI GetThemeTextExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD dwTextFlags, const RECT *pBoundingRect, RECT *pExtentRect)
HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pBoundingRect, RECT *pContentRect)
COLORREF WINAPI GetThemeSysColor(HTHEME hTheme, int iColorID)
int WINAPI GetThemeSysSize(HTHEME hTheme, int iSizeID)
HRESULT WINAPI GetThemeFont(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, LOGFONTW *pFont)
HRESULT WINAPI GetThemeMargins(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT *prc, MARGINS *pMargins)
HRESULT WINAPI GetThemeColor(HTHEME hTheme, int iPartId, int iStateId, int iPropId, COLORREF *pColor)
HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR classlist)
HRESULT WINAPI CloseThemeData(HTHEME hTheme)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
__kernel_ptrdiff_t ptrdiff_t
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
static VOID OnKeyDown(PMAP infoPtr, WPARAM wParam, LPARAM lParam)
static VOID SetFont(PMAP infoPtr, LPWSTR lpFontName)
static VOID OnPaint(PMAP infoPtr, WPARAM wParam)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static HTHEME(WINAPI *pOpenThemeDataEx)(HWND
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
static VOID OnLButtonDown(HWND hwnd, int xPos, int yPos, PPREVIEW_DATA pPreviewData)
_Out_opt_ int _Out_opt_ int * cy
#define DECLSPEC_SELECTANY
static LRESULT OnDestroy(HWND hWnd, WPARAM wParam, LPARAM lParam)
static LRESULT OnActivate(HWND hWnd, WPARAM wParam, LPARAM lParam)
static LRESULT OnMouseMove(HWND hWnd, WPARAM wParam, LPARAM lParam)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
static INT_PTR CALLBACK OnSettingChange(HWND hWnd, WPARAM wParam, LPARAM lParam)
HWND WINAPI SetCapture(_In_ HWND hWnd)
int WINAPI FrameRect(_In_ HDC, _In_ LPCRECT, _In_ HBRUSH)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)