guitarhua / SDL_gui

GUI library for SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL_gui

GUI library for SDL2

***** This is work in progress! *****

Stay tuned.

Features

  • Base on SDL, SDL_image, SDL_ttf
  • Support HarffBuzz to display international text correctly.
  • Support FontAwesome Icon
  • Support Unicode (UTF-8)
  • Written in C++

Multi-platform

  • MacOS
  • Windows
  • iOS
  • Android
  • WebAssembly (via Emscripten)
  • Raspberry Pi
  • Linux (Build with CMake)

How to compile

  • MacOSX - use Xcode open the *.xcodeproj then compile and run
  • iOS - use Xcode open the *.xcodeproj then compile and run
  • Android - use android studio open the _Android directory then compile and run it. You may need to config the local.properties to specific sdk and ndk directories.
  • Windows - use Visual Studio 2017 open the *.sln then compile and run. You need to use vspkg to install HarfBuzz first.
  • Emscripten - run make (you need to set path for emsdk tools first)
  • Cmake - just run cmake then make.

Alt text

Alt text

About

GUI library for SDL2

License:MIT License


Languages

Language:C 76.1%Language:Java 7.8%Language:Shell 6.3%Language:C++ 4.4%Language:Objective-C 2.2%Language:CMake 1.5%Language:Makefile 0.9%Language:M4 0.5%Language:Perl 0.1%Language:JavaScript 0.1%Language:PowerShell 0.0%Language:HTML 0.0%Language:Metal 0.0%Language:Objective-C++ 0.0%Language:Roff 0.0%Language:Python 0.0%Language:Batchfile 0.0%