1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00
cc65/samples/geos/filesel.c
izydorst 2cb06ddf8e sample programs updated for new GEOS exit/return/MainLoop policy
git-svn-id: svn://svn.cc65.org/cc65/trunk@1899 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-10 21:09:13 +00:00

28 lines
394 B
C

/*
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 apps list" CPLAINTEXT);
DlgBoxFileSelect("",APPLICATION,fName);
DlgBoxOk("You've chosen:" CBOLDON, fName);
}