From b97afa71c6593939d96244cd19053846b9992a61 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 Jun 2019 15:58:09 +0300 Subject: Button_SetIcon_IcoLib - a helper to set MButton's icon using an icolib handle --- include/m_icolib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_icolib.h b/include/m_icolib.h index e8a0ec3704..e0432d6101 100644 --- a/include/m_icolib.h +++ b/include/m_icolib.h @@ -99,7 +99,8 @@ MIR_APP_DLL(HANDLE) IcoLib_IsManaged(HICON hIcon); /////////////////////////////////////////////////////////////////////////////// // Helper to apply an icolib's icon to a button -MIR_APP_DLL(void) Button_SetIcon_IcoLib(HWND hDlg, int itemId, int iconId, const char* tooltip); +MIR_APP_DLL(void) Button_SetIcon_IcoLib(HWND hDlg, int itemId, HANDLE hIcolib, const char *tooltip = nullptr); +MIR_APP_DLL(void) Button_SetSkin_IcoLib(HWND hDlg, int itemId, int skinIconId, const char *tooltip = nullptr); MIR_APP_DLL(void) Button_FreeIcon_IcoLib(HWND hDlg, int itemId); /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3