Library panel

This commit is contained in:
luboslenco
2018-03-06 23:33:34 +01:00
parent 7d9f630658
commit c528e78a66
19 changed files with 2291 additions and 2426 deletions
+6 -7
View File
@@ -7,17 +7,16 @@ import zui.Nodes;
import iron.data.SceneFormat;
import iron.data.MaterialData;
@:access(arm.UINodes)
class NodeCreatorBrush {
public static var numNodes = [8];
public static function draw(uinodes:UINodes, cat:Int) {
var ui = uinodes.ui;
var getNodeX = uinodes.getNodeX;
var getNodeY = uinodes.getNodeY;
var nodes = UINodes.nodes;
var canvas = UINodes.canvasBrush;
public static function draw(cat:Int) {
var ui = UINodes.inst.ui;
var getNodeX = UINodes.inst.getNodeX;
var getNodeY = UINodes.inst.getNodeY;
var nodes = UINodes.inst.nodes;
var canvas = UINodes.inst.canvasBrush;
if (cat == 0) { // Input
if (ui.button("Input")) {