Gistek announces the first version of NGui
September 24th, 2006 by Joao Paulo Figueira
Gistek has just announced the first version of NGui, an XML/LUA/WTL framework to create user interface on Windows and Windows CE (PocketPC). Quoting from Gistek’s site:
NGui is a C++ library to enable the easy creation of a complete modern application with dynamic modal or modeless dialog boxes. It comes with a binding to lua, a compact but powerful javascript like interpreter (http://www.lua.org). Graphical user interface are created by a combinaison of xml for the static description of the various GUI elements (gadgets) and lua code for user interaction (behavior).
Gui can be used stand alone to create a full application that runs on win32 and PocketPC, or it can be embedded into a another application to allow the creation of customisable dialog boxes.
Ngui reads in the xml description, position every widget (using a simple flow algorithm) and dispatch evens generated from user interaction to attached lua code.
Ngui also has an plug-in extension mechanism to dynamically loads a dll that defines one or more gadgets (control that have a window), those gadget are inserted into the user interface like normal one, and lua commands defined in the dll are added to the interpretor.
