summaryrefslogtreecommitdiff
path: root/alarms/options.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 13:13:19 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 13:13:19 +0000
commit9fa6ed155f4e2582f045d281f652360db8e707c9 (patch)
treee4d686ff24307ee42c401b82e762a54a61de9167 /alarms/options.h
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@1 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'alarms/options.h')
-rw-r--r--alarms/options.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/alarms/options.h b/alarms/options.h
new file mode 100644
index 0000000..be2686f
--- /dev/null
+++ b/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