mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-12-25 07:41:50 +01:00
Merge branch 'master' of https://github.com/Maschell/libgui
This commit is contained in:
commit
bfc5532b4e
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Following steps are required for initialization:
|
Following steps are required for initialization:
|
||||||
```
|
```C
|
||||||
InitOSFunctionPointers(); // Load OS functions
|
InitOSFunctionPointers(); // Load OS functions
|
||||||
InitPadScoreFunctionPointers();
|
InitPadScoreFunctionPointers();
|
||||||
InitVPadFunctionPointers(); // Input functions for GUI control
|
InitVPadFunctionPointers(); // Input functions for GUI control
|
||||||
@ -21,13 +21,13 @@ unmount_sd_fat("sd");
|
|||||||
```
|
```
|
||||||
|
|
||||||
Link the application with:
|
Link the application with:
|
||||||
```
|
```Makefile
|
||||||
-lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
|
-lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
|
||||||
```
|
```
|
||||||
|
|
||||||
You also need to add the include path to your Makefile. Example:
|
You also need to add the include path to your Makefile. Example:
|
||||||
|
|
||||||
```
|
```Makefile
|
||||||
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
|
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
|
||||||
-I$(PORTLIBS)/include/libgui \
|
-I$(PORTLIBS)/include/libgui \
|
||||||
-I$(PORTLIBS)/include
|
-I$(PORTLIBS)/include
|
||||||
@ -56,4 +56,4 @@ This package includes:
|
|||||||
# Credits
|
# Credits
|
||||||
- Orignally based on https://github.com/dborth/libwiigui
|
- Orignally based on https://github.com/dborth/libwiigui
|
||||||
- Wii U port / modification / new functions / sound / much more by dimok.
|
- Wii U port / modification / new functions / sound / much more by dimok.
|
||||||
- Minor changes by Maschell
|
- Minor changes by Maschell
|
||||||
|
Loading…
Reference in New Issue
Block a user