BentleyBlanks / ofxUI

more efficient ofxUI
19 stars 5 forks source link

ofxUI

Didn't change the usage of ofxUI, but more effient and supported more widget styles. Allows to change the widget's attribute, not confined in the widget canvas(position, texture etc...).

Usage

1.To hide the canvas's panel

canvas->setDrawable(false);

2.Use customize the widget's texture/frame animation

widget->setDrawMode(OFX_UI_DRAW_FRAMEANIMATION_NOLABEL);
widget->setFrameAnimationPosition(x, y);
// setting the customize trigger aabb
widget->setAABB(x, y, w, h);
// foldername and picsNumber for import series gif photos(amount 1 for static widget)
button->loadImageOfHover(path, folderName, suffixFormat, picsAmount);
// the same for loading image of Normal and Pressed.

3.Rest of it is the same with ofxUI's usage

Screentshot

Customizable style and frame animation supported

2

1


Effiency(Compatible with original ofxUI)

Comparison each other with the fps

ofxUI with TattyUI

4

Original ofxUI

3

Updated

2014.11.19

2014.11.12

2014.9.22

2014.3.1

关于作者

    int 官某某 = "Bingo";

    char[] 个人博客 = "http://bentleyblanks.github.io";