2008-10-21 22:04:27 +04:00
|
|
|
/*
|
2009-01-16 23:05:21 +03:00
|
|
|
* Copyright 2008,2009 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
2008-10-21 22:04:27 +04:00
|
|
|
*
|
|
|
|
* 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,
|
2008-10-25 20:37:08 +04:00
|
|
|
CMID_URLOPENWIN,
|
|
|
|
CMID_URLOPENTAB,
|
2009-02-01 02:45:25 +03:00
|
|
|
CMID_SAVEURL,
|
2008-10-21 22:04:27 +04:00
|
|
|
CMID_SHOWOBJ,
|
2008-10-25 20:37:08 +04:00
|
|
|
CMID_COPYOBJ,
|
2009-05-16 18:50:30 +04:00
|
|
|
CMID_CLIPOBJ,
|
2008-12-14 02:26:10 +03:00
|
|
|
CMID_SAVEOBJ,
|
2009-05-16 18:50:30 +04:00
|
|
|
CMID_SAVEIFFOBJ,
|
2009-01-16 22:13:07 +03:00
|
|
|
CMID_SELALL,
|
2010-07-24 20:39:37 +04:00
|
|
|
CMID_SELCLEAR,
|
|
|
|
CMID_SELCUT,
|
2009-01-16 22:13:07 +03:00
|
|
|
CMID_SELCOPY,
|
2010-07-24 20:39:37 +04:00
|
|
|
CMID_SELPASTE,
|
2008-10-25 20:37:08 +04:00
|
|
|
CMSUB_OBJECT,
|
|
|
|
CMSUB_URL,
|
2009-01-16 22:13:07 +03:00
|
|
|
CMSUB_SEL,
|
2008-10-25 20:37:08 +04:00
|
|
|
CMID_LAST
|
2008-10-21 22:04:27 +04:00
|
|
|
};
|
|
|
|
|
2008-10-25 20:37:08 +04:00
|
|
|
void ami_context_menu_init(void);
|
|
|
|
void ami_context_menu_free(void);
|
2008-10-21 22:04:27 +04:00
|
|
|
void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y);
|
|
|
|
#endif
|