1
0
mirror of https://github.com/cc65/cc65.git synced 2025-09-22 16:24:45 +00:00
Files
doc
include
libsrc
packages
samples
geos
.cvsignore
appfile.grc
apphello1.grc
apphello2.grc
apprmvprot.grc
appyesno.grc
dialog.c
filesel.c
grphstr.c
hello1.c
hello2.c
inittab.c
menu.c
rmvprot.c
yesno.c
.cvsignore
Makefile
c1541.rsp
hello.c
nachtm.c
sieve.c
src
testcode
util
.cvsignore
cc65/samples/geos/filesel.c
cuz e2de9f5873 Added tutorial files from Maciek
git-svn-id: svn://svn.cc65.org/cc65/trunk@149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 09:12:11 +00:00

29 lines
418 B
C

/*
GEOSLib example
using DlgBoxFileSelect
Maciej 'YTM/Alliance' Witkowiak
<ytm@friko.onet.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);
EnterDeskTop();
}