diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-20 13:54:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-20 13:54:07 +0000 |
commit | 418db2636cc5b4e519f281c16a5e0496b80dc8d1 (patch) | |
tree | e374342da6bd1fd8136262266407b824619c27b0 /plugins/Clist_modern/src/modern_statusbar.cpp | |
parent | 806188a1903da4f59d7610edd5bed457c5978d84 (diff) |
minor code fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_statusbar.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index bbc8549f10..bd4e0cb2fc 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -13,10 +13,7 @@ POINT lastpnt; HWND hModernStatusBar = NULL;
HANDLE hFramehModernStatusBar = NULL;
-extern void ApplyViewMode(const char *Name, bool onlySelector = false);
-extern void SaveViewMode(const char *name, const TCHAR *szGroupFilter, const char *szProtoFilter, DWORD statusMask, DWORD stickyStatusMask, unsigned int options, unsigned int stickies, unsigned int operators, unsigned int lmdat);
-//int FindFrameID(HWND FrameHwnd);
COLORREF sttGetColor(char * module, char * color, COLORREF defColor);
#define DBFONTF_BOLD 1
@@ -872,10 +869,11 @@ LRESULT CALLBACK ModernStatusProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa return DefWindowProc(hwnd, msg, wParam, lParam);
}
+TCHAR pluginname[] = _T("ModernStatusBar");
+
HWND StatusBar_Create(HWND parent)
{
WNDCLASS wndclass = { 0 };
- TCHAR pluginname[] = _T("ModernStatusBar");
int h = GetSystemMetrics(SM_CYSMICON) + 2;
if (GetClassInfo(g_hInst, pluginname, &wndclass) == 0) {
wndclass.lpfnWndProc = ModernStatusProc;
|