mirror of
https://github.com/Maschell/libgui.git
synced 2024-11-23 21:29:17 +01:00
03ad816adc
Update readme Rename library to guiwut
1.4 KiB
1.4 KiB
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