Skip to content

WhoAteDaCake/native-ui

Repository files navigation

native-ui

Painpoints

These are all points I should adress after initial prototyping is done

  • Need a way of cathiching resize events, so I can be notified on how much text to show
  • There needs to be a better way to write css (variables, verification, potentially style reloading?)
  • Easier write to write components. A react-like interface would be great:
    • Widget.make(children=[Button.new(text="hello")], class_name=["hello", "test"])

TODO:

  • Investigate catching kill hooks (atm not being executed)
    • Could be because of the way concurry is used?

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      native-ui:
        github: your-github-user/native-ui
  2. Run shards install

Usage

require "native-ui"

TODO: Write usage instructions here

Development

Bindings

@[Link(ldflags: "-L./LCUI/lib")]

Contributing

  1. Fork it (https://github.com/your-github-user/native-ui/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages