mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-12-24 15:21:50 +01:00
03ad816adc
Update readme Rename library to guiwut |
||
---|---|---|
include | ||
libs | ||
source | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
libgui.layout | ||
README.md |
libgui
Usage
Following steps are required for initialization:
memoryInitialize(); // Initialize memory management
//DO GUI STUFF HERE!
memoryRelease();
Link the application with:
-lguiwut -lutilswut -lfreetype -lgd -lpng -ljpeg -lmad -lvorbisidec -lzlib125
You also need to add the include path to your Makefile. Example:
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
-I$(WUT_ROOT)/include/libguiwut \
-I$(PORTLIBS)/include
TODO: provide more information
Dependencies
To be able to use libgui, you need to install the following dependencies:
- Application needs to be loaded from the homebrew_launcher
- libutils (WUT branch) for common functions.
- wut
And other portable libraries that can be found in the "libs" folder of this repository. Extract the "portlibs.zip" into your devkitPro directory.
7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
This package includes:
- freetype2
- libgd
- libpng
- libjpeg
- libmad
- vorbisidec
Credits
- Orignally based on https://github.com/dborth/libwiigui
- Wii U port / modification / new functions / sound / much more by dimok.
- Minor changes by Maschell