From f43f79651a3290f1a3cc44e4ddc335f3bf3fd4f5 Mon Sep 17 00:00:00 2001 From: Vlad Mironov Date: Mon, 6 Aug 2012 04:15:08 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@1375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_skin_eng.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ExternalAPI/m_skin_eng.h b/plugins/ExternalAPI/m_skin_eng.h index c6e3e181d7..d142703893 100644 --- a/plugins/ExternalAPI/m_skin_eng.h +++ b/plugins/ExternalAPI/m_skin_eng.h @@ -304,13 +304,13 @@ typedef int (/*__stdcall*/ *tPaintCallbackProc)(HWND hWnd, HDC hDC, RECT * rcPai // HELPER TO UPDATEIMAGEFRAME -inline BOOL isSkinEngineEnabled() +__inline BOOL isSkinEngineEnabled() { return ServiceExists(MS_SKINENG_REGISTERPAINTSUB) && !DBGetContactSettingByte(NULL, "ModernData", "DisableEngine", FALSE); } -inline BOOL isLayeredEnabled() +__inline BOOL isLayeredEnabled() { return isSkinEngineEnabled() && DBGetContactSettingByte(NULL, "ModernData", "EnableLayering", TRUE); } -- cgit v1.2.3