Line 39:
Line 39:
==Incorporating the library into your programs==
==Incorporating the library into your programs==
−
1)Place libhbmenu.a into your libs folder (which should be somewhere in your devkitPRO directory)
+
#Place libhbmenu.a into your libs folder (which should be somewhere in your devkitPRO directory)
−
+
#Place hbmenuhead.h into your include folder (which should be somewhere in your devkitPRO directory)
−
2)Place hbmenuhead.h into your include folder (which should be somewhere in your devkitPRO directory)
+
#Add the line -lhbmenu in your makefile under LIBS:
−
+
#Add the line #include <hbmenuhead.h> wherever neseccary in your code.
−
3)Add the line -lhbmenu in your makefile under LIBS:
+
#Place the artwork into your project's data folder and place a rule for compiling .pngs into buffers in your makefile '''or''' just include the provided build files into your projects build folder.
−
−
4)Add the line #include <hbmenuhead.h> wherever neseccary in your code.
−
−
5)Place the artwork into your project's data folder and place a rule for compiling .pngs into buffers in your makefile '''or''' just include the provided build files into your projects build folder.
==Ports==
==Ports==