Fixed some bugs

This commit is contained in:
Chewico 2025-06-24 20:53:13 +02:00
parent 3cc97f579f
commit dddd305f07
11 changed files with 592 additions and 428 deletions

View File

@ -67,9 +67,10 @@ Size=104,68
Collapsed=0
[Window][Test]
Pos=560,275
Size=396,176
Pos=440,24
Size=385,361
Collapsed=0
DockId=0x00000005,2
[Docking][Data]
DockSpace ID=0xA1672E74 Window=0x4647B76E Pos=0,24 Size=1280,696 Split=Y Selected=0x34A4C10F

View File

@ -26,19 +26,28 @@
static std::stringstream stream;
static std::string str;
void printFuncList(const asIScriptEngine &engine) {
void printFuncList(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetFuncdefCount(); ++i) {
asITypeInfo *t = engine.GetFuncdefByIndex(i);
asITypeInfo* t = engine.GetFuncdefByIndex(i);
if (!t)
continue;
asIScriptFunction *f = t->GetFuncdefSignature();
asIScriptFunction* func = t->GetFuncdefSignature();
if (!func || func->GetSubType())
continue;
stream << "funcdef " << f->GetDeclaration(true, false, true) << ";\n";
std::string decl = func->GetDeclaration(true, true, true);
// Detect class-scoped funcdefs by presence of "::" in the declaration
size_t scopePos = decl.find("::");
if (scopePos != std::string::npos)
continue;
stream << "funcdef " << decl << ";\n";
}
}
void printEnumList(const asIScriptEngine &engine) {
void printEnumList(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetEnumCount(); ++i) {
const auto e = engine.GetEnumByIndex(i);
if (!e)
@ -63,9 +72,9 @@ void printEnumList(const asIScriptEngine &engine) {
}
}
void printClassTypeList(const asIScriptEngine &engine) {
void printClassTypeList(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetObjectTypeCount(); ++i) {
asITypeInfo *t = engine.GetObjectTypeByIndex(i);
asITypeInfo* t = engine.GetObjectTypeByIndex(i);
if (!t)
continue;
@ -89,8 +98,17 @@ void printClassTypeList(const asIScriptEngine &engine) {
stream << " {\n";
for (int i = 0; i < t->GetChildFuncdefCount(); ++i) {
asITypeInfo* ftype = t->GetChildFuncdef(i);
asIScriptFunction* func = ftype->GetFuncdefSignature();
std::string decl = func->GetDeclaration(false, false, true);
stream << "\tfuncdef " << decl << ";\n";
}
for (int j = 0; j < t->GetFactoryCount(); ++j) {
asIScriptFunction *f = t->GetFactoryByIndex(j);
asIScriptFunction* f = t->GetFactoryByIndex(j);
stream << "\t" << f->GetDeclaration(false, false, true) << ";\n";
}
@ -132,7 +150,7 @@ void printClassTypeList(const asIScriptEngine &engine) {
}
}
void printGlobalFunctionList(const asIScriptEngine &engine) {
void printGlobalFunctionList(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetGlobalFunctionCount(); ++i) {
const auto f = engine.GetGlobalFunctionByIndex(i);
if (!f)
@ -148,10 +166,10 @@ void printGlobalFunctionList(const asIScriptEngine &engine) {
}
}
void printGlobalPropertyList(const asIScriptEngine &engine) {
void printGlobalPropertyList(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetGlobalPropertyCount(); ++i) {
const char *name;
const char *ns0;
const char* name;
const char* ns0;
int type;
engine.GetGlobalPropertyByIndex(i, &name, &ns0, &type, nullptr, nullptr,
nullptr, nullptr);
@ -170,7 +188,7 @@ void printGlobalPropertyList(const asIScriptEngine &engine) {
}
}
void printGlobalTypedef(const asIScriptEngine &engine) {
void printGlobalTypedef(const asIScriptEngine& engine) {
for (int i = 0; i < engine.GetTypedefCount(); ++i) {
const auto type = engine.GetTypedefByIndex(i);
if (!type)
@ -187,7 +205,7 @@ void printGlobalTypedef(const asIScriptEngine &engine) {
}
}
void printAngelInfo(const asIScriptEngine &engine) {
void printAngelInfo(const asIScriptEngine& engine) {
printFuncList(engine);
printEnumList(engine);
@ -211,12 +229,12 @@ namespace Deer {
str = stream.str();
}
void EditorEngine::saveAngelscriptPredefined(const Path &path) {
void EditorEngine::saveAngelscriptPredefined(const Path& path) {
Deer::Path filePath = path / "as.predefined";
std::ofstream file(filePath, std::ios::out | std::ios::binary);
file.write(reinterpret_cast<const char *>(str.c_str()), str.size());
file.write(reinterpret_cast<const char*>(str.c_str()), str.size());
file.close();
}

View File

@ -1,19 +1,22 @@
#include "DeerStudio/EditorEngine/ServiceScript/ServiceScriptContext.h"
#include "DeerStudio/EditorEngine/ErrorHandle.h"
#include "DeerStudio/EditorEngine.h"
#include "DeerStudio/EditorEngine/ErrorHandle.h"
#include "angelscript.h"
namespace Deer {
namespace EditorEngine {
ServiceScriptContext::ServiceScriptContext(asIScriptModule* _module, ServiceScriptInfo* _info)
ServiceScriptContext::ServiceScriptContext(asIScriptModule* _module,
ServiceScriptInfo* _info)
: info(_info), module(_module) {
size_t nScripts = module->GetObjectTypeCount();
asITypeInfo* serviceScriptType = scriptEngine->GetTypeInfoByName("ServiceScript");
asITypeInfo* serviceScriptType =
scriptEngine->GetTypeInfoByName("ServiceScript");
if (!serviceScriptType) {
DEER_EDITOR_ENGINE_ERROR("Could not load ServiceScript interface type");
DEER_EDITOR_ENGINE_ERROR(
"Could not load ServiceScript interface type");
return;
}
@ -22,7 +25,8 @@ namespace Deer {
for (size_t i = 0; i < nScripts; i++) {
asITypeInfo* info = module->GetObjectTypeByIndex(i);
// If it does not implement service script we are not interested int it
// If it does not implement service script we are not interested
// int it
if (!info->Implements(serviceScriptType))
continue;
@ -50,7 +54,8 @@ namespace Deer {
o.info = nullptr;
}
ServiceScriptContext& ServiceScriptContext::operator=(ServiceScriptContext&& o) {
ServiceScriptContext&
ServiceScriptContext::operator=(ServiceScriptContext&& o) {
if (&o != this) {
scriptServices = std::move(o.scriptServices);
context = o.context;
@ -78,7 +83,7 @@ namespace Deer {
void ServiceScriptContext::bindFunctions() {
std::string ns;
ns = info->author + "::" + info->name +"::" + info->name;
ns = info->name;
DEER_CORE_INFO(ns.c_str());
@ -89,5 +94,5 @@ namespace Deer {
scriptEngine->SetDefaultNamespace("");
}
}
}
} // namespace EditorEngine
} // namespace Deer

View File

@ -4,7 +4,7 @@ class PropertiesPannel : DockPanel {
vec3 slid2;
void onRender() {
Entity entity = Chewico::ActiveEntity::ActiveEntity::getActiveEntity();
Entity entity = ActiveEntity::getActiveEntity();
// We don't want to change root options
if (entity.isRoot)

View File

@ -21,7 +21,7 @@ class TreePannel : DockPanel {
for (int i = 0; i < entity.childs.count; i++) {
Entity child = entity.childs[i];
bool isActive = child == Chewico::ActiveEntity::ActiveEntity::getActiveEntity();
bool isActive = child == ActiveEntity::getActiveEntity();
string displayName = child.name;
if (displayName == "") {
@ -52,7 +52,7 @@ class TreePannel : DockPanel {
// We can't select the entity
if (UI::isItemClicked(0)) {
Chewico::ActiveEntity::ActiveEntity::setActiveEntity(entity);
ActiveEntity::setActiveEntity(entity);
}
}

View File

@ -1,5 +1,4 @@
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -115,6 +114,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -401,7 +401,6 @@ namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -517,6 +516,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -802,5 +802,5 @@ namespace UI { void openPopup(const string&in, any@); }
namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
namespace Chewico::ActiveEntity::ActiveEntity { Entity getActiveEntity(); }
namespace Chewico::ActiveEntity::ActiveEntity { void setActiveEntity(Entity); }
namespace ActiveEntity { Entity getActiveEntity(); }
namespace ActiveEntity { void setActiveEntity(Entity); }

View File

@ -1,5 +1,4 @@
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -115,6 +114,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -401,7 +401,6 @@ namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -517,6 +516,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -802,5 +802,5 @@ namespace UI { void openPopup(const string&in, any@); }
namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
namespace Chewico::ActiveEntity::ActiveEntity { Entity getActiveEntity(); }
namespace Chewico::ActiveEntity::ActiveEntity { void setActiveEntity(Entity); }
namespace ActiveEntity { Entity getActiveEntity(); }
namespace ActiveEntity { void setActiveEntity(Entity); }

View File

@ -1,6 +1,6 @@
class Test : DockPanel {
void onRender() {
Entity ent = Chewico::ActiveEntity::ActiveEntity::getActiveEntity();
Entity ent = ActiveEntity::getActiveEntity();
UI::text("Hi");
UI::text(ent.name);

View File

@ -1,5 +1,4 @@
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -115,6 +114,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -401,7 +401,6 @@ namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -517,6 +516,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -802,5 +802,5 @@ namespace UI { void openPopup(const string&in, any@); }
namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
namespace Chewico::ActiveEntity::ActiveEntity { Entity getActiveEntity(); }
namespace Chewico::ActiveEntity::ActiveEntity { void setActiveEntity(Entity); }
namespace ActiveEntity { Entity getActiveEntity(); }
namespace ActiveEntity { void setActiveEntity(Entity); }

View File

@ -1,5 +1,4 @@
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -115,6 +114,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -401,7 +401,6 @@ namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -517,6 +516,7 @@ class string {
void erase(uint pos, int count = - 1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -802,5 +802,5 @@ namespace UI { void openPopup(const string&in, any@); }
namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
namespace Chewico::ActiveEntity::ActiveEntity { Entity getActiveEntity(); }
namespace Chewico::ActiveEntity::ActiveEntity { void setActiveEntity(Entity); }
namespace ActiveEntity { Entity getActiveEntity(); }
namespace ActiveEntity { void setActiveEntity(Entity); }

View File

@ -1,5 +1,4 @@
//This file was generated automatically
funcdef bool T[]::less(const T&in a, const T&in b);
funcdef void ReciverFunc(any@);
funcdef void TransferFunc(any@, any@);
enum key {
@ -104,17 +103,18 @@ class string {
string& opAddAssign(bool);
string opAdd(bool) const;
string opAdd_r(bool) const;
string substr(uint start = 0, int count = - 1) const;
string substr(uint start = 0, int count = -1) const;
int findFirst(const string&in, uint start = 0) const;
int findFirstOf(const string&in, uint start = 0) const;
int findFirstNotOf(const string&in, uint start = 0) const;
int findLast(const string&in, int start = - 1) const;
int findLastOf(const string&in, int start = - 1) const;
int findLastNotOf(const string&in, int start = - 1) const;
int findLast(const string&in, int start = -1) const;
int findLastOf(const string&in, int start = -1) const;
int findLastNotOf(const string&in, int start = -1) const;
void insert(uint pos, const string&in other);
void erase(uint pos, int count = - 1);
void erase(uint pos, int count = -1);
}
class array<T> {
funcdef bool less(const T&in a, const T&in b);
T[]@ array(int&in);
T[]@ array(int&in, uint length);
T[]@ array(int&in, uint length, const T&in value);
@ -330,73 +330,213 @@ string formatFloat(double val, const string&in options = "", uint width = 0, uin
int64 parseInt(const string&in, uint base = 10, uint&out byteCount = 0);
uint64 parseUInt(const string&in, uint base = 10, uint&out byteCount = 0);
double parseFloat(const string&in, uint&out byteCount = 0);
namespace Engine { Entity getRoot(); }
namespace UI { bool button(const string&in); }
namespace UI { bool buttonCenter(const string&in); }
namespace UI { bool buttonEnd(const string&in); }
namespace UI { bool checkbox(const string&in, bool); }
namespace UI { bool checkboxDisabled(const string&in, bool); }
namespace UI { void drawFrameBuffer(FrameBuffer, int, int); }
namespace UI { void drawFrameBufferCentered(FrameBuffer, int, int); }
namespace UI { void drawIcon(const string&in, int); }
namespace UI { void drawIconCentered(const string&in, int); }
namespace UI { bool inputText(const string&in, const string&in, string&out); }
namespace UI { bool isItemClicked(int); }
namespace UI { bool isMouseDoubleClicked(int); }
namespace UI { float magicSlider(const string&in, float, float); }
namespace UI { vec3 magicSlider3(const string&in, vec3, float); }
namespace UI { bool menuItem(const string&in); }
namespace UI { void menuItemDisabled(const string&in); }
namespace UI { void menuSpace(const string&in, any@, ReciverFunc@); }
namespace UI { void sameline(); }
namespace UI { void separator(); }
namespace UI { void space(); }
namespace UI { void space(int, int = 10); }
namespace UI { void text(const string&in); }
namespace UI { void textCenter(const string&in); }
namespace UI { void textColor(float, float, float, const string&in); }
namespace UI { void textEnd(const string&in); }
namespace UI { void title(const string&in); }
namespace UI { void titleCenter(const string&in); }
namespace UI { void titleCenterY(const string&in, int); }
namespace UI { void titleEnd(const string&in); }
namespace UI { bool isKeyDown(key); }
namespace UI { bool isKeyPressed(key); }
namespace UI { bool isMouseDraggin(key); }
namespace UI { bool isPannelActive(); }
namespace UI { float getMouseDragDeltaX(); }
namespace UI { float getMouseDragDeltaY(); }
namespace UI { float getMouseDeltaX(); }
namespace UI { float getMouseDeltaY(); }
namespace UI { int getAvailableSizeX(); }
namespace UI { int getAvailableSizeY(); }
namespace UI { void disablePannelPadding(bool); }
namespace UI { int sliderInt(string&in, int, int, int); }
namespace UI { float slider(string&in, float, float, float); }
namespace Engine { FrameBuffer createRGBA8FrameBuffer(const string&in, int, int); }
namespace Engine { FrameBuffer getFrameBuffer(const string&in); }
namespace Engine { Environment getMainEnvironment(); }
namespace Engine { Environment createEnvironment(); }
namespace UI { void setupAutomaticColumns(int); }
namespace UI { void setupColumns(int); }
namespace UI { void endColumns(); }
namespace UI { void nextColumn(); }
namespace Resource { int getResourceCount(ResourceType, const string&in); }
namespace Resource { string getResourceNameById(ResourceType, const string&in, int); }
namespace Resource { string getResourcePathById(ResourceType, const string&in, int); }
namespace Resource { int getDirCount(ResourceType, const string&in); }
namespace Resource { string getDirPathById(ResourceType, const string&in, int); }
namespace Resource { string getDirNameById(ResourceType, const string&in, int); }
namespace Engine { void print(const string&in); }
namespace UI { void treeNodeLeaf(const string&in, bool); }
namespace UI { bool treeNode(const string&in, bool, any@, ReciverFunc@); }
namespace UI { bool componentNode(const string&in, any@, ReciverFunc@); }
namespace UI { bool componentNode_contextMenu(const string&in, any@, ReciverFunc@, ReciverFunc@); }
namespace UI { void contextItemPopup(const string&in, any@, ReciverFunc@); }
namespace UI { void contextMenuPopup(const string&in, any@, ReciverFunc@); }
namespace UI { void modalPopup(const string&in, ReciverFunc@); }
namespace UI { void simplePopup(const string&in, ReciverFunc@); }
namespace UI { void openPopup(const string&in, any@); }
namespace UI { void closePopup(); }
namespace UI { void dragDropSource(const string&in, any@, const string&in); }
namespace UI { void dragDropTarget(const string&in, any@, TransferFunc@); }
namespace Engine {
Entity getRoot();
}
namespace UI {
bool button(const string&in);
}
namespace UI {
bool buttonCenter(const string&in);
}
namespace UI {
bool buttonEnd(const string&in);
}
namespace UI {
bool checkbox(const string&in, bool);
}
namespace UI {
bool checkboxDisabled(const string&in, bool);
}
namespace UI {
void drawFrameBuffer(FrameBuffer, int, int);
}
namespace UI {
void drawFrameBufferCentered(FrameBuffer, int, int);
}
namespace UI {
void drawIcon(const string&in, int);
}
namespace UI {
void drawIconCentered(const string&in, int);
}
namespace UI {
bool inputText(const string&in, const string&in, string&out);
}
namespace UI {
bool isItemClicked(int);
}
namespace UI {
bool isMouseDoubleClicked(int);
}
namespace UI {
float magicSlider(const string&in, float, float);
}
namespace UI {
vec3 magicSlider3(const string&in, vec3, float);
}
namespace UI {
bool menuItem(const string&in);
}
namespace UI {
void menuItemDisabled(const string&in);
}
namespace UI {
void menuSpace(const string&in, any@, ReciverFunc@);
}
namespace UI {
void sameline();
}
namespace UI {
void separator();
}
namespace UI {
void space();
}
namespace UI {
void space(int, int = 10);
}
namespace UI {
void text(const string&in);
}
namespace UI {
void textCenter(const string&in);
}
namespace UI {
void textColor(float, float, float, const string&in);
}
namespace UI {
void textEnd(const string&in);
}
namespace UI {
void title(const string&in);
}
namespace UI {
void titleCenter(const string&in);
}
namespace UI {
void titleCenterY(const string&in, int);
}
namespace UI {
void titleEnd(const string&in);
}
namespace UI {
bool isKeyDown(key);
}
namespace UI {
bool isKeyPressed(key);
}
namespace UI {
bool isMouseDraggin(key);
}
namespace UI {
bool isPannelActive();
}
namespace UI {
float getMouseDragDeltaX();
}
namespace UI {
float getMouseDragDeltaY();
}
namespace UI {
float getMouseDeltaX();
}
namespace UI {
float getMouseDeltaY();
}
namespace UI {
int getAvailableSizeX();
}
namespace UI {
int getAvailableSizeY();
}
namespace UI {
void disablePannelPadding(bool);
}
namespace UI {
int sliderInt(string&in, int, int, int);
}
namespace UI {
float slider(string&in, float, float, float);
}
namespace Engine {
FrameBuffer createRGBA8FrameBuffer(const string&in, int, int);
}
namespace Engine {
FrameBuffer getFrameBuffer(const string&in);
}
namespace Engine {
Environment getMainEnvironment();
}
namespace Engine {
Environment createEnvironment();
}
namespace UI {
void setupAutomaticColumns(int);
}
namespace UI {
void setupColumns(int);
}
namespace UI {
void endColumns();
}
namespace UI {
void nextColumn();
}
namespace Resource {
int getResourceCount(ResourceType, const string&in);
}
namespace Resource {
string getResourceNameById(ResourceType, const string&in, int);
}
namespace Resource {
string getResourcePathById(ResourceType, const string&in, int);
}
namespace Resource {
int getDirCount(ResourceType, const string&in);
}
namespace Resource {
string getDirPathById(ResourceType, const string&in, int);
}
namespace Resource {
string getDirNameById(ResourceType, const string&in, int);
}
namespace Engine {
void print(const string&in);
}
namespace UI {
void treeNodeLeaf(const string&in, bool);
}
namespace UI {
bool treeNode(const string&in, bool, any@, ReciverFunc@);
}
namespace UI {
bool componentNode(const string&in, any@, ReciverFunc@);
}
namespace UI {
bool componentNode_contextMenu(const string&in, any@, ReciverFunc@, ReciverFunc@);
}
namespace UI {
void contextItemPopup(const string&in, any@, ReciverFunc@);
}
namespace UI {
void contextMenuPopup(const string&in, any@, ReciverFunc@);
}
namespace UI {
void modalPopup(const string&in, ReciverFunc@);
}
namespace UI {
void simplePopup(const string&in, ReciverFunc@);
}
namespace UI {
void openPopup(const string&in, any@);
}
namespace UI {
void closePopup();
}
namespace UI {
void dragDropSource(const string&in, any@, const string&in);
}
namespace UI {
void dragDropTarget(const string&in, any@, TransferFunc@);
}