From 004aee8281895120f69bb83559278c17805584cd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 24 Jul 2010 16:39:37 +0000 Subject: Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging selections within NetSurf window to text fields (does not work across windows). todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is putting something on the clipboard which causes a crash when pasting it back svn path=/trunk/netsurf/; revision=10660 --- amiga/menu.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'amiga/menu.h') diff --git a/amiga/menu.h b/amiga/menu.h index 546acfe83..0934a68c9 100755 --- a/amiga/menu.h +++ b/amiga/menu.h @@ -28,10 +28,10 @@ /* Maximum number of menu items - first value is number of static items * (ie. everything not intially defined as NM_IGNORE) */ -#define AMI_MENU_MAX 49 + AMI_HOTLIST_ITEMS +#define AMI_MENU_MAX 51 + AMI_HOTLIST_ITEMS /* Where the hotlist entries start */ -#define AMI_MENU_HOTLIST 41 +#define AMI_MENU_HOTLIST 43 /* Where the hotlist entries end */ #define AMI_MENU_HOTLIST_MAX AMI_MENU_HOTLIST+AMI_HOTLIST_ITEMS @@ -54,10 +54,11 @@ #define AMI_MENU_SAVEAS_PDF FULLMENUNUM(0,4,3) #define AMI_MENU_SAVEAS_IFF FULLMENUNUM(0,4,4) #define AMI_MENU_CLOSETAB FULLMENUNUM(0,6,0) -#define AMI_MENU_COPY FULLMENUNUM(1,0,0) -#define AMI_MENU_PASTE FULLMENUNUM(1,1,0) -#define AMI_MENU_SELECTALL FULLMENUNUM(1,2,0) -#define AMI_MENU_CLEAR FULLMENUNUM(1,3,0) +#define AMI_MENU_CUT FULLMENUNUM(1,0,0) +#define AMI_MENU_COPY FULLMENUNUM(1,1,0) +#define AMI_MENU_PASTE FULLMENUNUM(1,2,0) +#define AMI_MENU_SELECTALL FULLMENUNUM(1,4,0) +#define AMI_MENU_CLEAR FULLMENUNUM(1,5,0) #define AMI_MENU_FIND FULLMENUNUM(2,0,0) char *menulab[AMI_MENU_MAX+1]; -- cgit v1.2.3