/************************************************
* Filename: hello_fltk.c *
* Summary: Agenda VR3 FLTK Hello World *
* Created: Tue Jan 9 09:01:48 EST 2001 *
* Author: Andrej Cedilnik *
* Description: Demonstrates the use of fltk *
* on Agenda VR3 PDA *
************************************************/
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
int main(int argc, char **argv) {
// Create Window
Fl_Window *window = new Fl_Window(100,100);
// Create Frame
Fl_Box *box = new Fl_Box(FL_UP_BOX,5,5,95,95,"Hello, World!");
box->labelfont(FL_BOLD+FL_ITALIC);
box->labelsize(36);
box->labeltype(FL_SHADOW_LABEL);
window->end();
// Display the window
window->show(argc, argv);
// Start the main loop
return Fl::run();
}