Documentation from fontmenu.h

ROV

Introduction

[top]

ROV - Easy applications from C

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

Contributing authors - Jason Tribbeck

File - fontmenu.h

Type - helper

Description

The fontmenu helper is used to create a menu giving a list of fonts.

fontmenu_handlep (function pointer)

[top]

Definition of a fontmenu handler.

Parameters:

 - char *font_name - the name of the font chosen.

typedef void (* fontmenu_handlep)(char *font_name);

fontmenu_create

[top]

Create a font menu.

Parameters:

 - fontmenu_handlep handler - the font menu handler.

Returns:

 -  the generated menu.

Note - You can only create one font_menu per application.

menu fontmenu_create(fontmenu_handlep handler);

See also: fontmenu_handlep(), menu.h

fontmenu_tickfont

[top]

Tick a font name.

Parameters:

 - char *font_name - the name to tick (or NULL to not tick any).

void fontmenu_tickfont(char *font_name);

Generated Thu Feb 7 23:22:51 2002