lenscas / mergui Goto Github PK
View Code? Open in Web Editor NEWA simple gui system for the quicksilver engine
License: Other
A simple gui system for the quicksilver engine
License: Other
A simple widget that takes 2 buttons, a list of widgets, how many it should display and where.
Then it simply renders the given amount and uses the buttons to "scroll".
A widget that takes a list of Concealers and makes sure that there is at most 1 active at any given time.
Your dependency file specified a branch or reference for quicksilver
, but Dependabot couldn't find it at the project's source. Has it been removed?
When typing inside an input widget, the text can go wider than the input widget.
A good way to solve it is by making the text scroll able. However the best way to do this is by rendering the text to a texture first. This is currently blocked by ryanisaacg/quicksilver#601
Whitespace messes the cursor location up. It should be easy enough by not counting whitespace in the current string and by positioning the cursor at the beginning rather than at the end of the current glyph when it is after a whitespace.
However, I'm going to wait to fix this until #25 is fixed as that requires a big change in how the input widget works internally anyway.
Silver animation is another library that I made that may make sense to have integrated into Mergui.
I think the best way to do this would be to add a "Drawable" trait that has the following function
fn draw(&mut self, gfx : &mut Graphics ,location :Rectangle ) -> quicksilver::Result<()>
Then, I can simply implement that for everything that implements SimpleAnimation as well as Image and use that.
This would however pose a problem for the current Button. As this would make it impossible to draw the image tinted.
The documentation isn't great. More examples inside the code is probably a good idea.
Probably use github pages to host this page
There are various places where I used an Arc<Mutex<>> which should just become an Rc<RefCell<>>
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.