native-ui

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

Repository

native-ui

Owner
Statistic
  • 2
  • 0
  • 0
  • 0
  • 4
  • over 2 years ago
  • May 23, 2021
License

MIT License

Links
Synced at

Fri, 03 May 2024 05:42:15 GMT

Languages