]> git.sur5r.net Git - cc65/blob - samples/geos/hello1.c
Added tutorial files from Maciek
[cc65] / samples / geos / hello1.c
1
2 /*
3
4     GEOSLib example
5     
6     Hello, world example - with DBox
7     
8     Maciej 'YTM/Alliance' Witkowiak
9     <ytm@friko.onet.pl>
10     
11     26.12.1999
12 */
13
14 #include <geos.h>
15
16 void main (void)
17 {
18
19 /* Let's show what we've got... */
20
21     DlgBoxOk(CBOLDON "Hello, world" CPLAINTEXT,
22              "This is written in C!");
23              
24 /* Normal apps exit from main into system's mainloop, and app finish
25    when user selects it from icons or menu, but here we want to exit
26    immediately.
27 */
28     EnterDeskTop();
29 }