Druid component UI library in Haxe
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.