mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-11-14 20:35:09 +01:00
5a19ff0d0f
This is a simple UI library doing everything on the same depth / in a 2D space, so using fast Z buffer techniques like HyperZ is overkill. Also disabling it saves a bit of MEM1 for other use. Signed-off-by: Thomas Rohloff <v10lator@myway.de> |
||
---|---|---|
include/gui | ||
source | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
Dockerfile | ||
Makefile | ||
README.md |
libgui
Usage
Following steps are required for initialization:
memoryInitialize(); // Initialize memory management
//DO GUI STUFF HERE!
memoryRelease();
Link the application with:
-lgui -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -logg -lbz2
You also need to add the freetype2 nclude path to your Makefile. Example:
-I$(PORTLIBS_PATH)/ppc/include/freetype2
TODO: provide more information
Dependencies
To be able to use libgui, you need to install the following dependencies:
- wut
- Install the required portlibs via
(dkp-)pacman -Syu ppc-zlib ppc-libmad ppc-libogg ppc-libgd ppc-freetype ppc-libjpeg-turbo ppc-libpng ppc-libvorbisidec ppc-glm ppc-bzip2
Credits
- Orignally based on https://github.com/dborth/libwiigui
- Wii U port / modification / new functions / sound / much more by dimok.
- Minor changes by Maschell