Giter Club home page Giter Club logo

panui's Introduction

panui's People

Contributors

jeyrunner avatar

Stargazers

 avatar Shujaat Ali Khan avatar Brynjard Øvergård avatar  avatar Rain avatar

Watchers

James Cloos avatar  avatar David Holt avatar

panui's Issues

Box height calculation

Box height increases endless if it set to AUTO and one child height is set by percent value.
panuibug

View size calculation

Layout recalculation at Box (calcLayoutSize) need multible calls to fish calculation

GUI updates stop on Android

When you bring panui app to background and foreground multiple times, the screen stops updating.
If you rotate screen the viewport not even changes size:
screenshot_20170425-183932

Documentation

The description in readme is a bit too short :/
what is the goal of the project ?

Text not shows if it is root element

If you use the following code, text will not be displayed immediately.
Only after window size changed.

(...)

Text *txt = new Text();
txt->text("Hi");

Ui *window = new Ui(400, 400, "Example");
window->setRootView(txt);

(...)

Add amimation

animate style attributes:

headline->textColor->animate(2 /*seconds*/)->to("#FF0000")
              ->after(headline->textColor->animate(2 /*seconds*/)->to("#00FF00"));
AnimationSet animation();
animation->startWith(headline->textColor->animate(2 /*seconds*/)->to("#FF0000"));
animation->endWith(headline->textColor->animate(2 /*seconds*/)->to("#00FF00"));
animation->repeat();
animation->duration(4 /*seconds*/);
animation->start()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.