]> git.sur5r.net Git - cc65/blob - samples/geos/filesel.c
git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
[cc65] / samples / geos / filesel.c
1
2 /*
3
4     GEOSLib example
5     
6     using DlgBoxFileSelect
7     
8     Maciej 'YTM/Elysium' Witkowiak
9     <ytm@elysium.pl>
10     
11     26.12.1999
12 */
13
14 #include <geos.h>
15
16 char fName[17]="";
17
18 void main (void)
19 {
20
21     r0=(int)fName;
22
23     DlgBoxOk(CBOLDON "You now will be presented","with apps list" CPLAINTEXT);
24     DlgBoxFileSelect("",APPLICATION,fName);
25     DlgBoxOk("You've chosen:" CBOLDON, fName);
26
27 }