Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

AsakuraMizu/hxdruid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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));
    }
}

Documentation

Contribution

Issues and PRs are welcomed.

Todo List

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