summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-21 13:43:29 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-21 13:43:29 +0000
commita6359218bf2588d71c41a9dac62f62d6a36aea30 (patch)
tree787091b58eb36310aba34f88fe77fb5f77c8186a /protocols/JabberG/src/jabber.cpp
parentc69a9c892f52056d452ad8520e6c09b6956f30e3 (diff)
using Uxtheme in protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@6156 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r--protocols/JabberG/src/jabber.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index 6a6441349b..13ac23f6dd 100644
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -58,13 +58,6 @@ TIME_API tmi;
CLIST_INTERFACE* pcli;
-/////////////////////////////////////////////////////////////////////////////
-// Theme API
-BOOL (WINAPI *JabberAlphaBlend)(HDC, int, int, int, int, HDC, int, int, int, int, BLENDFUNCTION) = NULL;
-BOOL (WINAPI *JabberIsThemeActive)() = NULL;
-HRESULT (WINAPI *JabberDrawThemeParentBackground)(HWND, HDC, RECT *) = NULL;
-/////////////////////////////////////////////////////////////////////////////
-
BOOL jabberChatDllPresent = FALSE;
HANDLE hExtraActivity = NULL;
@@ -208,19 +201,6 @@ extern "C" int __declspec(dllexport) Load()
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
- // Load some fuctions
- HMODULE hDll;
- if (hDll = GetModuleHandleA("gdi32.dll"))
- JabberAlphaBlend = (BOOL (WINAPI *)(HDC, int, int, int, int, HDC, int, int, int, int, BLENDFUNCTION)) GetProcAddress(hDll, "GdiAlphaBlend");
- if (JabberAlphaBlend == NULL && (hDll = LoadLibraryA("msimg32.dll")))
- JabberAlphaBlend = (BOOL (WINAPI *)(HDC, int, int, int, int, HDC, int, int, int, int, BLENDFUNCTION)) GetProcAddress(hDll, "AlphaBlend");
-
- if (IsWinVerXPPlus()) {
- if (hDll = GetModuleHandleA("uxtheme")) {
- JabberDrawThemeParentBackground = (HRESULT (WINAPI *)(HWND,HDC,RECT *))GetProcAddress(hDll, "DrawThemeParentBackground");
- JabberIsThemeActive = (BOOL (WINAPI *)())GetProcAddress(hDll, "IsThemeActive");
- } }
-
g_IconsInit();
g_XstatusIconsInit();
g_MenuInit();