UNPKG

wonder.js

Version:
38 lines (30 loc) 1.63 kB
'use strict'; var GroupLayoutIMGUIAPI$WonderImgui = require("wonder-imgui/lib/js/src/api/GroupLayoutIMGUIAPI.js"); var ManageIMGUIMainService$Wonderjs = require("./ManageIMGUIMainService.js"); var FixedLayoutControlIMGUIService$WonderImgui = require("wonder-imgui/lib/js/src/service/record/control/FixedLayoutControlIMGUIService.js"); function label(rect, str, data, state) { var __x = FixedLayoutControlIMGUIService$WonderImgui.label(rect, str, data, ManageIMGUIMainService$Wonderjs.getRecord(state)); return ManageIMGUIMainService$Wonderjs.setRecord(__x, state); } function image(rect, uv, id, state) { var __x = FixedLayoutControlIMGUIService$WonderImgui.image(rect, uv, id, ManageIMGUIMainService$Wonderjs.getRecord(state)); return ManageIMGUIMainService$Wonderjs.setRecord(__x, state); } function box(rect, color, state) { var __x = FixedLayoutControlIMGUIService$WonderImgui.box(rect, color, ManageIMGUIMainService$Wonderjs.getRecord(state)); return ManageIMGUIMainService$Wonderjs.setRecord(__x, state); } function beginGroup(position, state) { var __x = GroupLayoutIMGUIAPI$WonderImgui.beginGroup(position, ManageIMGUIMainService$Wonderjs.getRecord(state)); return ManageIMGUIMainService$Wonderjs.setRecord(__x, state); } function endGroup(state) { var __x = GroupLayoutIMGUIAPI$WonderImgui.endGroup(ManageIMGUIMainService$Wonderjs.getRecord(state)); return ManageIMGUIMainService$Wonderjs.setRecord(__x, state); } exports.label = label; exports.image = image; exports.box = box; exports.beginGroup = beginGroup; exports.endGroup = endGroup; /* ManageIMGUIMainService-Wonderjs Not a pure module */