/* choices.h */

/* User configurations for RISC OS Bombz */

#ifndef __choices_h
#define __choices_h

#include "DeskLib:Wimp.h"

#include "scrn.h"

/* Options user has control over */
extern BOOL choices_nicekeys;
extern scrn_type choices_display;

/* Initialise choices; if file not found use defaults */
window_handle choices_init(char *filename);

/* Write icons from choices */
void choices_writeicons(BOOL keys,scrn_type display);

/* Read choices from icons */
void choices_readoptions(BOOL *keys,scrn_type *display);

/* Event handlers for choices buttons */
BOOL choices_update(event_pollblock *event,void *ref);
BOOL choices_save(event_pollblock *event,void *ref);
BOOL choices_cancel(event_pollblock *event,void *ref);

#endif
