Good Enough GUI 1 Alpha

Use a web browser as a GUI for an application
A set of functions that provide a point-to-point HTTP server and a preprocessing utility for C files with embedded HTML.
This version has been developed on Debian Lenny on an AMD64 architecture. It should be a simple matter to implement it on any other system. (Please let me know.)
It has been tested using Firefox and Safari.

Create and, optionally, install libgegui.a and gegui.h .

0) Read makefile in the directory.

1) clean stuff up
        make clean

2) compile
        make -k

This produces:
        library: gegui.a
        pre-processor: preProc - provides:
ability to embed HTML within c-code. (prefix HTML lines with '+') sections within the HTML code delimited by '$' are passed on directly and  executed as c code.

Extra utility functions itoa and ftoa produce text values of integer and  float values respectively.
eg  within HTML for:

char *c = "textValue", $c$ expands to textValue
float v = PI, $v$ expands to 3.141... and $sin(v)$ expands to 0.

Try the example for more detail.   

2) install
        make install - not needed for the example (see example makefile).

   gegui.h -> /usr/local/include
   libgegui.a -> /usr/local/lib
   preProc -> /usr/local/bin

(You will need write permission to these directories. may have to : adduser )

last updated on:
May 3rd, 2009, 6:50 GMT
license type:
LGPL (GNU Lesser General Public License) 
developed by:
Malcolm McQueen
ROOT \ Programming \ UI (User Interfaces)
Good Enough GUI
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!