项目作者: AsakuraMizu

项目描述 :
Druid component UI library in Haxe
高级语言: Haxe
项目地址: git://github.com/AsakuraMizu/hxdruid.git
创建时间: 2020-08-13T05:39:21Z
项目社区:https://github.com/AsakuraMizu/hxdruid

开源协议:MIT License

下载


Haxe support library for the Druid Defold component UI library

Features

Quick start

Install hxdefold

Document at https://github.com/hxdefold/hxdefold#quick-start

Install hxdruid

Note

You do NOT need to add druid to your defold dependencies. This is a Haxe-REWRITE.

Example

  1. import druid.*;
  2. typedef HelloData = {};
  3. class Hello extends DruidScript<HelloData> {
  4. private function hover_callback(self:HelloData, state:Bool) {
  5. trace(state);
  6. }
  7. override function init(self:HelloData) {
  8. super.init(self);
  9. add(new Hover("hover", hover_callback));
  10. }
  11. }

Documentation

Contribution

Issues and PRs are welcomed.

Todo List

  • Base framework
  • Basic components (17/17)
  • Guide & Documentation
  • Test all components
  • Advanced style system
  • Examples