Haxe support library for the Druid Defold component UI library
Document at https://github.com/hxdefold/hxdefold#quick-start
You do NOT need to add druid to your defold dependencies. This is a Haxe-REWRITE.
import druid.*;
typedef HelloData = {};
class Hello extends DruidScript<HelloData> {
private function hover_callback(self:HelloData, state:Bool) {
trace(state);
}
override function init(self:HelloData) {
super.init(self);
add(new Hover("hover", hover_callback));
}
}
Issues and PRs are welcomed.
- Base framework
- Basic components (17/17)
- Guide & Documentation
- Test all components
- Advanced style system
- Examples