Go to file
2020-08-13 14:12:26 +02:00
include/gui Calculate the width and height by the text width/height in GuIText 2020-08-13 14:12:08 +02:00
source Gix the alignment in GuiText 2020-08-13 14:12:26 +02:00
.gitattributes 🎪 Added .gitattributes & .gitignore files 2017-10-29 10:26:56 +01:00
.gitignore Formatting 2020-08-13 12:38:07 +02:00
.travis.yml Fix travis #2 2019-05-14 22:32:41 +02:00
Dockerfile Update the Dockerfile 2020-06-27 12:43:40 +02:00
Makefile - Move lib from $(DESTDIR)$(DEVKITPRO)/wut/ to $(DESTDIR)$(DEVKITPRO)/wut/usr 2020-02-22 23:24:10 +01:00
README.md Add dependencies to the readme 2020-06-27 12:43:08 +02:00

libgui

Build Status

build

pacman -Syu ppc-portlibs
pacman -Syu ppc-glm ppc-libmad

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