summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_skin_eng.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-21 15:22:44 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-21 15:22:44 +0300
commit4f38af21d106fe759a31c2fe360ce9170119ad66 (patch)
tree8f74a294187f6da33f1cb32eeddd2d90cfd076a2 /plugins/ExternalAPI/m_skin_eng.h
parent335f68b1c98e92e448e11380d62d6c8df8533c92 (diff)
Clist_Modern: fix for a translation issue in Options - Skins
Diffstat (limited to 'plugins/ExternalAPI/m_skin_eng.h')
-rw-r--r--plugins/ExternalAPI/m_skin_eng.h9
1 files changed, 6 insertions, 3 deletions
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