Giter VIP home page Giter VIP logo

mergui's People

Contributors

lenscas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

johnpmayer

mergui's Issues

Scrollable

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".

Grouped Concealers

A widget that takes a list of Concealers and makes sure that there is at most 1 active at any given time.

improve CI

Github actions can do a lot.

Ideally, set it up so that:

  • It makes sure every pull request is correctly formatter
  • there are no (clippy) warnings
  • run (doc) tests on pull requests: See #14
  • the example page is kept up to date. See #13

input text can go wider than input

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

problem with whitespace in input widget

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.

intergrate silver_animation

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.

Improve docs

The documentation isn't great. More examples inside the code is probably a good idea.

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.