imgui/examples/allegro5_example
2015-07-08 12:55:40 -06:00
..
imgui_impl_a5.cpp Allegro 5 example: converted for indexed rendering. 2015-07-08 12:55:40 -06:00
imgui_impl_a5.h Allegro 5 example: formatting, match other example structure, fixed mouse buttons. 2015-07-08 11:53:30 -06:00
main.cpp Allegro 5 example: fixed uv coordinate of non-default texture. 2015-07-08 12:41:09 -06:00
README.md Allegro5 example: added example from https://github.com/bggd/a5imgui_example 2015-07-08 11:34:36 -06:00

How to Build

  • On Ubuntu 14.04+
g++ -I ../imgui main.cpp imgui_impl_a5.cpp ../imgui/imgui.cpp -lallegro -lallegro_primitives
  • On Windows with Visual Studio's CLI

<a5path> is your allegro5 folder.

cl /MD /I <a5path\include> /I ..\imgui main.cpp imgui_impl_a5.cpp ..\imgui\imgui.cpp /link /LIBPATH:<a5path\lib> allegro-5.0.10-monolith-md.lib user32.lib

public domain