Turbo Badger (fork)
Small footprint UI library for hardware accelerated games & applications
Release FilesNo download files.
Turbo Badger - Fast UI toolkit for hardware accelerated games & applications.
I created Turbo Badger because i wanted a small UI toolkit for use in games and hardware accelerated applications across multiple platforms (that target both desktop and mobile).
The goal is a toolkit that can be easily integrated into an existing codebase to make UI with skinning.
It has no dependency on stl, RTTI or exceptions. Compiling without these features makes footprint very small. Utility classes (such as string, lists, hash table, etc.) are quite minimal for the basic needs of Turbo Badger itself.
See integration.txt for details about integrating image loading, renderer, font system etc.
APIs are changed, features improved & added. Be aware that if you use this right now, you'll probably have to adjust your code to API changes sometimes after pulling master. Documentation about API changes take place in the git commit changelog for now ;)
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
What features does it have
The code design & developing Turbo Badger
If you try to familiarize yourself with the code, you might notice the heavily used
With compilers supporting C++ 11
If you want to add new stuff, here are some hints that will make it easier to get a pull requests accepted:
Creating custom widgets
Widgets are cheap to create and layout and using many widgets to get what you want is encouraged. A custom widget should typically not implement any layouting and drawing of sub-elements if it can be solved by wrapping a TBLayout and other existing widgets.
Any widget may contain other widgets and may control into which sub-widget other
widgets are inflated from resources (using
Custom widgets can be inflated from UI resources too. See the use of the
Building the demo
The demo use GLFW as a submodule for some platform window & input handling. After the first git clone, you need to run:
This will clone GLFW into the right directory.
There is project files for Visual Studio 2012 in Demo/VisualStudio. For other platforms/compilers, you need to first run cmake to generate makefile or projects for your favorite IDE.
There's a Sublime Text project for a small Android test app in DemoAndroid with a custom build & deploy script (Windows .bat file. There's currently no Linux/Mac scripts).
Emil Segerås Web: http://fiffigt.com
Turbo Badger home: https://github.com/fruxo/turbobadger
Some of the windows in the Demo application for desktop, using the default skin.
Latest updated TicketsNo tickets
About Chamber Wiki
Welcome to OSDN Wiki system. Here is your chamber Wiki space.
Check Wiki Guide (English) to refer syntax and functions.