summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/globals.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-09 17:19:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-09 17:19:42 +0300
commitfce69a87e8dfc0b4ebf641507f96295806419b19 (patch)
treeb46f26b7250240fa3a2d835655ed10efa1ee1582 /plugins/Scriver/src/globals.h
parentae8e9d41f8b5cfb121d39143c31a8e19c0a4b9c1 (diff)
fixes #1406 (Scriver: sending by Shift+Enter)
Diffstat (limited to 'plugins/Scriver/src/globals.h')
-rw-r--r--plugins/Scriver/src/globals.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/Scriver/src/globals.h b/plugins/Scriver/src/globals.h
index eb84086dc3..0800dda15f 100644
--- a/plugins/Scriver/src/globals.h
+++ b/plugins/Scriver/src/globals.h
@@ -29,8 +29,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define SMF_MINIMIZEONSEND 0x00000008
#define SMF_SAVEDRAFTS 0x00000040
#define SMF_DELTEMP 0x00000080
-#define SMF_SENDONENTER 0x00000100
-#define SMF_SENDONDBLENTER 0x00000200
#define SMF_SHOWPROGRESS 0x00000400
#define SMF_AVATAR 0x00000800
#define SMF_RTL 0x00004000
@@ -76,6 +74,13 @@ typedef struct ImageListUsageEntry_tag
int used;
} ImageListUsageEntry;
+enum SendMode
+{
+ SEND_ON_ENTER,
+ SEND_ON_DBL_ENTER,
+ SEND_ON_CTRL_ENTER,
+ SEND_ON_SHIFT_ENTER
+};
struct GlobalMessageData
{
@@ -85,6 +90,7 @@ struct GlobalMessageData
DWORD limitNamesLength;
int activeAlpha;
int inactiveAlpha;
+ SendMode sendMode;
int tabIconListUsageSize;
int smileyAddInstalled;
int popupInstalled;