mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-11-14 20:35:09 +01:00
Add syntax highlighting to readme file
Add syntax highlighting to readme file
This commit is contained in:
parent
dacc8044c6
commit
413394095b
@ -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