diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-07-24 16:39:37 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-07-24 16:39:37 +0000 |
commit | 004aee8281895120f69bb83559278c17805584cd (patch) | |
tree | 01d99e47995846d4a3afaa28163f7ed01f890890 /amiga/menu.h | |
parent | d5b8cf89da0552129c9a88e93cbc25aab61ae25e (diff) | |
download | netsurf-004aee8281895120f69bb83559278c17805584cd.tar.gz netsurf-004aee8281895120f69bb83559278c17805584cd.tar.bz2 |
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
Diffstat (limited to 'amiga/menu.h')
-rwxr-xr-x | amiga/menu.h | 13 |
1 files changed, 7 insertions, 6 deletions
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]; |