mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-11-14 12:25:10 +01:00
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:
-lgui -lutilswut -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
You also need to add the include path to your Makefile. Example:
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
-I$(WUT_ROOT)/include/libgui \
-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
- libz
- 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