Added tutorial files from Maciek
git-svn-id: svn://svn.cc65.org/cc65/trunk@149 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
28
samples/geos/filesel.c
Normal file
28
samples/geos/filesel.c
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
/*
|
||||
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user