summaryrefslogtreecommitdiff
path: root/amiga/context_menu.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-21 18:04:27 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-21 18:04:27 +0000
commit5624bf590ded22d8b2d85753fd189b7e6c6443ea (patch)
treec479d63fc77a28350dc2c393390723f6f8faed5d /amiga/context_menu.h
parent8f5266e61e3a06f6f6703f0d127e411dec0b41d4 (diff)
downloadnetsurf-5624bf590ded22d8b2d85753fd189b7e6c6443ea.tar.gz
netsurf-5624bf590ded22d8b2d85753fd189b7e6c6443ea.tar.bz2
Initial context menus. Five possible options (copy link to clipboard, download link,
show object, save object and select file for upload), only one implemented at the moment. Menu structure/strings need some thought and tidy-up (with object and URL options in their own sub-menus?) svn path=/trunk/netsurf/; revision=5612
Diffstat (limited to 'amiga/context_menu.h')
-rwxr-xr-xamiga/context_menu.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/amiga/context_menu.h b/amiga/context_menu.h
new file mode 100755
index 000000000..e244c7b50
--- /dev/null
+++ b/amiga/context_menu.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef AMIGA_CONTEXT_MENU_H
+#define AMIGA_CONTEXT_MENU_H
+#include "amiga/gui.h"
+
+enum {
+ CMID_SELECTFILE,
+ CMID_COPYURL,
+ CMID_SAVEURL,
+ CMID_SHOWOBJ,
+ CMID_SAVEOBJ
+};
+
+void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y);
+#endif