Documentation from ro35error.h

ROV

Introduction

[top]

ROV - Easy applications from C

Copyright - © Jason Tribbeck / 7th ARM 1994-2001

Contributing authors - Jason Tribbeck

File - ro35error.h

Type - helper

Description

This provides an interface to the RISC OS 3.5+ error boxes.

ro35error_errorbox

[top]

Produce error box.

Parameters:

 - char *buttons - pointer to buttons.
 - int mode - error box mode.
 - char *spr_name - the sprite name.
 - char *text - printf-style string.
 - ... - optional parameters for printf.

Returns:

 -  button pressed.

int ro35error_errorbox(char *buttons,
		       int mode,
		       char *spr_name,
		       char *text,
		       ...);

See also: Error modes

Error modes

[top]
#define RO35ERROR_UNCLASSIFIED	(0)
#define RO35ERROR_INFORMATION	(1)
#define RO35ERROR_ERROR		(2)
#define RO35ERROR_PROGRAM	(3)
#define RO35ERROR_QUESTION	(4)

Generated Thu Feb 7 23:22:52 2002