From 4f38af21d106fe759a31c2fe360ce9170119ad66 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Nov 2023 15:22:44 +0300 Subject: Clist_Modern: fix for a translation issue in Options - Skins --- plugins/ExternalAPI/m_skin_eng.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_skin_eng.h b/plugins/ExternalAPI/m_skin_eng.h index 6ea48aced9..bed802b4f9 100644 --- a/plugins/ExternalAPI/m_skin_eng.h +++ b/plugins/ExternalAPI/m_skin_eng.h @@ -55,6 +55,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define ST_FRAGMENT 5 #define ST_GRADIENT 6 +#define CLBF_TILEVTOROWHEIGHT 0x0100 + //formats: #define ADT_TOP 0x00000000 #define ADT_LEFT 0x00000000 @@ -425,10 +427,11 @@ int __inline mod_DrawIconEx_helper(HDC hdc, int xLeft, int yTop, HICON hIcon, in // format: Category/ModuleName, // eg: "Contact list background/CLUI", // "Status bar background/StatusBar" -// lParam = (LPARAM)dwFlags -// -#define MS_BACKGROUNDCONFIG_REGISTER "ModernBkgrCfg/Register" +void __forceinline BackgroundConfig_Register(const char *pszModule) +{ + CallService("ModernBkgrCfg/Register", (WPARAM)pszModule, (LPARAM)&g_plugin); +} //////////////////////////////////////////////////////////////////////////////// // Notification about changed background -- cgit v1.2.3