|
NetSurf
|
#include "amiga/os3support.h"#include <string.h>#include <stdlib.h>#include <proto/dos.h>#include <proto/asl.h>#include <proto/exec.h>#include <proto/gadtools.h>#include <proto/intuition.h>#include <proto/utility.h>#include <libraries/gadtools.h>#include <classes/window.h>#include <proto/label.h>#include <images/label.h>#include <proto/bitmap.h>#include <images/bitmap.h>#include <reaction/reaction_macros.h>#include "utils/nsoption.h"#include "utils/messages.h"#include "utils/log.h"#include "utils/utils.h"#include "utils/nsurl.h"#include "netsurf/browser_window.h"#include "netsurf/mouse.h"#include "netsurf/window.h"#include "netsurf/content.h"#include "netsurf/keypress.h"#include "desktop/hotlist.h"#include "desktop/version.h"#include "amiga/arexx.h"#include "amiga/bitmap.h"#include "amiga/clipboard.h"#include "amiga/cookies.h"#include "amiga/file.h"#include "amiga/filetype.h"#include "amiga/gui.h"#include "amiga/gui_menu.h"#include "amiga/gui_options.h"#include "amiga/history.h"#include "amiga/history_local.h"#include "amiga/hotlist.h"#include "amiga/libs.h"#include "amiga/menu.h"#include "amiga/misc.h"#include "amiga/nsoption.h"#include "amiga/print.h"#include "amiga/search.h"#include "amiga/theme.h"#include "amiga/utf8.h"#include "amiga/schedule.h"#include "amiga/version.h"Go to the source code of this file.
Functions | |
| static nserror | ami_menu_scan (struct ami_menu_data **md) |
| void | ami_menu_arexx_scan (struct ami_menu_data **md) |
| HOOKF (void, ami_menu_item_project_newwin, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_newtab, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_open, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_save, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_closetab, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_closewin, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_print, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_about, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_project_quit, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_cut, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_copy, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_paste, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_selectall, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_clearsel, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_undo, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_edit_redo, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_find, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_localhistory, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_globalhistory, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_cookies, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_foreimg, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_backimg, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_enablejs, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_enablecss, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_scale_decrease, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_scale_normal, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_scale_increase, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_browser_redraw, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_hotlist_add, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_hotlist_show, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_hotlist_entries, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_settings_edit, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_settings_save, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_arexx_execute, APTR, window, struct IntuiMessage *) | |
| HOOKF (void, ami_menu_item_arexx_entries, APTR, window, struct IntuiMessage *) | |
| ULONG | ami_gui_menu_number (int item) |
| static void | ami_gui_menu_set_checked_gt (struct Menu *menu, int item, bool check) |
| void | ami_gui_menu_set_checked (struct Menu *menu, int item, bool check) |
| Set checked state of a menu item almost generic, but not quite. More... | |
| static void | ami_gui_menu_set_disabled_gt (struct Window *win, struct Menu *menu, int item, bool disable) |
| void | ami_gui_menu_set_disabled (struct Window *win, struct Menu *menu, int item, bool disable) |
| Set disabled state of a menu item almost generic, but not quite. More... | |
| void | ami_gui_menu_update_checked (struct gui_window_2 *gwin) |
| void | ami_gui_menu_update_disabled (struct gui_window *g, struct hlcache_handle *c) |
| void | ami_gui_menu_set_check_toggled (void) |
| Sets that an item linked to a toggle menu item has been changed. More... | |
| bool | ami_gui_menu_get_check_toggled (void) |
| Gets if the menu needs updating because an item linked to a toggle menu item has been changed. More... | |
| static bool | ami_menu_hotlist_add (void *userdata, int level, int item, const char *title, nsurl *url, bool is_folder) |
| static void | ami_init_menulabs (struct ami_menu_data **md) |
| struct Menu * | ami_gui_menu_create (struct gui_window_2 *gwin) |
| static void | ami_free_menulabs (struct ami_menu_data **md) |
| void | ami_gui_menu_freemenus (struct Menu *menu, struct ami_menu_data **md) |
| Frees a menu. More... | |
| void | ami_gui_menu_free (struct gui_window_2 *gwin) |
| bool | ami_gui_menu_quit_selected (void) |
| Gets if NetSurf has been quit from the menu. More... | |
| void | ami_gui_menu_refresh_hotlist (void) |
| Refresh the Hotlist menu. More... | |
Variables | |
| static bool | ami_menu_check_toggled = false |
| static bool | menu_quit = false |
|
static |
Definition at line 1080 of file gui_menu.c.
References AMI_MENU_AREXX, AMI_MENU_AREXX_MAX, ami_utf8_free(), ami_menu_data::menu_hook, ami_menu_data::menukey, ami_menu_data::menulab, ami_menu_data::menuobj, ami_menu_data::menutype, and ML_SEPARATOR.
Referenced by ami_gui_menu_free(), and ami_gui_menu_freemenus().
| struct Menu * ami_gui_menu_create | ( | struct gui_window_2 * | gwin | ) |
Definition at line 1047 of file gui_menu.c.
References ami_gui2_get_menu_data(), ami_gui2_set_menu(), ami_init_menulabs(), AMI_MENU_AREXX_MAX, ami_menu_arexx_scan(), ami_menu_layout(), ami_menu_scan(), and LIB_IS_AT_LEAST.
Referenced by gui_window_create().
| void ami_gui_menu_free | ( | struct gui_window_2 * | gwin | ) |
Definition at line 1123 of file gui_menu.c.
References ami_free_menulabs(), ami_gui2_get_object(), ami_gui2_set_menu(), AMI_WIN_MAIN, and LIB_IS_AT_LEAST.
Referenced by gui_window_destroy().
| void ami_gui_menu_freemenus | ( | struct Menu * | menu, |
| struct ami_menu_data ** | md | ||
| ) |
Frees a menu.
Only used on OS3 and old OS4.
Definition at line 1112 of file gui_menu.c.
References ami_free_menulabs().
Referenced by ami_gui2_set_menu().
| bool ami_gui_menu_get_check_toggled | ( | void | ) |
Gets if the menu needs updating because an item linked to a toggle menu item has been changed.
NB: This also clears the state
Definition at line 805 of file gui_menu.c.
References ami_menu_check_toggled, and LIB_IS_AT_LEAST.
Referenced by ami_handle_msg().
| ULONG ami_gui_menu_number | ( | int | item | ) |
Definition at line 515 of file gui_menu.c.
References M_CLEAR, M_CLOSETAB, M_COPY, M_CSS, M_CUT, M_FIND, M_IMGBACK, M_IMGFORE, M_JS, M_PASTE, M_REDO, M_SAVECOMP, M_SAVEIFF, M_SAVETXT, M_SELALL, M_UNDO, and NSLOG.
Referenced by ami_gui_menu_set_checked_gt(), ami_gui_menu_set_disabled_gt(), and ami_gui_menu_update_checked().
| bool ami_gui_menu_quit_selected | ( | void | ) |
Gets if NetSurf has been quit from the menu.
Definition at line 1143 of file gui_menu.c.
References menu_quit.
Referenced by ami_handle_msg().
| void ami_gui_menu_refresh_hotlist | ( | void | ) |
Refresh the Hotlist menu.
Definition at line 1148 of file gui_menu.c.
References AMI_MENU_HOTLIST_MAX, ami_menu_refresh(), ami_menu_scan(), and M_HOTLIST.
Referenced by ami_gui_hotlist_update_all().
| void ami_gui_menu_set_check_toggled | ( | void | ) |
Sets that an item linked to a toggle menu item has been changed.
Definition at line 795 of file gui_menu.c.
References ami_menu_check_toggled, and LIB_IS_AT_LEAST.
Referenced by ami_gui_opts_use(), and HOOKF().
| void ami_gui_menu_set_checked | ( | struct Menu * | menu, |
| int | item, | ||
| bool | check | ||
| ) |
Set checked state of a menu item almost generic, but not quite.
Definition at line 631 of file gui_menu.c.
References ami_gui_menu_set_checked_gt(), and LIB_IS_AT_LEAST.
Referenced by ami_gui_opts_use().
|
static |
Definition at line 616 of file gui_menu.c.
References ami_gui_menu_number().
Referenced by ami_gui_menu_set_checked().
| void ami_gui_menu_set_disabled | ( | struct Window * | win, |
| struct Menu * | menu, | ||
| int | item, | ||
| bool | disable | ||
| ) |
Set disabled state of a menu item almost generic, but not quite.
Definition at line 666 of file gui_menu.c.
References ami_gui_menu_set_disabled_gt(), LIB_IS_AT_LEAST, and gui_window_2::win.
Referenced by ami_gui_menu_update_disabled(), ami_update_buttons(), gui_start_selection(), gui_window_place_caret(), and gui_window_remove_caret().
|
static |
Definition at line 655 of file gui_menu.c.
References ami_gui_menu_number(), and gui_window_2::win.
Referenced by ami_gui_menu_set_disabled().
| void ami_gui_menu_update_checked | ( | struct gui_window_2 * | gwin | ) |
Definition at line 678 of file gui_menu.c.
References ami_gui2_get_object(), ami_gui2_get_window(), ami_gui_menu_number(), AMI_WIN_MAIN, LIB_IS_AT_LEAST, M_CSS, M_IMGBACK, M_IMGFORE, M_JS, and nsoption_bool.
Referenced by ami_gui_menu_update_all().
| void ami_gui_menu_update_disabled | ( | struct gui_window * | g, |
| struct hlcache_handle * | c | ||
| ) |
Definition at line 722 of file gui_menu.c.
References ami_gui_get_browser_window(), ami_gui_get_menu(), ami_gui_get_window(), ami_gui_menu_set_disabled(), ami_mime_compare(), browser_window_get_editor_flags(), BW_EDITOR_CAN_COPY, BW_EDITOR_CAN_CUT, BW_EDITOR_CAN_PASTE, CONTENT_CSS, content_get_bitmap(), content_get_type(), M_CLEAR, M_COPY, M_CUT, M_FIND, M_PASTE, M_SAVECOMP, M_SAVEIFF, M_SAVETXT, M_SELALL, and nsoption_bool.
Referenced by ami_switch_tab(), and gui_window_new_content().
|
static |
Definition at line 926 of file gui_menu.c.
References ami_menu_alloc_item(), AMI_MENU_AREXX_MAX, AMINS_SAVE_COMPLETE, AMINS_SAVE_IFF, AMINS_SAVE_PDF, AMINS_SAVE_SOURCE, AMINS_SAVE_TEXT, M_ABOUT, M_AREXX, M_AREXXEX, M_BAR_A1, M_BAR_B1, M_BAR_B2, M_BAR_B3, M_BAR_B4, M_BAR_E1, M_BAR_E2, M_BAR_P1, M_BAR_P2, M_BAR_P3, M_BAR_P4, M_BAR_P5, M_BAR_S1, M_BROWSER, M_CLEAR, M_CLOSETAB, M_CLOSEWIN, M_COOKIES, M_COPY, M_CSS, M_CUT, M_EDIT, M_FIND, M_HISTGLBL, M_HISTLOCL, M_HOTLIST, M_IMAGES, M_IMGBACK, M_IMGFORE, M_JS, M_NEWTAB, M_NEWWIN, M_OPEN, M_PASTE, M_PREDIT, M_PREFS, M_PRINT, M_PROJECT, M_PRSAVE, M_QUIT, M_REDO, M_REDRAW, M_SAVEAS, M_SAVECOMP, M_SAVEIFF, M_SAVESRC, M_SAVETXT, M_SCALE, M_SCALEDEC, M_SCALEINC, M_SCALENRM, M_SELALL, M_UNDO, NSA_SPACE, and nsoption_bool.
Referenced by ami_gui_menu_create().
| void ami_menu_arexx_scan | ( | struct ami_menu_data ** | md | ) |
Definition at line 817 of file gui_menu.c.
References ami_menu_alloc_item(), AMI_MENU_AREXX, AMI_MENU_AREXX_MAX, buffer, EAD_IS_FILE, NSA_SPACE, and nsoption_charp.
Referenced by ami_gui_menu_create().
|
static |
Definition at line 868 of file gui_menu.c.
References ami_gui_get_cache_favicon_name(), ami_menu_alloc_item(), AMI_MENU_HOTLIST_MAX, ASPrintf(), ami_menu_data::flags, LIB_IS_AT_LEAST, and type.
Referenced by ami_menu_scan().
|
static |
Definition at line 915 of file gui_menu.c.
References ami_hotlist_scan(), ami_menu_alloc_item(), AMI_MENU_HOTLIST, ami_menu_hotlist_add(), M_BAR_H1, M_HLADD, M_HLSHOW, and messages_get().
Referenced by ami_gui_menu_create(), and ami_gui_menu_refresh_hotlist().
| HOOKF | ( | void | , |
| ami_menu_item_arexx_entries | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 492 of file gui_menu.c.
References ami_arexx_execute(), DevNameFromLock, DN_FULLPATH, nsoption_charp, and gui_window_2::temp.
| HOOKF | ( | void | , |
| ami_menu_item_arexx_execute | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 468 of file gui_menu.c.
References ami_arexx_execute(), ami_gui2_get_window(), ami_gui_get_screen(), filereq, messages_get(), nsoption_charp, and gui_window_2::temp.
| HOOKF | ( | void | , |
| ami_menu_item_browser_backimg | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 352 of file gui_menu.c.
References ami_gui_menu_set_check_toggled(), ami_menu_get_selected(), and nsoption_set_bool.
| HOOKF | ( | void | , |
| ami_menu_item_browser_cookies | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 335 of file gui_menu.c.
References ami_cookies_present().
| HOOKF | ( | void | , |
| ami_menu_item_browser_enablecss | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 376 of file gui_menu.c.
References ami_gui_menu_set_check_toggled(), ami_menu_get_selected(), and nsoption_set_bool.
| HOOKF | ( | void | , |
| ami_menu_item_browser_enablejs | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 364 of file gui_menu.c.
References ami_gui_menu_set_check_toggled(), ami_menu_get_selected(), and nsoption_set_bool.
| HOOKF | ( | void | , |
| ami_menu_item_browser_find | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 314 of file gui_menu.c.
References ami_gui2_get_gui_window(), and ami_search_open().
| HOOKF | ( | void | , |
| ami_menu_item_browser_foreimg | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 340 of file gui_menu.c.
References ami_gui_menu_set_check_toggled(), ami_menu_get_selected(), and nsoption_set_bool.
| HOOKF | ( | void | , |
| ami_menu_item_browser_globalhistory | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 330 of file gui_menu.c.
References ami_history_global_present().
| HOOKF | ( | void | , |
| ami_menu_item_browser_localhistory | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 322 of file gui_menu.c.
References ami_gui2_get_gui_window(), and ami_history_local_present().
| HOOKF | ( | void | , |
| ami_menu_item_browser_redraw | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 412 of file gui_menu.c.
References ami_gui2_set_new_content(), and ami_schedule_redraw().
| HOOKF | ( | void | , |
| ami_menu_item_browser_scale_decrease | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 388 of file gui_menu.c.
References ami_gui2_get_gui_window(), and ami_gui_adjust_scale().
| HOOKF | ( | void | , |
| ami_menu_item_browser_scale_increase | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 404 of file gui_menu.c.
References ami_gui2_get_gui_window(), and ami_gui_adjust_scale().
| HOOKF | ( | void | , |
| ami_menu_item_browser_scale_normal | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 396 of file gui_menu.c.
References ami_gui2_get_gui_window(), and ami_gui_set_scale().
| HOOKF | ( | void | , |
| ami_menu_item_edit_clearsel | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 290 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_key_press(), and NS_KEY_CLEAR_SELECTION.
| HOOKF | ( | void | , |
| ami_menu_item_edit_copy | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 247 of file gui_menu.c.
References ami_bitmap_set_title(), ami_bitmap_set_url(), ami_easy_clipboard_bitmap(), ami_gui2_get_browser_window(), ami_mime_compare(), browser_window_access_url(), browser_window_can_select(), browser_window_get_content(), browser_window_get_title(), browser_window_key_press(), content_get_bitmap(), NS_KEY_CLEAR_SELECTION, and NS_KEY_COPY_SELECTION.
| HOOKF | ( | void | , |
| ami_menu_item_edit_cut | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 239 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_key_press(), and NS_KEY_CUT_SELECTION.
| HOOKF | ( | void | , |
| ami_menu_item_edit_paste | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 273 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_key_press(), and NS_KEY_PASTE.
| HOOKF | ( | void | , |
| ami_menu_item_edit_redo | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 306 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_key_press(), and NS_KEY_REDO.
| HOOKF | ( | void | , |
| ami_menu_item_edit_selectall | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 281 of file gui_menu.c.
References ami_gui2_get_browser_window(), ami_gui2_get_gui_window(), browser_window_key_press(), gui_start_selection(), and NS_KEY_SELECT_ALL.
| HOOKF | ( | void | , |
| ami_menu_item_edit_undo | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 298 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_key_press(), and NS_KEY_UNDO.
| HOOKF | ( | void | , |
| ami_menu_item_hotlist_add | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 421 of file gui_menu.c.
References ami_gui2_get_browser_window(), ami_gui_update_hotlist_button(), browser_window_access_url(), browser_window_has_content(), browser_window::bw, and hotlist_add_url().
| HOOKF | ( | void | , |
| ami_menu_item_hotlist_entries | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 441 of file gui_menu.c.
References ami_gui2_get_browser_window(), browser_window_navigate(), and BW_NAVIGATE_HISTORY.
| HOOKF | ( | void | , |
| ami_menu_item_hotlist_show | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 436 of file gui_menu.c.
References ami_hotlist_present().
| HOOKF | ( | void | , |
| ami_menu_item_project_about | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 171 of file gui_menu.c.
References ami_gui2_get_window(), ami_reset_pointer(), ami_set_pointer(), ami_utf8_easy(), amiga_warn_user(), ASPrintf(), browser_window_create(), BW_CREATE_HISTORY, GUI_POINTER_WAIT, messages_get(), messages_get_errorcode(), netsurf_version, NSERROR_OK, nsurl_create(), nsurl_unref(), gui_window_2::temp, and verdate.
| HOOKF | ( | void | , |
| ami_menu_item_project_closetab | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 145 of file gui_menu.c.
References ami_gui2_get_browser_window(), and browser_window_destroy().
| HOOKF | ( | void | , |
| ami_menu_item_project_closewin | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 153 of file gui_menu.c.
References ami_gui2_set_closed().
| HOOKF | ( | void | , |
| ami_menu_item_project_newtab | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 119 of file gui_menu.c.
References ami_gui_new_blank_tab().
| HOOKF | ( | void | , |
| ami_menu_item_project_newwin | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 100 of file gui_menu.c.
References amiga_warn_user(), browser_window_create(), BW_CREATE_HISTORY, messages_get_errorcode(), NSERROR_OK, nsoption_charp, nsurl_create(), and nsurl_unref().
| HOOKF | ( | void | , |
| ami_menu_item_project_open | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 127 of file gui_menu.c.
References ami_file_open().
| HOOKF | ( | void | , |
| ami_menu_item_project_print | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 161 of file gui_menu.c.
References ami_gui2_get_browser_window(), ami_print_ui(), ami_reset_pointer(), ami_set_pointer(), browser_window_get_content(), and GUI_POINTER_WAIT.
| HOOKF | ( | void | , |
| ami_menu_item_project_quit | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 234 of file gui_menu.c.
References menu_quit.
| HOOKF | ( | void | , |
| ami_menu_item_project_save | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 135 of file gui_menu.c.
References ami_file_save_req(), ami_gui2_get_browser_window(), browser_window_get_content(), and type.
| HOOKF | ( | void | , |
| ami_menu_item_settings_edit | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 458 of file gui_menu.c.
References ami_gui_opts_open().
| HOOKF | ( | void | , |
| ami_menu_item_settings_save | , | ||
| APTR | , | ||
| window | , | ||
| struct IntuiMessage * | |||
| ) |
Definition at line 463 of file gui_menu.c.
References ami_nsoption_write().
|
static |
Definition at line 90 of file gui_menu.c.
Referenced by ami_gui_menu_get_check_toggled(), and ami_gui_menu_set_check_toggled().
|
static |
Definition at line 91 of file gui_menu.c.
Referenced by ami_gui_menu_quit_selected(), and HOOKF().