From 4e0aef28194077beaaaa07775f819c3a4cf934e9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 21 Sep 2013 15:49:11 +0000 Subject: using Uxtheme in core git-svn-id: http://svn.miranda-ng.org/main/trunk@6158 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/miranda.h | 61 ------------------------------------------------------ 1 file changed, 61 deletions(-) (limited to 'src/core/miranda.h') diff --git a/src/core/miranda.h b/src/core/miranda.h index c34ea56ad1..4b5f3b053f 100644 --- a/src/core/miranda.h +++ b/src/core/miranda.h @@ -23,72 +23,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define OPTIONPAGE_OLD_SIZE offsetof(OPTIONSDIALOGPAGE,hLangpack) -typedef HMONITOR (WINAPI *pfnMyMonitorFromPoint)(POINT, DWORD); -extern pfnMyMonitorFromPoint MyMonitorFromPoint; - -typedef HMONITOR (WINAPI *pfnMyMonitorFromRect)(LPCRECT, DWORD); -extern pfnMyMonitorFromRect MyMonitorFromRect; - -typedef HMONITOR(WINAPI *pfnMyMonitorFromWindow) (HWND, DWORD); -extern pfnMyMonitorFromWindow MyMonitorFromWindow; - -typedef BOOL(WINAPI *pfnMyGetMonitorInfo) (HMONITOR, LPMONITORINFO); -extern pfnMyGetMonitorInfo MyGetMonitorInfo; - -typedef HRESULT (STDAPICALLTYPE *pfnSHAutoComplete)(HWND, DWORD); -extern pfnSHAutoComplete shAutoComplete; - -typedef HRESULT (STDAPICALLTYPE *pfnSHGetSpecialFolderPathA)(HWND, LPSTR, int, BOOL); -typedef HRESULT (STDAPICALLTYPE *pfnSHGetSpecialFolderPathW)(HWND, LPWSTR, int, BOOL); -extern pfnSHGetSpecialFolderPathA shGetSpecialFolderPathA; -extern pfnSHGetSpecialFolderPathW shGetSpecialFolderPathW; - -#define shGetSpecialFolderPath shGetSpecialFolderPathW - -typedef HDESK (WINAPI* pfnOpenInputDesktop)(DWORD, BOOL, DWORD); -extern pfnOpenInputDesktop openInputDesktop; - -typedef HDESK (WINAPI* pfnCloseDesktop)(HDESK); -extern pfnCloseDesktop closeDesktop; - -typedef BOOL (WINAPI* pfnAnimateWindow)(HWND, DWORD, DWORD); -extern pfnAnimateWindow animateWindow; - -typedef BOOL (WINAPI * pfnSetLayeredWindowAttributes) (HWND, COLORREF, BYTE, DWORD); -extern pfnSetLayeredWindowAttributes setLayeredWindowAttributes; - -typedef HTHEME (STDAPICALLTYPE *pfnOpenThemeData)(HWND, LPCWSTR); -typedef HRESULT (STDAPICALLTYPE *pfnIsThemeBackgroundPartiallyTransparent)(HTHEME, int, int); -typedef HRESULT (STDAPICALLTYPE *pfnDrawThemeParentBackground)(HWND, HDC, const RECT *); -typedef HRESULT (STDAPICALLTYPE *pfnDrawThemeBackground)(HTHEME, HDC, int, int, const RECT *, const RECT *); -typedef HRESULT (STDAPICALLTYPE *pfnDrawThemeText)(HTHEME, HDC, int, int, LPCWSTR, int, DWORD, DWORD, const RECT *); typedef HRESULT (STDAPICALLTYPE *pfnDrawThemeTextEx)(HTHEME, HDC, int, int, LPCWSTR, int, DWORD, LPRECT, const struct _DTTOPTS *); -typedef HRESULT (STDAPICALLTYPE *pfnGetThemeBackgroundContentRect)(HTHEME, HDC, int, int, LPCRECT, LPRECT); -typedef HRESULT (STDAPICALLTYPE *pfnGetThemeFont)(HTHEME, HDC, int, int, int, LOGFONT *); -typedef HRESULT (STDAPICALLTYPE *pfnCloseThemeData)(HTHEME); -typedef HRESULT (STDAPICALLTYPE *pfnEnableThemeDialogTexture)(HWND hwnd, DWORD dwFlags); -typedef HRESULT (STDAPICALLTYPE *pfnSetWindowTheme)(HWND, LPCWSTR, LPCWSTR); typedef HRESULT (STDAPICALLTYPE *pfnSetWindowThemeAttribute)(HWND, enum WINDOWTHEMEATTRIBUTETYPE, PVOID, DWORD); -typedef BOOL (STDAPICALLTYPE *pfnIsThemeActive)(); typedef HRESULT (STDAPICALLTYPE *pfnBufferedPaintInit)(void); typedef HRESULT (STDAPICALLTYPE *pfnBufferedPaintUninit)(void); typedef HANDLE (STDAPICALLTYPE *pfnBeginBufferedPaint)(HDC, RECT *, BP_BUFFERFORMAT, BP_PAINTPARAMS *, HDC *); typedef HRESULT (STDAPICALLTYPE *pfnEndBufferedPaint)(HANDLE, BOOL); typedef HRESULT (STDAPICALLTYPE *pfnGetBufferedPaintBits)(HANDLE, RGBQUAD **, int *); -extern pfnOpenThemeData openThemeData; -extern pfnIsThemeBackgroundPartiallyTransparent isThemeBackgroundPartiallyTransparent; -extern pfnDrawThemeParentBackground drawThemeParentBackground; -extern pfnDrawThemeBackground drawThemeBackground; -extern pfnDrawThemeText drawThemeText; extern pfnDrawThemeTextEx drawThemeTextEx; -extern pfnGetThemeBackgroundContentRect getThemeBackgroundContentRect; -extern pfnGetThemeFont getThemeFont; -extern pfnCloseThemeData closeThemeData; -extern pfnEnableThemeDialogTexture enableThemeDialogTexture; -extern pfnSetWindowTheme setWindowTheme; extern pfnSetWindowThemeAttribute setWindowThemeAttribute; -extern pfnIsThemeActive isThemeActive; extern pfnBufferedPaintInit bufferedPaintInit; extern pfnBufferedPaintUninit bufferedPaintUninit; extern pfnBeginBufferedPaint beginBufferedPaint; @@ -103,11 +47,6 @@ typedef HRESULT (STDAPICALLTYPE *pfnDwmIsCompositionEnabled)(BOOL *); extern pfnDwmExtendFrameIntoClientArea dwmExtendFrameIntoClientArea; extern pfnDwmIsCompositionEnabled dwmIsCompositionEnabled; -extern LPFN_GETADDRINFO MyGetaddrinfo; -extern LPFN_FREEADDRINFO MyFreeaddrinfo; -extern LPFN_WSASTRINGTOADDRESSA MyWSAStringToAddress; -extern LPFN_WSAADDRESSTOSTRINGA MyWSAAddressToString; - /**** database.cpp *********************************************************************/ extern MIDatabase* currDb; -- cgit v1.2.3