mirror of
https://github.com/cc65/cc65.git
synced 2024-11-12 22:07:16 +00:00
29 lines
418 B
C
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();
|
||
|
}
|