Include File Installation
Previous Top Next

Installation - Include File


To use this library as a PureBasic Include File, just copy the source code release from the archive, and put it in a folder called "Includes" in your PureBasic Directory...

 I.e. "C:\Program Files\PureBasic\Include\AnimImageGadget.pbi"


To include it in your project, simply add ' IncludeFile #PB_Compiler_Home + "Include\AnimImageGadget.pbi" ' at the top of your source code.



Using Prefixed Commands

If you wish to use the Prefixed Commands (such as AIG_ApplyAnimation), then before including the Include File (as demonstrated above), simply add ' #AIG_UsePrefix = #True '.

This will ensure the include file exposes only the prefixed commands during compilation.