20#include <oslib/hourglass.h>
34#define CACHE_MEMORY_SIZE 3
35#define CACHE_MEMORY_DEC 4
36#define CACHE_MEMORY_INC 5
37#define CACHE_DISC_SIZE 10
38#define CACHE_DISC_DEC 11
39#define CACHE_DISC_INC 12
40#define CACHE_DISC_EXPIRE 15
41#define CACHE_DISC_EXPIRE_DEC 16
42#define CACHE_DISC_EXPIRE_INC 17
43#define CACHE_DEFAULT_BUTTON 19
44#define CACHE_CANCEL_BUTTON 20
45#define CACHE_OK_BUTTON 21
#define CACHE_CANCEL_BUTTON
bool ro_gui_options_cache_initialise(wimp_w w)
#define CACHE_DISC_EXPIRE_DEC
#define CACHE_DEFAULT_BUTTON
static bool ro_gui_options_cache_click(wimp_pointer *pointer)
#define CACHE_MEMORY_SIZE
static bool ro_gui_options_cache_ok(wimp_w w)
#define CACHE_DISC_EXPIRE
#define CACHE_DISC_EXPIRE_INC
void ro_gui_save_options(void)
Save the current options.
Localised message support (interface).
Option reading and saving interface.
#define nsoption_int(OPTION)
Get the value of an integer option.
#define nsoption_set_int(OPTION, VALUE)
set an integer option in the default table
#define nsoption_uint(OPTION)
Get the value of an unsigned integer option.
#define nsoption_set_uint(OPTION, VALUE)
set an unsigned integer option in the default table
int ro_gui_get_icon_decimal(wimp_w w, wimp_i i, int decimal_places)
Get the contents of an icon as a number.
void ro_gui_set_icon_decimal(wimp_w w, wimp_i i, int value, int decimal_places)
Set the contents of an icon to a number.
General RISC OS WIMP/OS library functions (interface).
bool ro_gui_wimp_event_register_numeric_field(wimp_w w, wimp_i i, wimp_i up, wimp_i down, int min, int max, int stepping, int decimal_places)
Register a numeric field to be automatically handled.
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_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_mouse_click(wimp_w w, bool(*callback)(wimp_pointer *pointer))
Register a function to be called for all mouse-clicks to icons in a window that don't have registered...
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.
Automated RISC OS WIMP event handling (interface).