Giter Club home page Giter Club logo

conrod's Introduction

Conrod Build Status

An easy-to-use, 2D GUI library written entirely in Rust.

Here's a demo!

https://www.youtube.com/watch?v=n2UrjogA0j0

You can find the example project that was used for that video here.

Documentation

How to contribute

Licenses of example assets

Current State

We're just starting to reach a stable-ish API pattern! There will still be large changes however these are more likely to be new features than API overhauls. Next on the todo list is Themes!

An example project will be kept up-to-date featuring demonstrations of all working widgets. Conrod is still in very early stages however definitely usable.

Available Widgets

  • Button
  • Canvas (Can be positioned manually or by using Splits or Tabs)
  • Drop Down List
  • Envelope Editor
  • Label
  • Number Dialer
  • Slider
  • TextBox
  • Toggle
  • XYPad
  • Custom: Conrod also provides a Widget trait for designing and implementing custom widgets. You can find an annotated demonstration of designing a custom widget implementation here. All internal widgets also use this same trait so they should make for decent examples. If you feel like your widget is useful enough to be included within the internal widget library, feel free to add them in a pull request :)

To-do:

If conrod is missing anything you really wish it had, let us know with an issue describing the widget's style, behaviour and functionality - or even better, submit a pull request :D

Make sure you check the widget label for your desired widget first as it may have already been requested.

Dependencies

Getting Started

Build the conrod lib like this:

git clone https://github.com/PistonDevelopers/conrod.git
cd conrod
cargo build

And then build and run the examples like this:

cargo run --example all_widgets
cargo run --example canvas

You can add it to your project by adding this to your Cargo.toml:

[dependencies]
conrod = "*"

Dependencies

dependencies

Conrod uses Elmesque

Conrod uses Elmesque under the hood for its 2D graphics and layout. You don't need to know about Elmesque to use Conrod. But if you want to combine Conrod with your own custom Elmesque drawing, see the example.

conrod's People

Contributors

abonander avatar alexchandel avatar benaryorg avatar bvssvni avatar dcampbell24 avatar debloper avatar djallen89 avatar ebfull avatar eklavya avatar elediaz avatar emberian avatar esption avatar evenlis avatar frewsxcv avatar gaudecker avatar gchp avatar indiv0 avatar jarrett avatar leonkunert avatar lifthrasiir avatar milibopp avatar mitchmindtree avatar pollyg312 avatar potpourri avatar ryman avatar steveklabnik avatar stjahns avatar tjtolon avatar yuripourre avatar zummenix avatar

Watchers

 avatar  avatar

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.