NetSurf
|
#include <stdbool.h>
#include <stdlib.h>
#include "utils/messages.h"
#include "utils/nsoption.h"
#include "riscos/gui.h"
#include "riscos/menus.h"
#include "riscos/url_suggest.h"
#include "riscos/wimp.h"
#include "riscos/wimp_event.h"
#include "riscos/configure.h"
#include "riscos/configure/configure.h"
#include "riscos/dialog.h"
Go to the source code of this file.
Macros | |
#define | HOME_URL_FIELD 3 |
#define | HOME_URL_GRIGHT 4 |
#define | HOME_OPEN_STARTUP 5 |
#define | HOME_DEFAULT_BUTTON 6 |
#define | HOME_CANCEL_BUTTON 7 |
#define | HOME_OK_BUTTON 8 |
Functions | |
static void | ro_gui_options_home_default (wimp_pointer *pointer) |
static bool | ro_gui_options_home_ok (wimp_w w) |
static bool | ro_gui_options_home_menu_prepare (wimp_w w, wimp_i i, wimp_menu *menu, wimp_pointer *pointer) |
Callback to prepare menus in the Configure Home dialog. More... | |
bool | ro_gui_options_home_initialise (wimp_w w) |
#define HOME_CANCEL_BUTTON 7 |
Definition at line 38 of file con_home.c.
#define HOME_DEFAULT_BUTTON 6 |
Definition at line 37 of file con_home.c.
#define HOME_OK_BUTTON 8 |
Definition at line 39 of file con_home.c.
#define HOME_OPEN_STARTUP 5 |
Definition at line 36 of file con_home.c.
#define HOME_URL_FIELD 3 |
Definition at line 34 of file con_home.c.
#define HOME_URL_GRIGHT 4 |
Definition at line 35 of file con_home.c.
|
static |
Definition at line 76 of file con_home.c.
References HOME_OPEN_STARTUP, HOME_URL_FIELD, ro_gui_set_icon_selected_state(), and ro_gui_set_icon_string().
Referenced by ro_gui_options_home_initialise().
bool ro_gui_options_home_initialise | ( | wimp_w | w | ) |
Definition at line 46 of file con_home.c.
References HOME_CANCEL_BUTTON, HOME_DEFAULT_BUTTON, HOME_OK_BUTTON, HOME_OPEN_STARTUP, HOME_URL_FIELD, HOME_URL_GRIGHT, nsoption_bool, nsoption_charp, ro_gui_options_home_default(), ro_gui_options_home_menu_prepare(), ro_gui_options_home_ok(), ro_gui_set_icon_selected_state(), ro_gui_set_icon_shaded_state(), ro_gui_set_icon_string(), ro_gui_url_suggest_menu, ro_gui_url_suggest_prepare_menu(), ro_gui_wimp_event_memorise(), ro_gui_wimp_event_register_button(), ro_gui_wimp_event_register_cancel(), ro_gui_wimp_event_register_checkbox(), ro_gui_wimp_event_register_menu_gright(), ro_gui_wimp_event_register_menu_prepare(), ro_gui_wimp_event_register_ok(), and ro_gui_wimp_event_set_help_prefix().
Referenced by ro_gui_configure_initialise().
|
static |
Callback to prepare menus in the Configure Home dialog.
At present, this only has to handle the URL Suggestion pop-up.
w | The window handle owning the menu. |
i | The icon handle owning the menu. |
*menu | The menu to be prepared. |
*pointer | The associated mouse click event block, or NULL on an Adjust-click re-opening. |
Definition at line 108 of file con_home.c.
References HOME_URL_GRIGHT, ro_gui_url_suggest_menu, and ro_gui_url_suggest_prepare_menu().
Referenced by ro_gui_options_home_initialise().
|
static |
Definition at line 83 of file con_home.c.
References HOME_OPEN_STARTUP, HOME_URL_FIELD, nsoption_set_bool, nsoption_set_charp, ro_gui_get_icon_selected_state(), ro_gui_get_icon_string(), and ro_gui_save_options().
Referenced by ro_gui_options_home_initialise().