diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-19 14:38:34 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-19 14:38:34 +0000 |
commit | 4392b08fedcfc61eb3ec40a956516637d5abbf38 (patch) | |
tree | 16061c2ae482ea45b070fe4171b080edc1cf5c1b /plugins/Alarms/options.h | |
parent | 162e60d66c78bd51aa44c691fe4f4e2f1deb990f (diff) |
added Alarms
git-svn-id: http://svn.miranda-ng.org/main/trunk@77 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/options.h')
-rw-r--r-- | plugins/Alarms/options.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/Alarms/options.h b/plugins/Alarms/options.h new file mode 100644 index 0000000000..be2686f505 --- /dev/null +++ b/plugins/Alarms/options.h @@ -0,0 +1,41 @@ +#ifndef _OPTIONS_INC
+#define _OPTIONS_INC
+
+#include <commctrl.h>
+#include "m_alarms.h"
+#include "alarmlist.h"
+#include "icons.h"
+#include "frame.h"
+#include "alarm_win.h"
+
+typedef struct Options_tag {
+ bool use_popup_module;
+ int snooze_minutes;
+ int row_height;
+ int indent;
+ int aw_trans;
+ bool aw_roundcorners;
+ bool aw_dontstealfocus;
+ bool auto_showhide;
+ bool hide_with_clist;
+ bool loop_sound;
+ bool auto_size_vert;
+ int reminder_period;
+} Options;
+
+extern Options options;
+
+int OptInit(WPARAM wParam,LPARAM lParam);
+
+void LoadOptions();
+void SaveOptions();
+
+int NewAlarmMenuFunc(WPARAM wParam, LPARAM lParam);
+void EditNonModal(ALARM &alarm);
+
+// provide access the options window, for refresh (== 0 when not displayed)
+extern HWND hwndOptionsDialog;
+#define WMU_INITOPTLIST (WM_USER + 20)
+
+
+#endif
|