1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/samples/geos/filesel.c

25 lines
399 B
C
Raw Normal View History

/*
GEOSLib example
using DlgBoxFileSelect
Maciej 'YTM/Elysium' Witkowiak
<ytm@elysium.pl>
26.12.1999
*/
#include <geos.h>
char fName[17] = "";
void main (void)
{
r0=(int)fName;
DlgBoxOk(CBOLDON "You now will be presented", "with an apps list" CPLAINTEXT);
DlgBoxFileSelect("", APPLICATION, fName);
DlgBoxOk("You've chosen:" CBOLDON, fName);
}