Programming with GraphApp

Hello World:

#include <stdio.h>
#include "graphapp.h"

int main(int argc, char *argv[])
{
  App *app = new_app(argc, argv);
  Window *w = new_window(app,
                         rect(0,0,240,160),
                         "Graphics",
                         STANDARD_WINDOW);
  new_label(w, rect(0,0,100,30),
            "Hello world", ALIGN_LEFT);
  show_window(w);
  main_loop(app);
  return 0;
}

Notes: