summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_statusbar.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-02 19:04:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-02 19:04:50 +0000
commit0e9e528e18ff63d46e5b3471d6fa12344b0d28b3 (patch)
tree2f3f3f7cfb248a3447451ab82760dc9aca5c98fe /plugins/Clist_modern/src/modern_statusbar.h
parent209e1040e34c50e424a7aa0a7c860c7fc279a76f (diff)
unified project for clist_modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@14473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_statusbar.h')
-rw-r--r--plugins/Clist_modern/src/modern_statusbar.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.h b/plugins/Clist_modern/src/modern_statusbar.h
new file mode 100644
index 0000000000..2ac385b6d4
--- /dev/null
+++ b/plugins/Clist_modern/src/modern_statusbar.h
@@ -0,0 +1,44 @@
+#pragma once
+
+#ifndef modern_statusbar_h__
+#define modern_statusbar_h__
+
+#include "modern_commonprototypes.h"
+#include "m_xpTheme.h"
+
+int ModernDrawStatusBar(HWND hwnd, HDC hDC);
+int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC);
+
+typedef struct tagSTATUSBARDATA
+{
+ BOOL sameWidth;
+ RECT rectBorders;
+ BYTE extraspace;
+ BYTE Align;
+ BYTE VAlign;
+ bool bShowProtoIcon;
+ bool bShowProtoName;
+ bool bShowStatusName;
+ bool bConnectingIcon;
+ HFONT BarFont;
+ DWORD fontColor;
+ BYTE TextEffectID;
+ DWORD TextEffectColor1;
+ DWORD TextEffectColor2;
+ BYTE xStatusMode; // 0-only main, 1-xStatus, 2-main as overlay
+ BYTE nProtosPerLine;
+ bool bShowProtoEmails;
+
+ HBITMAP hBmpBackground;
+ COLORREF bkColour;
+ DWORD backgroundBmpUse;
+ BOOL bkUseWinColors;
+
+ XPTHANDLE hTheme;
+
+ BOOL perProtoConfig;
+ BYTE SBarRightClk;
+
+} STATUSBARDATA;
+
+#endif // modern_statusbar_h__