From fce69a87e8dfc0b4ebf641507f96295806419b19 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 9 Jun 2018 17:19:42 +0300 Subject: fixes #1406 (Scriver: sending by Shift+Enter) --- plugins/Scriver/src/globals.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver/src/globals.h') 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; -- cgit v1.2.3