34#define HOME_URL_FIELD 3
35#define HOME_URL_GRIGHT 4
36#define HOME_OPEN_STARTUP 5
37#define HOME_DEFAULT_BUTTON 6
38#define HOME_CANCEL_BUTTON 7
39#define HOME_OK_BUTTON 8
44 wimp_menu *menu, wimp_pointer *pointer);
109 wimp_pointer *pointer)
static bool ro_gui_options_home_ok(wimp_w w)
static void ro_gui_options_home_default(wimp_pointer *pointer)
bool ro_gui_options_home_initialise(wimp_w w)
#define HOME_CANCEL_BUTTON
#define HOME_OPEN_STARTUP
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.
#define HOME_DEFAULT_BUTTON
void ro_gui_save_options(void)
Save the current options.
Localised message support (interface).
bool ro_gui_url_suggest_prepare_menu(void)
Builds the URL suggestion menu.
URL Suggestion Menu (interface).
wimp_menu * ro_gui_url_suggest_menu
Option reading and saving interface.
#define nsoption_charp(OPTION)
Get the value of a string option.
#define nsoption_set_bool(OPTION, VALUE)
set a boolean option in the default table
#define nsoption_set_charp(OPTION, VALUE)
set string option in default table
#define nsoption_bool(OPTION)
Get the value of a boolean option.
void ro_gui_set_icon_string(wimp_w w, wimp_i i, const char *text, bool is_utf8)
Set the contents of a text or sprite icon to a string.
void ro_gui_set_icon_shaded_state(wimp_w w, wimp_i i, bool state)
Set the shaded state of an icon.
const char * ro_gui_get_icon_string(wimp_w w, wimp_i i)
Read the contents of a text or sprite icon.
void ro_gui_set_icon_selected_state(wimp_w w, wimp_i i, bool state)
Set the selected state of an icon.
bool ro_gui_get_icon_selected_state(wimp_w w, wimp_i i)
Gets the selected state of an icon.
General RISC OS WIMP/OS library functions (interface).
bool ro_gui_wimp_event_set_help_prefix(wimp_w w, const char *help_prefix)
Set the associated help prefix for a given window.
bool ro_gui_wimp_event_register_menu_gright(wimp_w w, wimp_i i, wimp_i gright, wimp_menu *menu)
Register an icon menu to be automatically handled.
bool ro_gui_wimp_event_register_cancel(wimp_w w, wimp_i i)
Register a function to be called for the Cancel action on a window.
bool ro_gui_wimp_event_memorise(wimp_w w)
Memorises the current state of any registered components in a window.
bool ro_gui_wimp_event_register_checkbox(wimp_w w, wimp_i i)
Register a checkbox to be automatically handled.
bool ro_gui_wimp_event_register_menu_prepare(wimp_w w, bool(*callback)(wimp_w w, wimp_i i, wimp_menu *m, wimp_pointer *p))
Register a function to be called before a menu is (re-)opened.
bool ro_gui_wimp_event_register_ok(wimp_w w, wimp_i i, bool(*callback)(wimp_w w))
Register a function to be called for the OK action on a window.
bool ro_gui_wimp_event_register_button(wimp_w w, wimp_i i, void(*callback)(wimp_pointer *pointer))
Register a function to be called when a particular button is pressed.
Automated RISC OS WIMP event handling (interface).