Giter VIP home page Giter VIP logo

fluxlab's Introduction

this demo shows some basic features of flux, a cross-platform gui library in development.

 - groups: look & behaviour of commonly-used functionality (button, checkbox, window frame) is defined once, then re-used ('cloned'). demo shows a set of default groups.
 - window handling: windows can be dragged (titlebar) and resized with right mouse button. overlapping opaque and translucent windows are drawn correctly.
 - scaling and alignment: child windows can be aligned to top/left/right/bottom edges of parent windows. position and size can be specified in absolute (pixel) values or relative (percentage) values. combining these automatic alignment types makes the use of callbacks to resize child windows, used in other gui toolkits, unnecessary for all common tasks.
 - shapes: basic antialiased vector graphics (polygon, ellipse, arc) 
 - fast antialiased bitmap fonts (using opengl textures)
 - basic keyboard input using sdl events.

all basic features work on resource-limited machines too, an FPU is not needed. a working backend exists for the nintendo ds (66 MHz integer-only cpu, 4 MB RAM).

the demo also implements a simple FBO-based compositor, enabling pixelshader effect windows and zooming (try mouse wheel). you need a graphics card and driver supported by the cg runtime. the demo runs on linux, but should build on other platforms. you need development packages for GL, GLU, glut, SDL, SDL_image, and the cg runtime (http://developer.nvidia.com/object/cg_download.html) to build.

https://github.com/jkroll20/fluxlab

fluxlab's People

Watchers

 avatar  avatar

Forkers

gui-works

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.