Documentation from fileinfo.h

ROV

Introduction

[top]

ROV - Easy applications from C

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

Contributing authors - Jason Tribbeck

File - fileinfo.h

Type - helper

Description

The fileinfo helper is used to create a RISC OS style-guide compliant file information box.

fileinfo_create

[top]

Creates a file information box.

Returns:

 -  the created canvas.

Note - You can only create one file information box per application.

canvas fileinfo_create(void);

See also: fileinfo_setup()

fileinfo_setup

[top]

Populates the file information box with information about a file.

Parameters:

 - char *file_name - the name of the file.
 - int file_type - the type of the file.
 - int file_size - the size of the file.
 - date_str *file_date - the date of the file.
 - BOOL modified - non-zero if the file has been modified.

void fileinfo_setup(char *file_name,
		    int file_type,
		    int file_size,
		    date_str *file_date,
		    BOOL modified);

See also: file.h, fileinfo_create()


Generated Thu Feb 7 23:22:51 2002