diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-23 07:44:30 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-23 07:44:30 +0000 |
commit | f3d44bc057201407373012b7f682881bda7b3d98 (patch) | |
tree | ddf031a82529c84e13222131cf184ecf176d3954 /plugins/TabSRMM/include/typingnotify.h | |
parent | c2d827972a16f1710406d15e58304aecc4e1c9b5 (diff) |
some includes restored, mir_full.sln updated, some renaming of folders and projects
git-svn-id: http://svn.miranda-ng.org/main/trunk@140 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/include/typingnotify.h')
-rw-r--r-- | plugins/TabSRMM/include/typingnotify.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/plugins/TabSRMM/include/typingnotify.h b/plugins/TabSRMM/include/typingnotify.h new file mode 100644 index 0000000000..03fb9851b7 --- /dev/null +++ b/plugins/TabSRMM/include/typingnotify.h @@ -0,0 +1,76 @@ +#define UM_SETDLGITEMINT 5674
+
+#define TIMEOUT_MINVALUE -1
+#define TIMEOUT_MAXVALUE 99
+#define TIMEOUT_POPUP 1
+#define TIMEOUT_CUSTOM 2
+#define TIMEOUT_PROTO 3
+#define TIMEOUT_PERMANENT 4
+#define COLOR_OWN 1
+#define COLOR_WINDOWS 2
+#define COLOR_POPUP 3
+
+#define Module "TypingNotify"
+
+#define SET_WO "NotWhenFocused"
+#define DEF_WO 0
+#define SET_DISABLED "Disabled"
+#define DEF_DISABLED 0
+#define SET_TIMEOUT "Timeout"
+#define DEF_TIMEOUT 7
+#define SET_TIMEOUT2 "Timeout2"
+#define DEF_TIMEOUT2 7
+#define SET_TIMEOUT_MODE "TimeoutMode"
+#define DEF_TIMEOUT_MODE TIMEOUT_POPUP
+#define SET_TIMEOUT_MODE2 "TimeoutMode2"
+#define DEF_TIMEOUT_MODE2 TIMEOUT_POPUP
+#define SET_COLOR_MODE "ColorMode"
+#define DEF_COLOR_MODE COLOR_OWN
+#define SET_ICON_SETID "IconSet"
+#define DEF_ICON_SETID 0
+#define SET_SHOWDISABLEMENU "ShowDisableMenu"
+#define DEF_SHOWDISABLEMENU 1
+#define SET_ONEPOPUP "OnePopUp"
+#define DEF_ONEPOPUP 1
+
+
+static HANDLE hDisableMenu = NULL;
+static HANDLE hPopUpsList = NULL;
+
+static BYTE OnePopUp;
+static BYTE ShowMenu;
+static BYTE PopupService=0;
+static BYTE StartDisabled;
+static BYTE StopDisabled;
+static BYTE Disabled;
+static BYTE ColorMode;
+static BYTE TimeoutMode;
+static BYTE TimeoutMode2;
+static int Timeout;
+static int Timeout2;
+static int newTimeout;
+static int newTimeout2;
+static BYTE newTimeoutMode;
+static BYTE newTimeoutMode2;
+static BYTE newColorMode;
+static TCHAR szStart[128];
+static TCHAR szStop[128];
+
+static HANDLE hntfStarted = 0;
+static HANDLE hntfStopped = 0;
+
+
+struct colors_s
+{
+ int res;
+ char desc[10];
+ COLORREF color;
+};
+
+static struct colors_s colorPicker[4] =
+{
+ {IDC_TYPEON_BG, "ON_BG", RGB(255,255,255)},
+ {IDC_TYPEON_TX, "ON_TX", RGB(0,0,0)},
+ {IDC_TYPEOFF_BG, "OFF_BG", RGB(255,255,255)},
+ {IDC_TYPEOFF_TX, "OFF_TX", RGB(0,0,0)}
+};
|