muesli4 / libwtk-sdl2 Goto Github PK
View Code? Open in Web Editor NEWSimplistic SDL2 GUI framework in early developement.
Simplistic SDL2 GUI framework in early developement.
The list entry widget doesn't draw some of the text to display. It seems like it only draws the first list entry and even that one is strangely limited.
This may be related to how basic rendering works and how SDL_RenderSetViewport
and SDL_RenderSetClipRect
are used. See:
libwtk-sdl2/src/draw_context.cpp
Line 112 in f7bd729
In some cases in event handling widgets have to be reset to their initial state (i.e. only state related to user input).
In its current state the library implements one hard-coded theme in https://github.com/muesli4/libwtk-sdl2/blob/master/src/draw_context.cpp. This should be replaced with a more modular approach. Perhaps the class can be split into:
A newer version of SDL2 has the annoying behavior of producing additional mouse button events for touch devices. This leads to issues on some widgets (e.g., swipe_area
gets triggered twice even though it was hit once).
text_button
should not draw outside of its box. Provide a mechanism to ellipsize or scroll.
Autotools will require the users to install a full posix shell like cygwin or msys2.
Add a license to the project and the files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.