|
|
|
User Rating: Rated by: |
Good (3.5/5) 16 user(s) |
|
|
|
Lgi description |
|
|
Lgi is a GUI framework for abstracting out all the operating system dependencies LGI is a GUI framework for abstracting out all the operating system dependencies that you can produce portable code. It handles all the graphical interface functions, threading and semaphores, network connectivity and lots of other bits and peices to help build small, fast and reliable applications.
The strengths of LGI is that it's a small enough library that one person can understand it all. Also it's not too much of a burden on an application, both in increased download time and memory footprint. LGI at the moment compresses to about 200kb, which while not insignificant is quite a bit smaller than the options.
Fundamentally, however size is a secondary consideration to the core feature of LGI and that is portability. Currently 3 ports exist, Win32, Linux and BeOS.
To Use: Download the latest source, unpack somewhere. For full graphics and charset support download (or check you already have) iconv, libpng, zlib and libjpeg; then add their include paths to your compilers include paths. Or find the defineds in Lgi.h for the various libraries and set them to 0.
To build: Win32: Load Lgi/Lgi.dsp into Visual C++ and build it. Linux: make -f Lgi/Makefile.linux Cygwin: make -f Lgi/Makefile.win32 Mac: Open Lgi.xcode in XCode and run the build command. Adding build folders so the OS can find the shared libraries: For Windows add these to your path: Lgi/Debug Lgi/Release Lgi/Gel/Debug Lgi/Gel/Release For Cygwin add these to your path: Lgi/DebugX Lgi/ReleaseX Lgi/Gel/DebugX Lgi/Gel/ReleaseX
On Linux, create symlinks in /usr/lib to the files: Lgi/DebugX/liblgid.so Lgi/ReleaseX/liblgi.so Lgi/Gel/DebugX/liblgiskind.so Lgi/Gel/ReleaseX/liblgiskin.so Find and build an application. I suggest i.Ftp as a good starting point. However the documentation will help you get started from scratch if you want to do it that way.
|
|