Go to file
2018-06-23 13:53:21 +02:00
include Move defines to wut 2018-06-23 13:52:46 +02:00
libs Add first commit on wut branch 2018-06-21 20:44:58 +02:00
source Add first commit on wut branch 2018-06-21 20:44:58 +02:00
.gitattributes 🎪 Added .gitattributes & .gitignore files 2017-10-29 10:26:56 +01:00
.gitignore Add first commit on wut branch 2018-06-21 20:44:58 +02:00
.travis.yml Add first commit on wut branch 2018-06-21 20:44:58 +02:00
CMakeLists.txt Fix cmake file to use libutils instead of libutilswut 2018-06-23 13:53:21 +02:00
libgui.layout Add first commit on wut branch 2018-06-21 20:44:58 +02:00
README.md Add first commit on wut branch 2018-06-21 20:44:58 +02:00

libgui

Build Status

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:

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