mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Stub Out Missing Methods (#887)
* Add fixable rule to report missing Maki methods * Stub out missing methods These were auto-generated with the ESLint rule * Don't lint on too many params, when the params are defined by Maki * Improve objects tests now that all maki methods are stubbed out Now we can assume all methods exist and we can also start a list of unimplemented methods
This commit is contained in:
parent
646753526b
commit
2790a2995b
39 changed files with 3814 additions and 606 deletions
|
|
@ -24,6 +24,7 @@ module.exports = {
|
|||
recommended: false,
|
||||
},
|
||||
schema: [],
|
||||
fixable: "code",
|
||||
},
|
||||
create: function(context) {
|
||||
let currentObject = null;
|
||||
|
|
@ -66,11 +67,42 @@ module.exports = {
|
|||
});
|
||||
}
|
||||
},
|
||||
ClassBody: function() {
|
||||
ClassBody: function(node) {
|
||||
if (currentObject == null) {
|
||||
return;
|
||||
}
|
||||
// TODO: Check for missing methods
|
||||
|
||||
const implementedMethodNames = new Set(
|
||||
node.body
|
||||
.filter(prop => prop.type === "MethodDefinition")
|
||||
.map(method => method.key.name)
|
||||
);
|
||||
|
||||
currentObject.functions.forEach(func => {
|
||||
const methodName = func.name.toLowerCase();
|
||||
if (implementedMethodNames.has(methodName)) {
|
||||
return;
|
||||
}
|
||||
const args = func.parameters.map(([, name]) => name).join(", ");
|
||||
|
||||
// We rely on Prettier to clean this up.
|
||||
// We also expect `unimplementedWarning` to already be imported.
|
||||
const methodString = `
|
||||
${methodName}(${args}) {
|
||||
unimplementedWarning("${methodName}");
|
||||
return;
|
||||
}
|
||||
`;
|
||||
|
||||
const lastChild = node.body[node.body.length - 1];
|
||||
context.report({
|
||||
node: node,
|
||||
message: `Missing method ${methodName}`,
|
||||
fix: fixer => {
|
||||
return fixer.insertTextAfter(lastChild, methodString);
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
MethodDefinition: function(node) {
|
||||
if (currentObject == null) {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -36,6 +36,91 @@ class AnimatedLayer extends Layer {
|
|||
unimplementedWarning("getlength");
|
||||
return 10;
|
||||
}
|
||||
|
||||
onplay() {
|
||||
unimplementedWarning("onplay");
|
||||
return;
|
||||
}
|
||||
|
||||
onpause() {
|
||||
unimplementedWarning("onpause");
|
||||
return;
|
||||
}
|
||||
|
||||
onresume() {
|
||||
unimplementedWarning("onresume");
|
||||
return;
|
||||
}
|
||||
|
||||
onstop() {
|
||||
unimplementedWarning("onstop");
|
||||
return;
|
||||
}
|
||||
|
||||
onframe(framenum) {
|
||||
unimplementedWarning("onframe");
|
||||
return;
|
||||
}
|
||||
|
||||
setstartframe(framenum) {
|
||||
unimplementedWarning("setstartframe");
|
||||
return;
|
||||
}
|
||||
|
||||
setendframe(framenum) {
|
||||
unimplementedWarning("setendframe");
|
||||
return;
|
||||
}
|
||||
|
||||
setautoreplay(onoff) {
|
||||
unimplementedWarning("setautoreplay");
|
||||
return;
|
||||
}
|
||||
|
||||
isplaying() {
|
||||
unimplementedWarning("isplaying");
|
||||
return;
|
||||
}
|
||||
|
||||
ispaused() {
|
||||
unimplementedWarning("ispaused");
|
||||
return;
|
||||
}
|
||||
|
||||
isstopped() {
|
||||
unimplementedWarning("isstopped");
|
||||
return;
|
||||
}
|
||||
|
||||
getstartframe() {
|
||||
unimplementedWarning("getstartframe");
|
||||
return;
|
||||
}
|
||||
|
||||
getendframe() {
|
||||
unimplementedWarning("getendframe");
|
||||
return;
|
||||
}
|
||||
|
||||
getdirection() {
|
||||
unimplementedWarning("getdirection");
|
||||
return;
|
||||
}
|
||||
|
||||
getautoreplay() {
|
||||
unimplementedWarning("getautoreplay");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurframe() {
|
||||
unimplementedWarning("getcurframe");
|
||||
return;
|
||||
}
|
||||
|
||||
setrealtime(onoff) {
|
||||
unimplementedWarning("setrealtime");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default AnimatedLayer;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class Browser extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,51 @@ class Browser extends GuiObject {
|
|||
getclassname() {
|
||||
return "Browser";
|
||||
}
|
||||
|
||||
navigateurl(url) {
|
||||
unimplementedWarning("navigateurl");
|
||||
return;
|
||||
}
|
||||
|
||||
back() {
|
||||
unimplementedWarning("back");
|
||||
return;
|
||||
}
|
||||
|
||||
forward() {
|
||||
unimplementedWarning("forward");
|
||||
return;
|
||||
}
|
||||
|
||||
stop() {
|
||||
unimplementedWarning("stop");
|
||||
return;
|
||||
}
|
||||
|
||||
refresh() {
|
||||
unimplementedWarning("refresh");
|
||||
return;
|
||||
}
|
||||
|
||||
home() {
|
||||
unimplementedWarning("home");
|
||||
return;
|
||||
}
|
||||
|
||||
settargetname(targetname) {
|
||||
unimplementedWarning("settargetname");
|
||||
return;
|
||||
}
|
||||
|
||||
onbeforenavigate(url, flags, targetframename) {
|
||||
unimplementedWarning("onbeforenavigate");
|
||||
return;
|
||||
}
|
||||
|
||||
ondocumentcomplete(url) {
|
||||
unimplementedWarning("ondocumentcomplete");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Browser;
|
||||
|
|
|
|||
|
|
@ -32,6 +32,21 @@ class Button extends GuiObject {
|
|||
unimplementedWarning("getactivated");
|
||||
return false;
|
||||
}
|
||||
|
||||
onleftclick() {
|
||||
unimplementedWarning("onleftclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightclick() {
|
||||
unimplementedWarning("onrightclick");
|
||||
return;
|
||||
}
|
||||
|
||||
setactivatednocallback(onoff) {
|
||||
unimplementedWarning("setactivatednocallback");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Button;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import Group from "./Group";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class CfgGroup extends Group {
|
||||
/**
|
||||
|
|
@ -10,6 +11,51 @@ class CfgGroup extends Group {
|
|||
getclassname() {
|
||||
return "CfgGroup";
|
||||
}
|
||||
|
||||
cfggetint() {
|
||||
unimplementedWarning("cfggetint");
|
||||
return;
|
||||
}
|
||||
|
||||
cfgsetint(intvalue) {
|
||||
unimplementedWarning("cfgsetint");
|
||||
return;
|
||||
}
|
||||
|
||||
cfggetstring() {
|
||||
unimplementedWarning("cfggetstring");
|
||||
return;
|
||||
}
|
||||
|
||||
cfggetfloat() {
|
||||
unimplementedWarning("cfggetfloat");
|
||||
return;
|
||||
}
|
||||
|
||||
cfgsetfloat(floatvalue) {
|
||||
unimplementedWarning("cfgsetfloat");
|
||||
return;
|
||||
}
|
||||
|
||||
cfgsetstring(strvalue) {
|
||||
unimplementedWarning("cfgsetstring");
|
||||
return;
|
||||
}
|
||||
|
||||
oncfgchanged() {
|
||||
unimplementedWarning("oncfgchanged");
|
||||
return;
|
||||
}
|
||||
|
||||
cfggetguid() {
|
||||
unimplementedWarning("cfggetguid");
|
||||
return;
|
||||
}
|
||||
|
||||
cfggetname() {
|
||||
unimplementedWarning("cfggetname");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default CfgGroup;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class CheckBox extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,31 @@ class CheckBox extends GuiObject {
|
|||
getclassname() {
|
||||
return "CheckBox";
|
||||
}
|
||||
|
||||
ontoggle(newstate) {
|
||||
unimplementedWarning("ontoggle");
|
||||
return;
|
||||
}
|
||||
|
||||
setchecked(checked) {
|
||||
unimplementedWarning("setchecked");
|
||||
return;
|
||||
}
|
||||
|
||||
ischecked() {
|
||||
unimplementedWarning("ischecked");
|
||||
return;
|
||||
}
|
||||
|
||||
settext(txt) {
|
||||
unimplementedWarning("settext");
|
||||
return;
|
||||
}
|
||||
|
||||
gettext() {
|
||||
unimplementedWarning("gettext");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default CheckBox;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class Component extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,46 @@ class Component extends GuiObject {
|
|||
getclassname() {
|
||||
return "Component";
|
||||
}
|
||||
|
||||
ongetwac(wacobj) {
|
||||
unimplementedWarning("ongetwac");
|
||||
return;
|
||||
}
|
||||
|
||||
ongiveupwac(wacobj) {
|
||||
unimplementedWarning("ongiveupwac");
|
||||
return;
|
||||
}
|
||||
|
||||
getguid() {
|
||||
unimplementedWarning("getguid");
|
||||
return;
|
||||
}
|
||||
|
||||
getwac() {
|
||||
unimplementedWarning("getwac");
|
||||
return;
|
||||
}
|
||||
|
||||
setregionfrommap(regionmap, threshold, reverse) {
|
||||
unimplementedWarning("setregionfrommap");
|
||||
return;
|
||||
}
|
||||
|
||||
setregion(reg) {
|
||||
unimplementedWarning("setregion");
|
||||
return;
|
||||
}
|
||||
|
||||
setacceptwac(onoff) {
|
||||
unimplementedWarning("setacceptwac");
|
||||
return;
|
||||
}
|
||||
|
||||
getcontent() {
|
||||
unimplementedWarning("getcontent");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Component;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class ComponentBucket extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,36 @@ class ComponentBucket extends GuiObject {
|
|||
getclassname() {
|
||||
return "ComponentBucket";
|
||||
}
|
||||
|
||||
getmaxheight() {
|
||||
unimplementedWarning("getmaxheight");
|
||||
return;
|
||||
}
|
||||
|
||||
getmaxwidth() {
|
||||
unimplementedWarning("getmaxwidth");
|
||||
return;
|
||||
}
|
||||
|
||||
setscroll(x) {
|
||||
unimplementedWarning("setscroll");
|
||||
return;
|
||||
}
|
||||
|
||||
getscroll() {
|
||||
unimplementedWarning("getscroll");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumchildren() {
|
||||
unimplementedWarning("getnumchildren");
|
||||
return;
|
||||
}
|
||||
|
||||
enumchildren(n) {
|
||||
unimplementedWarning("enumchildren");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default ComponentBucket;
|
||||
|
|
|
|||
|
|
@ -17,6 +17,16 @@ class Config extends MakiObject {
|
|||
unimplementedWarning("newitem");
|
||||
return new ConfigItem(null, this);
|
||||
}
|
||||
|
||||
getitem(item_name) {
|
||||
unimplementedWarning("getitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getitembyguid(item_guid) {
|
||||
unimplementedWarning("getitembyguid");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Config;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class ConfigAttribute extends MakiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,31 @@ class ConfigAttribute extends MakiObject {
|
|||
getclassname() {
|
||||
return "ConfigAttribute";
|
||||
}
|
||||
|
||||
setdata(value) {
|
||||
unimplementedWarning("setdata");
|
||||
return;
|
||||
}
|
||||
|
||||
getdata() {
|
||||
unimplementedWarning("getdata");
|
||||
return;
|
||||
}
|
||||
|
||||
ondatachanged() {
|
||||
unimplementedWarning("ondatachanged");
|
||||
return;
|
||||
}
|
||||
|
||||
getparentitem() {
|
||||
unimplementedWarning("getparentitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getattributename() {
|
||||
unimplementedWarning("getattributename");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default ConfigAttribute;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class ConfigItem extends MakiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,21 @@ class ConfigItem extends MakiObject {
|
|||
getclassname() {
|
||||
return "ConfigItem";
|
||||
}
|
||||
|
||||
getattribute(attr_name) {
|
||||
unimplementedWarning("getattribute");
|
||||
return;
|
||||
}
|
||||
|
||||
newattribute(attr_name, default_val) {
|
||||
unimplementedWarning("newattribute");
|
||||
return;
|
||||
}
|
||||
|
||||
getguid(attr_name) {
|
||||
unimplementedWarning("getguid");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default ConfigItem;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { findDescendantByTypeAndId } from "../utils";
|
||||
import { findDescendantByTypeAndId, unimplementedWarning } from "../utils";
|
||||
|
||||
class Container extends MakiObject {
|
||||
constructor(node, parent) {
|
||||
|
|
@ -37,6 +37,66 @@ class Container extends MakiObject {
|
|||
getlayout(id) {
|
||||
return findDescendantByTypeAndId(this, "layout", id);
|
||||
}
|
||||
|
||||
onswitchtolayout(newlayout) {
|
||||
unimplementedWarning("onswitchtolayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onbeforeswitchtolayout(oldlayout, newlayout) {
|
||||
unimplementedWarning("onbeforeswitchtolayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onhidelayout(_layout) {
|
||||
unimplementedWarning("onhidelayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onshowlayout(_layout) {
|
||||
unimplementedWarning("onshowlayout");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumlayouts() {
|
||||
unimplementedWarning("getnumlayouts");
|
||||
return;
|
||||
}
|
||||
|
||||
enumlayout(num) {
|
||||
unimplementedWarning("enumlayout");
|
||||
return;
|
||||
}
|
||||
|
||||
switchtolayout(layout_id) {
|
||||
unimplementedWarning("switchtolayout");
|
||||
return;
|
||||
}
|
||||
|
||||
close() {
|
||||
unimplementedWarning("close");
|
||||
return;
|
||||
}
|
||||
|
||||
toggle() {
|
||||
unimplementedWarning("toggle");
|
||||
return;
|
||||
}
|
||||
|
||||
isdynamic() {
|
||||
unimplementedWarning("isdynamic");
|
||||
return;
|
||||
}
|
||||
|
||||
setname(name) {
|
||||
unimplementedWarning("setname");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurlayout() {
|
||||
unimplementedWarning("getcurlayout");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Container;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class DropDownList extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,91 @@ class DropDownList extends GuiObject {
|
|||
getclassname() {
|
||||
return "DropDownList";
|
||||
}
|
||||
|
||||
getitemselected() {
|
||||
unimplementedWarning("getitemselected");
|
||||
return;
|
||||
}
|
||||
|
||||
onselect(id, hover) {
|
||||
unimplementedWarning("onselect");
|
||||
return;
|
||||
}
|
||||
|
||||
setlistheight(h) {
|
||||
unimplementedWarning("setlistheight");
|
||||
return;
|
||||
}
|
||||
|
||||
openlist() {
|
||||
unimplementedWarning("openlist");
|
||||
return;
|
||||
}
|
||||
|
||||
closelist() {
|
||||
unimplementedWarning("closelist");
|
||||
return;
|
||||
}
|
||||
|
||||
setitems(lotsofitems) {
|
||||
unimplementedWarning("setitems");
|
||||
return;
|
||||
}
|
||||
|
||||
additem(_text) {
|
||||
unimplementedWarning("additem");
|
||||
return;
|
||||
}
|
||||
|
||||
delitem(id) {
|
||||
unimplementedWarning("delitem");
|
||||
return;
|
||||
}
|
||||
|
||||
finditem(_text) {
|
||||
unimplementedWarning("finditem");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumitems() {
|
||||
unimplementedWarning("getnumitems");
|
||||
return;
|
||||
}
|
||||
|
||||
selectitem(id, hover) {
|
||||
unimplementedWarning("selectitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemtext(id) {
|
||||
unimplementedWarning("getitemtext");
|
||||
return;
|
||||
}
|
||||
|
||||
getselected() {
|
||||
unimplementedWarning("getselected");
|
||||
return;
|
||||
}
|
||||
|
||||
getselectedtext() {
|
||||
unimplementedWarning("getselectedtext");
|
||||
return;
|
||||
}
|
||||
|
||||
getcustomtext() {
|
||||
unimplementedWarning("getcustomtext");
|
||||
return;
|
||||
}
|
||||
|
||||
deleteallitems() {
|
||||
unimplementedWarning("deleteallitems");
|
||||
return;
|
||||
}
|
||||
|
||||
setnoitemtext(txt) {
|
||||
unimplementedWarning("setnoitemtext");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default DropDownList;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class Edit extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,66 @@ class Edit extends GuiObject {
|
|||
getclassname() {
|
||||
return "Edit";
|
||||
}
|
||||
|
||||
onenter() {
|
||||
unimplementedWarning("onenter");
|
||||
return;
|
||||
}
|
||||
|
||||
onabort() {
|
||||
unimplementedWarning("onabort");
|
||||
return;
|
||||
}
|
||||
|
||||
onidleeditupdate() {
|
||||
unimplementedWarning("onidleeditupdate");
|
||||
return;
|
||||
}
|
||||
|
||||
oneditupdate() {
|
||||
unimplementedWarning("oneditupdate");
|
||||
return;
|
||||
}
|
||||
|
||||
settext(txt) {
|
||||
unimplementedWarning("settext");
|
||||
return;
|
||||
}
|
||||
|
||||
setautoenter(onoff) {
|
||||
unimplementedWarning("setautoenter");
|
||||
return;
|
||||
}
|
||||
|
||||
getautoenter() {
|
||||
unimplementedWarning("getautoenter");
|
||||
return;
|
||||
}
|
||||
|
||||
gettext() {
|
||||
unimplementedWarning("gettext");
|
||||
return;
|
||||
}
|
||||
|
||||
selectall() {
|
||||
unimplementedWarning("selectall");
|
||||
return;
|
||||
}
|
||||
|
||||
enter() {
|
||||
unimplementedWarning("enter");
|
||||
return;
|
||||
}
|
||||
|
||||
setidleenabled(onoff) {
|
||||
unimplementedWarning("setidleenabled");
|
||||
return;
|
||||
}
|
||||
|
||||
getidleenabled() {
|
||||
unimplementedWarning("getidleenabled");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Edit;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class Group extends GuiObject {
|
||||
/**
|
||||
|
|
@ -15,6 +16,36 @@ class Group extends GuiObject {
|
|||
// Not sure this is correct, but it is my understanding this is just an alias
|
||||
return this.findobject(id);
|
||||
}
|
||||
|
||||
getnumobjects() {
|
||||
unimplementedWarning("getnumobjects");
|
||||
return;
|
||||
}
|
||||
|
||||
enumobject(num) {
|
||||
unimplementedWarning("enumobject");
|
||||
return;
|
||||
}
|
||||
|
||||
oncreateobject(newobj) {
|
||||
unimplementedWarning("oncreateobject");
|
||||
return;
|
||||
}
|
||||
|
||||
getmouseposx() {
|
||||
unimplementedWarning("getmouseposx");
|
||||
return;
|
||||
}
|
||||
|
||||
getmouseposy() {
|
||||
unimplementedWarning("getmouseposy");
|
||||
return;
|
||||
}
|
||||
|
||||
islayout() {
|
||||
unimplementedWarning("islayout");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Group;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class GroupList extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,31 @@ class GroupList extends GuiObject {
|
|||
getclassname() {
|
||||
return "GroupList";
|
||||
}
|
||||
|
||||
instantiate(group_id, num_groups) {
|
||||
unimplementedWarning("instantiate");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumitems() {
|
||||
unimplementedWarning("getnumitems");
|
||||
return;
|
||||
}
|
||||
|
||||
enumitem(num) {
|
||||
unimplementedWarning("enumitem");
|
||||
return;
|
||||
}
|
||||
|
||||
removeall() {
|
||||
unimplementedWarning("removeall");
|
||||
return;
|
||||
}
|
||||
|
||||
scrolltopercent(percent) {
|
||||
unimplementedWarning("scrolltopercent");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default GroupList;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class GuiList extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,406 @@ class GuiList extends GuiObject {
|
|||
getclassname() {
|
||||
return "GuiList";
|
||||
}
|
||||
|
||||
getnumitems() {
|
||||
unimplementedWarning("getnumitems");
|
||||
return;
|
||||
}
|
||||
|
||||
getwantautodeselect() {
|
||||
unimplementedWarning("getwantautodeselect");
|
||||
return;
|
||||
}
|
||||
|
||||
setwantautodeselect(want) {
|
||||
unimplementedWarning("setwantautodeselect");
|
||||
return;
|
||||
}
|
||||
|
||||
onsetvisible(show) {
|
||||
unimplementedWarning("onsetvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
setautosort(dosort) {
|
||||
unimplementedWarning("setautosort");
|
||||
return;
|
||||
}
|
||||
|
||||
next() {
|
||||
unimplementedWarning("next");
|
||||
return;
|
||||
}
|
||||
|
||||
selectcurrent() {
|
||||
unimplementedWarning("selectcurrent");
|
||||
return;
|
||||
}
|
||||
|
||||
selectfirstentry() {
|
||||
unimplementedWarning("selectfirstentry");
|
||||
return;
|
||||
}
|
||||
|
||||
previous() {
|
||||
unimplementedWarning("previous");
|
||||
return;
|
||||
}
|
||||
|
||||
pagedown() {
|
||||
unimplementedWarning("pagedown");
|
||||
return;
|
||||
}
|
||||
|
||||
pageup() {
|
||||
unimplementedWarning("pageup");
|
||||
return;
|
||||
}
|
||||
|
||||
home() {
|
||||
unimplementedWarning("home");
|
||||
return;
|
||||
}
|
||||
|
||||
end() {
|
||||
unimplementedWarning("end");
|
||||
return;
|
||||
}
|
||||
|
||||
reset() {
|
||||
unimplementedWarning("reset");
|
||||
return;
|
||||
}
|
||||
|
||||
addcolumn(name, width, numeric) {
|
||||
unimplementedWarning("addcolumn");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumcolumns() {
|
||||
unimplementedWarning("getnumcolumns");
|
||||
return;
|
||||
}
|
||||
|
||||
getcolumnwidth(column) {
|
||||
unimplementedWarning("getcolumnwidth");
|
||||
return;
|
||||
}
|
||||
|
||||
setcolumnwidth(column, newwidth) {
|
||||
unimplementedWarning("setcolumnwidth");
|
||||
return;
|
||||
}
|
||||
|
||||
getcolumnlabel(column) {
|
||||
unimplementedWarning("getcolumnlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
setcolumnlabel(column, newlabel) {
|
||||
unimplementedWarning("setcolumnlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
getcolumnnumeric(column) {
|
||||
unimplementedWarning("getcolumnnumeric");
|
||||
return;
|
||||
}
|
||||
|
||||
setcolumndynamic(column, isdynamic) {
|
||||
unimplementedWarning("setcolumndynamic");
|
||||
return;
|
||||
}
|
||||
|
||||
iscolumndynamic(column) {
|
||||
unimplementedWarning("iscolumndynamic");
|
||||
return;
|
||||
}
|
||||
|
||||
setminimumsize(size) {
|
||||
unimplementedWarning("setminimumsize");
|
||||
return;
|
||||
}
|
||||
|
||||
additem(label) {
|
||||
unimplementedWarning("additem");
|
||||
return;
|
||||
}
|
||||
|
||||
insertitem(pos, label) {
|
||||
unimplementedWarning("insertitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getlastaddeditempos() {
|
||||
unimplementedWarning("getlastaddeditempos");
|
||||
return;
|
||||
}
|
||||
|
||||
setsubitem(pos, subpos, txt) {
|
||||
unimplementedWarning("setsubitem");
|
||||
return;
|
||||
}
|
||||
|
||||
deleteallitems() {
|
||||
unimplementedWarning("deleteallitems");
|
||||
return;
|
||||
}
|
||||
|
||||
deletebypos(pos) {
|
||||
unimplementedWarning("deletebypos");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemlabel(pos, subpos) {
|
||||
unimplementedWarning("getitemlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
setitemlabel(pos, _text) {
|
||||
unimplementedWarning("setitemlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemselected(pos) {
|
||||
unimplementedWarning("getitemselected");
|
||||
return;
|
||||
}
|
||||
|
||||
isitemfocused(pos) {
|
||||
unimplementedWarning("isitemfocused");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemfocused() {
|
||||
unimplementedWarning("getitemfocused");
|
||||
return;
|
||||
}
|
||||
|
||||
setitemfocused(pos) {
|
||||
unimplementedWarning("setitemfocused");
|
||||
return;
|
||||
}
|
||||
|
||||
ensureitemvisible(pos) {
|
||||
unimplementedWarning("ensureitemvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
invalidatecolumns() {
|
||||
unimplementedWarning("invalidatecolumns");
|
||||
return;
|
||||
}
|
||||
|
||||
scrollabsolute(x) {
|
||||
unimplementedWarning("scrollabsolute");
|
||||
return;
|
||||
}
|
||||
|
||||
scrollrelative(x) {
|
||||
unimplementedWarning("scrollrelative");
|
||||
return;
|
||||
}
|
||||
|
||||
scrollleft(lines) {
|
||||
unimplementedWarning("scrollleft");
|
||||
return;
|
||||
}
|
||||
|
||||
scrollright(lines) {
|
||||
unimplementedWarning("scrollright");
|
||||
return;
|
||||
}
|
||||
|
||||
scrollup(lines) {
|
||||
unimplementedWarning("scrollup");
|
||||
return;
|
||||
}
|
||||
|
||||
scrolldown(lines) {
|
||||
unimplementedWarning("scrolldown");
|
||||
return;
|
||||
}
|
||||
|
||||
getsubitemtext(pos, subpos) {
|
||||
unimplementedWarning("getsubitemtext");
|
||||
return;
|
||||
}
|
||||
|
||||
getfirstitemselected() {
|
||||
unimplementedWarning("getfirstitemselected");
|
||||
return;
|
||||
}
|
||||
|
||||
getnextitemselected(lastpos) {
|
||||
unimplementedWarning("getnextitemselected");
|
||||
return;
|
||||
}
|
||||
|
||||
selectall() {
|
||||
unimplementedWarning("selectall");
|
||||
return;
|
||||
}
|
||||
|
||||
deselectall() {
|
||||
unimplementedWarning("deselectall");
|
||||
return;
|
||||
}
|
||||
|
||||
invertselection() {
|
||||
unimplementedWarning("invertselection");
|
||||
return;
|
||||
}
|
||||
|
||||
invalidateitem(pos) {
|
||||
unimplementedWarning("invalidateitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getfirstitemvisible() {
|
||||
unimplementedWarning("getfirstitemvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
getlastitemvisible() {
|
||||
unimplementedWarning("getlastitemvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
setfontsize(size) {
|
||||
unimplementedWarning("setfontsize");
|
||||
return;
|
||||
}
|
||||
|
||||
getfontsize() {
|
||||
unimplementedWarning("getfontsize");
|
||||
return;
|
||||
}
|
||||
|
||||
jumptonext(c) {
|
||||
unimplementedWarning("jumptonext");
|
||||
return;
|
||||
}
|
||||
|
||||
scrolltoitem(pos) {
|
||||
unimplementedWarning("scrolltoitem");
|
||||
return;
|
||||
}
|
||||
|
||||
resort() {
|
||||
unimplementedWarning("resort");
|
||||
return;
|
||||
}
|
||||
|
||||
getsortdirection() {
|
||||
unimplementedWarning("getsortdirection");
|
||||
return;
|
||||
}
|
||||
|
||||
getsortcolumn() {
|
||||
unimplementedWarning("getsortcolumn");
|
||||
return;
|
||||
}
|
||||
|
||||
setsortcolumn(col) {
|
||||
unimplementedWarning("setsortcolumn");
|
||||
return;
|
||||
}
|
||||
|
||||
setsortdirection(dir) {
|
||||
unimplementedWarning("setsortdirection");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemcount() {
|
||||
unimplementedWarning("getitemcount");
|
||||
return;
|
||||
}
|
||||
|
||||
setselectionstart(pos) {
|
||||
unimplementedWarning("setselectionstart");
|
||||
return;
|
||||
}
|
||||
|
||||
setselectionend(pos) {
|
||||
unimplementedWarning("setselectionend");
|
||||
return;
|
||||
}
|
||||
|
||||
setselected(pos, selected) {
|
||||
unimplementedWarning("setselected");
|
||||
return;
|
||||
}
|
||||
|
||||
toggleselection(pos, setfocus) {
|
||||
unimplementedWarning("toggleselection");
|
||||
return;
|
||||
}
|
||||
|
||||
getheaderheight() {
|
||||
unimplementedWarning("getheaderheight");
|
||||
return;
|
||||
}
|
||||
|
||||
getpreventmultipleselection() {
|
||||
unimplementedWarning("getpreventmultipleselection");
|
||||
return;
|
||||
}
|
||||
|
||||
setpreventmultipleselection(val) {
|
||||
unimplementedWarning("setpreventmultipleselection");
|
||||
return;
|
||||
}
|
||||
|
||||
moveitem(from, to) {
|
||||
unimplementedWarning("moveitem");
|
||||
return;
|
||||
}
|
||||
|
||||
onselectall() {
|
||||
unimplementedWarning("onselectall");
|
||||
return;
|
||||
}
|
||||
|
||||
ondelete() {
|
||||
unimplementedWarning("ondelete");
|
||||
return;
|
||||
}
|
||||
|
||||
ondoubleclick(itemnum) {
|
||||
unimplementedWarning("ondoubleclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onleftclick(itemnum) {
|
||||
unimplementedWarning("onleftclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onsecondleftclick(itemnum) {
|
||||
unimplementedWarning("onsecondleftclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightclick(itemnum) {
|
||||
unimplementedWarning("onrightclick");
|
||||
return;
|
||||
}
|
||||
|
||||
oncolumndblclick(col, x, y) {
|
||||
unimplementedWarning("oncolumndblclick");
|
||||
return;
|
||||
}
|
||||
|
||||
oncolumnlabelclick(col, x, y) {
|
||||
unimplementedWarning("oncolumnlabelclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onitemselection(itemnum, selected) {
|
||||
unimplementedWarning("onitemselection");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default GuiList;
|
||||
|
|
|
|||
|
|
@ -105,6 +105,348 @@ class GuiObject extends MakiObject {
|
|||
setalpha(alpha) {
|
||||
unimplementedWarning("setAlpha");
|
||||
}
|
||||
|
||||
isvisible() {
|
||||
unimplementedWarning("isvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
onsetvisible(onoff) {
|
||||
unimplementedWarning("onsetvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
getalpha() {
|
||||
unimplementedWarning("getalpha");
|
||||
return;
|
||||
}
|
||||
|
||||
onleftbuttonup(x, y) {
|
||||
unimplementedWarning("onleftbuttonup");
|
||||
return;
|
||||
}
|
||||
|
||||
onleftbuttondown(x, y) {
|
||||
unimplementedWarning("onleftbuttondown");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightbuttonup(x, y) {
|
||||
unimplementedWarning("onrightbuttonup");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightbuttondown(x, y) {
|
||||
unimplementedWarning("onrightbuttondown");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightbuttondblclk(x, y) {
|
||||
unimplementedWarning("onrightbuttondblclk");
|
||||
return;
|
||||
}
|
||||
|
||||
onleftbuttondblclk(x, y) {
|
||||
unimplementedWarning("onleftbuttondblclk");
|
||||
return;
|
||||
}
|
||||
|
||||
onmousemove(x, y) {
|
||||
unimplementedWarning("onmousemove");
|
||||
return;
|
||||
}
|
||||
|
||||
onenterarea() {
|
||||
unimplementedWarning("onenterarea");
|
||||
return;
|
||||
}
|
||||
|
||||
onleavearea() {
|
||||
unimplementedWarning("onleavearea");
|
||||
return;
|
||||
}
|
||||
|
||||
setenabled(onoff) {
|
||||
unimplementedWarning("setenabled");
|
||||
return;
|
||||
}
|
||||
|
||||
getenabled() {
|
||||
unimplementedWarning("getenabled");
|
||||
return;
|
||||
}
|
||||
|
||||
onenable(onoff) {
|
||||
unimplementedWarning("onenable");
|
||||
return;
|
||||
}
|
||||
|
||||
onresize(x, y, w, h) {
|
||||
unimplementedWarning("onresize");
|
||||
return;
|
||||
}
|
||||
|
||||
ismouseover(x, y) {
|
||||
unimplementedWarning("ismouseover");
|
||||
return;
|
||||
}
|
||||
|
||||
settargetx(x) {
|
||||
unimplementedWarning("settargetx");
|
||||
return;
|
||||
}
|
||||
|
||||
settargety(y) {
|
||||
unimplementedWarning("settargety");
|
||||
return;
|
||||
}
|
||||
|
||||
settargetw(w) {
|
||||
unimplementedWarning("settargetw");
|
||||
return;
|
||||
}
|
||||
|
||||
settargeth(r) {
|
||||
unimplementedWarning("settargeth");
|
||||
return;
|
||||
}
|
||||
|
||||
settargeta(alpha) {
|
||||
unimplementedWarning("settargeta");
|
||||
return;
|
||||
}
|
||||
|
||||
settargetspeed(insecond) {
|
||||
unimplementedWarning("settargetspeed");
|
||||
return;
|
||||
}
|
||||
|
||||
gototarget() {
|
||||
unimplementedWarning("gototarget");
|
||||
return;
|
||||
}
|
||||
|
||||
ontargetreached() {
|
||||
unimplementedWarning("ontargetreached");
|
||||
return;
|
||||
}
|
||||
|
||||
canceltarget() {
|
||||
unimplementedWarning("canceltarget");
|
||||
return;
|
||||
}
|
||||
|
||||
reversetarget(reverse) {
|
||||
unimplementedWarning("reversetarget");
|
||||
return;
|
||||
}
|
||||
|
||||
onstartup() {
|
||||
unimplementedWarning("onstartup");
|
||||
return;
|
||||
}
|
||||
|
||||
isgoingtotarget() {
|
||||
unimplementedWarning("isgoingtotarget");
|
||||
return;
|
||||
}
|
||||
|
||||
bringtofront() {
|
||||
unimplementedWarning("bringtofront");
|
||||
return;
|
||||
}
|
||||
|
||||
bringtoback() {
|
||||
unimplementedWarning("bringtoback");
|
||||
return;
|
||||
}
|
||||
|
||||
bringabove(guiobj) {
|
||||
unimplementedWarning("bringabove");
|
||||
return;
|
||||
}
|
||||
|
||||
bringbelow(guiobj) {
|
||||
unimplementedWarning("bringbelow");
|
||||
return;
|
||||
}
|
||||
|
||||
getguix() {
|
||||
unimplementedWarning("getguix");
|
||||
return;
|
||||
}
|
||||
|
||||
getguiy() {
|
||||
unimplementedWarning("getguiy");
|
||||
return;
|
||||
}
|
||||
|
||||
getguiw() {
|
||||
unimplementedWarning("getguiw");
|
||||
return;
|
||||
}
|
||||
|
||||
getguih() {
|
||||
unimplementedWarning("getguih");
|
||||
return;
|
||||
}
|
||||
|
||||
getguirelatx() {
|
||||
unimplementedWarning("getguirelatx");
|
||||
return;
|
||||
}
|
||||
|
||||
getguirelaty() {
|
||||
unimplementedWarning("getguirelaty");
|
||||
return;
|
||||
}
|
||||
|
||||
getguirelatw() {
|
||||
unimplementedWarning("getguirelatw");
|
||||
return;
|
||||
}
|
||||
|
||||
getguirelath() {
|
||||
unimplementedWarning("getguirelath");
|
||||
return;
|
||||
}
|
||||
|
||||
isactive() {
|
||||
unimplementedWarning("isactive");
|
||||
return;
|
||||
}
|
||||
|
||||
gettopparent() {
|
||||
unimplementedWarning("gettopparent");
|
||||
return;
|
||||
}
|
||||
|
||||
runmodal() {
|
||||
unimplementedWarning("runmodal");
|
||||
return;
|
||||
}
|
||||
|
||||
endmodal(retcode) {
|
||||
unimplementedWarning("endmodal");
|
||||
return;
|
||||
}
|
||||
|
||||
findobjectxy(x, y) {
|
||||
unimplementedWarning("findobjectxy");
|
||||
return;
|
||||
}
|
||||
|
||||
getname() {
|
||||
unimplementedWarning("getname");
|
||||
return;
|
||||
}
|
||||
|
||||
clienttoscreenx(x) {
|
||||
unimplementedWarning("clienttoscreenx");
|
||||
return;
|
||||
}
|
||||
|
||||
clienttoscreeny(y) {
|
||||
unimplementedWarning("clienttoscreeny");
|
||||
return;
|
||||
}
|
||||
|
||||
clienttoscreenw(w) {
|
||||
unimplementedWarning("clienttoscreenw");
|
||||
return;
|
||||
}
|
||||
|
||||
clienttoscreenh(h) {
|
||||
unimplementedWarning("clienttoscreenh");
|
||||
return;
|
||||
}
|
||||
|
||||
screentoclientx(x) {
|
||||
unimplementedWarning("screentoclientx");
|
||||
return;
|
||||
}
|
||||
|
||||
screentoclienty(y) {
|
||||
unimplementedWarning("screentoclienty");
|
||||
return;
|
||||
}
|
||||
|
||||
screentoclientw(w) {
|
||||
unimplementedWarning("screentoclientw");
|
||||
return;
|
||||
}
|
||||
|
||||
screentoclienth(h) {
|
||||
unimplementedWarning("screentoclienth");
|
||||
return;
|
||||
}
|
||||
|
||||
getautowidth() {
|
||||
unimplementedWarning("getautowidth");
|
||||
return;
|
||||
}
|
||||
|
||||
getautoheight() {
|
||||
unimplementedWarning("getautoheight");
|
||||
return;
|
||||
}
|
||||
|
||||
setfocus() {
|
||||
unimplementedWarning("setfocus");
|
||||
return;
|
||||
}
|
||||
|
||||
onchar(c) {
|
||||
unimplementedWarning("onchar");
|
||||
return;
|
||||
}
|
||||
|
||||
onaccelerator(accel) {
|
||||
unimplementedWarning("onaccelerator");
|
||||
return;
|
||||
}
|
||||
|
||||
ismouseoverrect() {
|
||||
unimplementedWarning("ismouseoverrect");
|
||||
return;
|
||||
}
|
||||
|
||||
getinterface(interface_guid) {
|
||||
unimplementedWarning("getinterface");
|
||||
return;
|
||||
}
|
||||
|
||||
onkeydown(vk_code) {
|
||||
unimplementedWarning("onkeydown");
|
||||
return;
|
||||
}
|
||||
|
||||
onkeyup(vk_code) {
|
||||
unimplementedWarning("onkeyup");
|
||||
return;
|
||||
}
|
||||
|
||||
ongetfocus() {
|
||||
unimplementedWarning("ongetfocus");
|
||||
return;
|
||||
}
|
||||
|
||||
onkillfocus() {
|
||||
unimplementedWarning("onkillfocus");
|
||||
return;
|
||||
}
|
||||
|
||||
/* eslint-disable-next-line max-params */
|
||||
sendaction(action, param, x, y, p1, p2) {
|
||||
unimplementedWarning("sendaction");
|
||||
return;
|
||||
}
|
||||
|
||||
/* eslint-disable-next-line max-params */
|
||||
onaction(action, param, x, y, p1, p2, source) {
|
||||
unimplementedWarning("onaction");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default GuiObject;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class GuiTree extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,266 @@ class GuiTree extends GuiObject {
|
|||
getclassname() {
|
||||
return "GuiTree";
|
||||
}
|
||||
|
||||
onwantautocontextmenu() {
|
||||
unimplementedWarning("onwantautocontextmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
onmousewheelup(clicked, lines) {
|
||||
unimplementedWarning("onmousewheelup");
|
||||
return;
|
||||
}
|
||||
|
||||
onmousewheeldown(clicked, lines) {
|
||||
unimplementedWarning("onmousewheeldown");
|
||||
return;
|
||||
}
|
||||
|
||||
oncontextmenu(x, y) {
|
||||
unimplementedWarning("oncontextmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
onchar(c) {
|
||||
unimplementedWarning("onchar");
|
||||
return;
|
||||
}
|
||||
|
||||
onitemrecvdrop(item) {
|
||||
unimplementedWarning("onitemrecvdrop");
|
||||
return;
|
||||
}
|
||||
|
||||
onlabelchange(item) {
|
||||
unimplementedWarning("onlabelchange");
|
||||
return;
|
||||
}
|
||||
|
||||
onitemselected(item) {
|
||||
unimplementedWarning("onitemselected");
|
||||
return;
|
||||
}
|
||||
|
||||
onitemdeselected(item) {
|
||||
unimplementedWarning("onitemdeselected");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumrootitems() {
|
||||
unimplementedWarning("getnumrootitems");
|
||||
return;
|
||||
}
|
||||
|
||||
enumrootitem(which) {
|
||||
unimplementedWarning("enumrootitem");
|
||||
return;
|
||||
}
|
||||
|
||||
jumptonext(c) {
|
||||
unimplementedWarning("jumptonext");
|
||||
return;
|
||||
}
|
||||
|
||||
ensureitemvisible(item) {
|
||||
unimplementedWarning("ensureitemvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
getcontentswidth() {
|
||||
unimplementedWarning("getcontentswidth");
|
||||
return;
|
||||
}
|
||||
|
||||
getcontentsheight() {
|
||||
unimplementedWarning("getcontentsheight");
|
||||
return;
|
||||
}
|
||||
|
||||
addtreeitem(item, par, sorted, haschildtab) {
|
||||
unimplementedWarning("addtreeitem");
|
||||
return;
|
||||
}
|
||||
|
||||
removetreeitem(item) {
|
||||
unimplementedWarning("removetreeitem");
|
||||
return;
|
||||
}
|
||||
|
||||
movetreeitem(item, newparent) {
|
||||
unimplementedWarning("movetreeitem");
|
||||
return;
|
||||
}
|
||||
|
||||
deleteallitems() {
|
||||
unimplementedWarning("deleteallitems");
|
||||
return;
|
||||
}
|
||||
|
||||
expanditem(item) {
|
||||
unimplementedWarning("expanditem");
|
||||
return;
|
||||
}
|
||||
|
||||
expanditemdeferred(item) {
|
||||
unimplementedWarning("expanditemdeferred");
|
||||
return;
|
||||
}
|
||||
|
||||
collapseitem(item) {
|
||||
unimplementedWarning("collapseitem");
|
||||
return;
|
||||
}
|
||||
|
||||
collapseitemdeferred(item) {
|
||||
unimplementedWarning("collapseitemdeferred");
|
||||
return;
|
||||
}
|
||||
|
||||
selectitem(item) {
|
||||
unimplementedWarning("selectitem");
|
||||
return;
|
||||
}
|
||||
|
||||
selectitemdeferred(item) {
|
||||
unimplementedWarning("selectitemdeferred");
|
||||
return;
|
||||
}
|
||||
|
||||
delitemdeferred(item) {
|
||||
unimplementedWarning("delitemdeferred");
|
||||
return;
|
||||
}
|
||||
|
||||
hiliteitem(item) {
|
||||
unimplementedWarning("hiliteitem");
|
||||
return;
|
||||
}
|
||||
|
||||
unhiliteitem(item) {
|
||||
unimplementedWarning("unhiliteitem");
|
||||
return;
|
||||
}
|
||||
|
||||
getcuritem() {
|
||||
unimplementedWarning("getcuritem");
|
||||
return;
|
||||
}
|
||||
|
||||
hittest(x, y) {
|
||||
unimplementedWarning("hittest");
|
||||
return;
|
||||
}
|
||||
|
||||
edititemlabel(item) {
|
||||
unimplementedWarning("edititemlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
canceleditlabel(destroyit) {
|
||||
unimplementedWarning("canceleditlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
setautoedit(ae) {
|
||||
unimplementedWarning("setautoedit");
|
||||
return;
|
||||
}
|
||||
|
||||
getautoedit() {
|
||||
unimplementedWarning("getautoedit");
|
||||
return;
|
||||
}
|
||||
|
||||
getbylabel(item, name) {
|
||||
unimplementedWarning("getbylabel");
|
||||
return;
|
||||
}
|
||||
|
||||
setsorted(dosort) {
|
||||
unimplementedWarning("setsorted");
|
||||
return;
|
||||
}
|
||||
|
||||
getsorted() {
|
||||
unimplementedWarning("getsorted");
|
||||
return;
|
||||
}
|
||||
|
||||
sorttreeitems() {
|
||||
unimplementedWarning("sorttreeitems");
|
||||
return;
|
||||
}
|
||||
|
||||
getsibling(item) {
|
||||
unimplementedWarning("getsibling");
|
||||
return;
|
||||
}
|
||||
|
||||
setautocollapse(doautocollapse) {
|
||||
unimplementedWarning("setautocollapse");
|
||||
return;
|
||||
}
|
||||
|
||||
setfontsize(newsize) {
|
||||
unimplementedWarning("setfontsize");
|
||||
return;
|
||||
}
|
||||
|
||||
getfontsize() {
|
||||
unimplementedWarning("getfontsize");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumvisiblechilditems(c) {
|
||||
unimplementedWarning("getnumvisiblechilditems");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumvisibleitems() {
|
||||
unimplementedWarning("getnumvisibleitems");
|
||||
return;
|
||||
}
|
||||
|
||||
enumvisibleitems(n) {
|
||||
unimplementedWarning("enumvisibleitems");
|
||||
return;
|
||||
}
|
||||
|
||||
enumvisiblechilditems(c, n) {
|
||||
unimplementedWarning("enumvisiblechilditems");
|
||||
return;
|
||||
}
|
||||
|
||||
enumallitems(n) {
|
||||
unimplementedWarning("enumallitems");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemrectx(item) {
|
||||
unimplementedWarning("getitemrectx");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemrecty(item) {
|
||||
unimplementedWarning("getitemrecty");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemrectw(item) {
|
||||
unimplementedWarning("getitemrectw");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemrecth(item) {
|
||||
unimplementedWarning("getitemrecth");
|
||||
return;
|
||||
}
|
||||
|
||||
getitemfrompoint(x, y) {
|
||||
unimplementedWarning("getitemfrompoint");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default GuiTree;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,166 @@ class Layer extends GuiObject {
|
|||
setregionfrommap(regionmap, threshold, reverse) {
|
||||
unimplementedWarning("setregion");
|
||||
}
|
||||
|
||||
onbeginresize(x, y, w, h) {
|
||||
unimplementedWarning("onbeginresize");
|
||||
return;
|
||||
}
|
||||
|
||||
onendresize(x, y, w, h) {
|
||||
unimplementedWarning("onendresize");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_oninit() {
|
||||
unimplementedWarning("fx_oninit");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_onframe() {
|
||||
unimplementedWarning("fx_onframe");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_ongetpixelr(r, d, x, y) {
|
||||
unimplementedWarning("fx_ongetpixelr");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_ongetpixeld(r, d, x, y) {
|
||||
unimplementedWarning("fx_ongetpixeld");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_ongetpixelx(r, d, x, y) {
|
||||
unimplementedWarning("fx_ongetpixelx");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_ongetpixely(r, d, x, y) {
|
||||
unimplementedWarning("fx_ongetpixely");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_ongetpixela(r, d, x, y) {
|
||||
unimplementedWarning("fx_ongetpixela");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setenabled(onoff) {
|
||||
unimplementedWarning("fx_setenabled");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getenabled() {
|
||||
unimplementedWarning("fx_getenabled");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setwrap(onoff) {
|
||||
unimplementedWarning("fx_setwrap");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getwrap() {
|
||||
unimplementedWarning("fx_getwrap");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setrect(onoff) {
|
||||
unimplementedWarning("fx_setrect");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getrect() {
|
||||
unimplementedWarning("fx_getrect");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setbgfx(onoff) {
|
||||
unimplementedWarning("fx_setbgfx");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getbgfx() {
|
||||
unimplementedWarning("fx_getbgfx");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setclear(onoff) {
|
||||
unimplementedWarning("fx_setclear");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getclear() {
|
||||
unimplementedWarning("fx_getclear");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setspeed(msperframe) {
|
||||
unimplementedWarning("fx_setspeed");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getspeed() {
|
||||
unimplementedWarning("fx_getspeed");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setrealtime(onoff) {
|
||||
unimplementedWarning("fx_setrealtime");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getrealtime() {
|
||||
unimplementedWarning("fx_getrealtime");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setlocalized(onoff) {
|
||||
unimplementedWarning("fx_setlocalized");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getlocalized() {
|
||||
unimplementedWarning("fx_getlocalized");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setbilinear(onoff) {
|
||||
unimplementedWarning("fx_setbilinear");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getbilinear() {
|
||||
unimplementedWarning("fx_getbilinear");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setalphamode(onoff) {
|
||||
unimplementedWarning("fx_setalphamode");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_getalphamode() {
|
||||
unimplementedWarning("fx_getalphamode");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_setgridsize(x, y) {
|
||||
unimplementedWarning("fx_setgridsize");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_update() {
|
||||
unimplementedWarning("fx_update");
|
||||
return;
|
||||
}
|
||||
|
||||
fx_restart() {
|
||||
unimplementedWarning("fx_restart");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Layer;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import Group from "./Group";
|
||||
import { findParentNodeOfType } from "../utils";
|
||||
import { findParentNodeOfType, unimplementedWarning } from "../utils";
|
||||
|
||||
class Layout extends Group {
|
||||
/**
|
||||
|
|
@ -15,6 +15,126 @@ class Layout extends Group {
|
|||
getcontainer() {
|
||||
return findParentNodeOfType(this, new Set(["container"]));
|
||||
}
|
||||
|
||||
ondock() {
|
||||
unimplementedWarning("ondock");
|
||||
return;
|
||||
}
|
||||
|
||||
onundock() {
|
||||
unimplementedWarning("onundock");
|
||||
return;
|
||||
}
|
||||
|
||||
onscale(newscalevalue) {
|
||||
unimplementedWarning("onscale");
|
||||
return;
|
||||
}
|
||||
|
||||
getscale() {
|
||||
unimplementedWarning("getscale");
|
||||
return;
|
||||
}
|
||||
|
||||
setscale(scalevalue) {
|
||||
unimplementedWarning("setscale");
|
||||
return;
|
||||
}
|
||||
|
||||
setdesktopalpha(onoff) {
|
||||
unimplementedWarning("setdesktopalpha");
|
||||
return;
|
||||
}
|
||||
|
||||
getdesktopalpha() {
|
||||
unimplementedWarning("getdesktopalpha");
|
||||
return;
|
||||
}
|
||||
|
||||
center() {
|
||||
unimplementedWarning("center");
|
||||
return;
|
||||
}
|
||||
|
||||
onmove() {
|
||||
unimplementedWarning("onmove");
|
||||
return;
|
||||
}
|
||||
|
||||
onendmove() {
|
||||
unimplementedWarning("onendmove");
|
||||
return;
|
||||
}
|
||||
|
||||
onuserresize(x, y, w, h) {
|
||||
unimplementedWarning("onuserresize");
|
||||
return;
|
||||
}
|
||||
|
||||
snapadjust(left, top, right, bottom) {
|
||||
unimplementedWarning("snapadjust");
|
||||
return;
|
||||
}
|
||||
|
||||
getsnapadjusttop() {
|
||||
unimplementedWarning("getsnapadjusttop");
|
||||
return;
|
||||
}
|
||||
|
||||
getsnapadjustright() {
|
||||
unimplementedWarning("getsnapadjustright");
|
||||
return;
|
||||
}
|
||||
|
||||
getsnapadjustleft() {
|
||||
unimplementedWarning("getsnapadjustleft");
|
||||
return;
|
||||
}
|
||||
|
||||
getsnapadjustbottom() {
|
||||
unimplementedWarning("getsnapadjustbottom");
|
||||
return;
|
||||
}
|
||||
|
||||
setredrawonresize(wantredrawonresize) {
|
||||
unimplementedWarning("setredrawonresize");
|
||||
return;
|
||||
}
|
||||
|
||||
beforeredock() {
|
||||
unimplementedWarning("beforeredock");
|
||||
return;
|
||||
}
|
||||
|
||||
redock() {
|
||||
unimplementedWarning("redock");
|
||||
return;
|
||||
}
|
||||
|
||||
istransparencysafe() {
|
||||
unimplementedWarning("istransparencysafe");
|
||||
return;
|
||||
}
|
||||
|
||||
islayoutanimationsafe() {
|
||||
unimplementedWarning("islayoutanimationsafe");
|
||||
return;
|
||||
}
|
||||
|
||||
onmouseenterlayout() {
|
||||
unimplementedWarning("onmouseenterlayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onmouseleavelayout() {
|
||||
unimplementedWarning("onmouseleavelayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onsnapadjustchanged() {
|
||||
unimplementedWarning("onsnapadjustchanged");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Layout;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class LayoutStatus extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,11 @@ class LayoutStatus extends GuiObject {
|
|||
getclassname() {
|
||||
return "LayoutStatus";
|
||||
}
|
||||
|
||||
callme(str) {
|
||||
unimplementedWarning("callme");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default LayoutStatus;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class List extends MakiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,36 @@ class List extends MakiObject {
|
|||
getclassname() {
|
||||
return "List";
|
||||
}
|
||||
|
||||
additem(_object) {
|
||||
unimplementedWarning("additem");
|
||||
return;
|
||||
}
|
||||
|
||||
removeitem(pos) {
|
||||
unimplementedWarning("removeitem");
|
||||
return;
|
||||
}
|
||||
|
||||
enumitem(pos) {
|
||||
unimplementedWarning("enumitem");
|
||||
return;
|
||||
}
|
||||
|
||||
finditem(_object) {
|
||||
unimplementedWarning("finditem");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumitems() {
|
||||
unimplementedWarning("getnumitems");
|
||||
return;
|
||||
}
|
||||
|
||||
removeall() {
|
||||
unimplementedWarning("removeall");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default List;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,21 @@ class Map extends MakiObject {
|
|||
unimplementedWarning("getheight");
|
||||
return 10;
|
||||
}
|
||||
|
||||
getvalue(x, y) {
|
||||
unimplementedWarning("getvalue");
|
||||
return;
|
||||
}
|
||||
|
||||
inregion(x, y) {
|
||||
unimplementedWarning("inregion");
|
||||
return;
|
||||
}
|
||||
|
||||
getregion() {
|
||||
unimplementedWarning("getregion");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Map;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class MenuButton extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,31 @@ class MenuButton extends GuiObject {
|
|||
getclassname() {
|
||||
return "MenuButton";
|
||||
}
|
||||
|
||||
onopenmenu() {
|
||||
unimplementedWarning("onopenmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
onclosemenu() {
|
||||
unimplementedWarning("onclosemenu");
|
||||
return;
|
||||
}
|
||||
|
||||
onselectitem(item) {
|
||||
unimplementedWarning("onselectitem");
|
||||
return;
|
||||
}
|
||||
|
||||
openmenu() {
|
||||
unimplementedWarning("openmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
closemenu() {
|
||||
unimplementedWarning("closemenu");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default MenuButton;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class MouseRedir extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,26 @@ class MouseRedir extends GuiObject {
|
|||
getclassname() {
|
||||
return "MouseRedir";
|
||||
}
|
||||
|
||||
setredirection(o) {
|
||||
unimplementedWarning("setredirection");
|
||||
return;
|
||||
}
|
||||
|
||||
getredirection() {
|
||||
unimplementedWarning("getredirection");
|
||||
return;
|
||||
}
|
||||
|
||||
setregionfrommap(regionmap, threshold, reverse) {
|
||||
unimplementedWarning("setregionfrommap");
|
||||
return;
|
||||
}
|
||||
|
||||
setregion(reg) {
|
||||
unimplementedWarning("setregion");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default MouseRedir;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,26 @@ class PopupMenu extends MakiObject {
|
|||
this.parent.js_trigger("js_update");
|
||||
});
|
||||
}
|
||||
|
||||
addsubmenu(submenu, submenutext) {
|
||||
unimplementedWarning("addsubmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
popatxy(x, y) {
|
||||
unimplementedWarning("popatxy");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumcommands() {
|
||||
unimplementedWarning("getnumcommands");
|
||||
return;
|
||||
}
|
||||
|
||||
disablecommand(cmd_id, disable) {
|
||||
unimplementedWarning("disablecommand");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default PopupMenu;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class QueryList extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,11 @@ class QueryList extends GuiObject {
|
|||
getclassname() {
|
||||
return "QueryList";
|
||||
}
|
||||
|
||||
onresetquery() {
|
||||
unimplementedWarning("onresetquery");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default QueryList;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,51 @@ class Region extends MakiObject {
|
|||
offset(x, y) {
|
||||
unimplementedWarning("offset");
|
||||
}
|
||||
|
||||
add(reg) {
|
||||
unimplementedWarning("add");
|
||||
return;
|
||||
}
|
||||
|
||||
sub(reg) {
|
||||
unimplementedWarning("sub");
|
||||
return;
|
||||
}
|
||||
|
||||
stretch(r) {
|
||||
unimplementedWarning("stretch");
|
||||
return;
|
||||
}
|
||||
|
||||
copy(reg) {
|
||||
unimplementedWarning("copy");
|
||||
return;
|
||||
}
|
||||
|
||||
loadfrombitmap(bitmapid) {
|
||||
unimplementedWarning("loadfrombitmap");
|
||||
return;
|
||||
}
|
||||
|
||||
getboundingboxx() {
|
||||
unimplementedWarning("getboundingboxx");
|
||||
return;
|
||||
}
|
||||
|
||||
getboundingboxy() {
|
||||
unimplementedWarning("getboundingboxy");
|
||||
return;
|
||||
}
|
||||
|
||||
getboundingboxw() {
|
||||
unimplementedWarning("getboundingboxw");
|
||||
return;
|
||||
}
|
||||
|
||||
getboundingboxh() {
|
||||
unimplementedWarning("getboundingboxh");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Region;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,31 @@ class Slider extends GuiObject {
|
|||
onsetposition(newpos) {
|
||||
unimplementedWarning("onsetposition");
|
||||
}
|
||||
|
||||
onpostedposition(newpos) {
|
||||
unimplementedWarning("onpostedposition");
|
||||
return;
|
||||
}
|
||||
|
||||
onsetfinalposition(pos) {
|
||||
unimplementedWarning("onsetfinalposition");
|
||||
return;
|
||||
}
|
||||
|
||||
setposition(pos) {
|
||||
unimplementedWarning("setposition");
|
||||
return;
|
||||
}
|
||||
|
||||
lock() {
|
||||
unimplementedWarning("lock");
|
||||
return;
|
||||
}
|
||||
|
||||
unlock() {
|
||||
unimplementedWarning("unlock");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Slider;
|
||||
|
|
|
|||
|
|
@ -147,6 +147,731 @@ class System extends MakiObject {
|
|||
window.innerWidth || 0
|
||||
);
|
||||
}
|
||||
|
||||
onscriptloaded() {
|
||||
unimplementedWarning("onscriptloaded");
|
||||
return;
|
||||
}
|
||||
|
||||
onscriptunloading() {
|
||||
unimplementedWarning("onscriptunloading");
|
||||
return;
|
||||
}
|
||||
|
||||
onquit() {
|
||||
unimplementedWarning("onquit");
|
||||
return;
|
||||
}
|
||||
|
||||
onsetxuiparam(param, value) {
|
||||
unimplementedWarning("onsetxuiparam");
|
||||
return;
|
||||
}
|
||||
|
||||
onkeydown(key) {
|
||||
unimplementedWarning("onkeydown");
|
||||
return;
|
||||
}
|
||||
|
||||
onaccelerator(action, section, key) {
|
||||
unimplementedWarning("onaccelerator");
|
||||
return;
|
||||
}
|
||||
|
||||
oncreatelayout(_layout) {
|
||||
unimplementedWarning("oncreatelayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onshowlayout(_layout) {
|
||||
unimplementedWarning("onshowlayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onhidelayout(_layout) {
|
||||
unimplementedWarning("onhidelayout");
|
||||
return;
|
||||
}
|
||||
|
||||
onstop() {
|
||||
unimplementedWarning("onstop");
|
||||
return;
|
||||
}
|
||||
|
||||
onplay() {
|
||||
unimplementedWarning("onplay");
|
||||
return;
|
||||
}
|
||||
|
||||
onpause() {
|
||||
unimplementedWarning("onpause");
|
||||
return;
|
||||
}
|
||||
|
||||
onresume() {
|
||||
unimplementedWarning("onresume");
|
||||
return;
|
||||
}
|
||||
|
||||
ontitlechange(newtitle) {
|
||||
unimplementedWarning("ontitlechange");
|
||||
return;
|
||||
}
|
||||
|
||||
ontitle2change(newtitle2) {
|
||||
unimplementedWarning("ontitle2change");
|
||||
return;
|
||||
}
|
||||
|
||||
oninfochange(info) {
|
||||
unimplementedWarning("oninfochange");
|
||||
return;
|
||||
}
|
||||
|
||||
onstatusmsg(msg) {
|
||||
unimplementedWarning("onstatusmsg");
|
||||
return;
|
||||
}
|
||||
|
||||
oneqbandchanged(band, newvalue) {
|
||||
unimplementedWarning("oneqbandchanged");
|
||||
return;
|
||||
}
|
||||
|
||||
oneqpreampchanged(newvalue) {
|
||||
unimplementedWarning("oneqpreampchanged");
|
||||
return;
|
||||
}
|
||||
|
||||
onvolumechanged(newvol) {
|
||||
unimplementedWarning("onvolumechanged");
|
||||
return;
|
||||
}
|
||||
|
||||
onseek(newpos) {
|
||||
unimplementedWarning("onseek");
|
||||
return;
|
||||
}
|
||||
|
||||
newdynamiccontainer(container_id) {
|
||||
unimplementedWarning("newdynamiccontainer");
|
||||
return;
|
||||
}
|
||||
|
||||
newgroup(group_id) {
|
||||
unimplementedWarning("newgroup");
|
||||
return;
|
||||
}
|
||||
|
||||
newgroupaslayout(group_id) {
|
||||
unimplementedWarning("newgroupaslayout");
|
||||
return;
|
||||
}
|
||||
|
||||
getnumcontainers() {
|
||||
unimplementedWarning("getnumcontainers");
|
||||
return;
|
||||
}
|
||||
|
||||
enumcontainer(num) {
|
||||
unimplementedWarning("enumcontainer");
|
||||
return;
|
||||
}
|
||||
|
||||
getwac(wac_guid) {
|
||||
unimplementedWarning("getwac");
|
||||
return;
|
||||
}
|
||||
|
||||
getplayitemmetadatastring(metadataname) {
|
||||
unimplementedWarning("getplayitemmetadatastring");
|
||||
return;
|
||||
}
|
||||
|
||||
getplayitemdisplaytitle() {
|
||||
unimplementedWarning("getplayitemdisplaytitle");
|
||||
return;
|
||||
}
|
||||
|
||||
getextfamily(ext) {
|
||||
unimplementedWarning("getextfamily");
|
||||
return;
|
||||
}
|
||||
|
||||
playfile(playitem) {
|
||||
unimplementedWarning("playfile");
|
||||
return;
|
||||
}
|
||||
|
||||
play() {
|
||||
unimplementedWarning("play");
|
||||
return;
|
||||
}
|
||||
|
||||
stop() {
|
||||
unimplementedWarning("stop");
|
||||
return;
|
||||
}
|
||||
|
||||
pause() {
|
||||
unimplementedWarning("pause");
|
||||
return;
|
||||
}
|
||||
|
||||
next() {
|
||||
unimplementedWarning("next");
|
||||
return;
|
||||
}
|
||||
|
||||
previous() {
|
||||
unimplementedWarning("previous");
|
||||
return;
|
||||
}
|
||||
|
||||
eject() {
|
||||
unimplementedWarning("eject");
|
||||
return;
|
||||
}
|
||||
|
||||
getposition() {
|
||||
unimplementedWarning("getposition");
|
||||
return;
|
||||
}
|
||||
|
||||
seteqband(band, value) {
|
||||
unimplementedWarning("seteqband");
|
||||
return;
|
||||
}
|
||||
|
||||
seteqpreamp(value) {
|
||||
unimplementedWarning("seteqpreamp");
|
||||
return;
|
||||
}
|
||||
|
||||
seteq(onoff) {
|
||||
unimplementedWarning("seteq");
|
||||
return;
|
||||
}
|
||||
|
||||
getmouseposx() {
|
||||
unimplementedWarning("getmouseposx");
|
||||
return;
|
||||
}
|
||||
|
||||
getmouseposy() {
|
||||
unimplementedWarning("getmouseposy");
|
||||
return;
|
||||
}
|
||||
|
||||
floattostring(value, ndigits) {
|
||||
unimplementedWarning("floattostring");
|
||||
return;
|
||||
}
|
||||
|
||||
stringtofloat(str) {
|
||||
unimplementedWarning("stringtofloat");
|
||||
return;
|
||||
}
|
||||
|
||||
integertolongtime(value) {
|
||||
unimplementedWarning("integertolongtime");
|
||||
return;
|
||||
}
|
||||
|
||||
integertotime(value) {
|
||||
unimplementedWarning("integertotime");
|
||||
return;
|
||||
}
|
||||
|
||||
datetotime(datetime) {
|
||||
unimplementedWarning("datetotime");
|
||||
return;
|
||||
}
|
||||
|
||||
datetolongtime(datetime) {
|
||||
unimplementedWarning("datetolongtime");
|
||||
return;
|
||||
}
|
||||
|
||||
formatdate(datetime) {
|
||||
unimplementedWarning("formatdate");
|
||||
return;
|
||||
}
|
||||
|
||||
formatlongdate(datetime) {
|
||||
unimplementedWarning("formatlongdate");
|
||||
return;
|
||||
}
|
||||
|
||||
getdateyear(datetime) {
|
||||
unimplementedWarning("getdateyear");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatemonth(datetime) {
|
||||
unimplementedWarning("getdatemonth");
|
||||
return;
|
||||
}
|
||||
|
||||
getdateday(datetime) {
|
||||
unimplementedWarning("getdateday");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatedow(datetime) {
|
||||
unimplementedWarning("getdatedow");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatedoy(datetime) {
|
||||
unimplementedWarning("getdatedoy");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatehour(datetime) {
|
||||
unimplementedWarning("getdatehour");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatemin(datetime) {
|
||||
unimplementedWarning("getdatemin");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatesec(datetime) {
|
||||
unimplementedWarning("getdatesec");
|
||||
return;
|
||||
}
|
||||
|
||||
getdatedst(datetime) {
|
||||
unimplementedWarning("getdatedst");
|
||||
return;
|
||||
}
|
||||
|
||||
getdate() {
|
||||
unimplementedWarning("getdate");
|
||||
return;
|
||||
}
|
||||
|
||||
strmid(str, start, len) {
|
||||
unimplementedWarning("strmid");
|
||||
return;
|
||||
}
|
||||
|
||||
strleft(str, nchars) {
|
||||
unimplementedWarning("strleft");
|
||||
return;
|
||||
}
|
||||
|
||||
strright(str, nchars) {
|
||||
unimplementedWarning("strright");
|
||||
return;
|
||||
}
|
||||
|
||||
strsearch(str, substr) {
|
||||
unimplementedWarning("strsearch");
|
||||
return;
|
||||
}
|
||||
|
||||
strlen(str) {
|
||||
unimplementedWarning("strlen");
|
||||
return;
|
||||
}
|
||||
|
||||
strupper(str) {
|
||||
unimplementedWarning("strupper");
|
||||
return;
|
||||
}
|
||||
|
||||
strlower(str) {
|
||||
unimplementedWarning("strlower");
|
||||
return;
|
||||
}
|
||||
|
||||
urlencode(url) {
|
||||
unimplementedWarning("urlencode");
|
||||
return;
|
||||
}
|
||||
|
||||
removepath(str) {
|
||||
unimplementedWarning("removepath");
|
||||
return;
|
||||
}
|
||||
|
||||
getpath(str) {
|
||||
unimplementedWarning("getpath");
|
||||
return;
|
||||
}
|
||||
|
||||
getextension(str) {
|
||||
unimplementedWarning("getextension");
|
||||
return;
|
||||
}
|
||||
|
||||
sin(value) {
|
||||
unimplementedWarning("sin");
|
||||
return;
|
||||
}
|
||||
|
||||
cos(value) {
|
||||
unimplementedWarning("cos");
|
||||
return;
|
||||
}
|
||||
|
||||
tan(value) {
|
||||
unimplementedWarning("tan");
|
||||
return;
|
||||
}
|
||||
|
||||
asin(value) {
|
||||
unimplementedWarning("asin");
|
||||
return;
|
||||
}
|
||||
|
||||
acos(value) {
|
||||
unimplementedWarning("acos");
|
||||
return;
|
||||
}
|
||||
|
||||
atan(value) {
|
||||
unimplementedWarning("atan");
|
||||
return;
|
||||
}
|
||||
|
||||
atan2(y, x) {
|
||||
unimplementedWarning("atan2");
|
||||
return;
|
||||
}
|
||||
|
||||
pow(value, pvalue) {
|
||||
unimplementedWarning("pow");
|
||||
return;
|
||||
}
|
||||
|
||||
sqr(value) {
|
||||
unimplementedWarning("sqr");
|
||||
return;
|
||||
}
|
||||
|
||||
sqrt(value) {
|
||||
unimplementedWarning("sqrt");
|
||||
return;
|
||||
}
|
||||
|
||||
random(max) {
|
||||
unimplementedWarning("random");
|
||||
return;
|
||||
}
|
||||
|
||||
setprivatestring(section, item, value) {
|
||||
unimplementedWarning("setprivatestring");
|
||||
return;
|
||||
}
|
||||
|
||||
getprivatestring(section, item, defvalue) {
|
||||
unimplementedWarning("getprivatestring");
|
||||
return;
|
||||
}
|
||||
|
||||
setpublicstring(item, value) {
|
||||
unimplementedWarning("setpublicstring");
|
||||
return;
|
||||
}
|
||||
|
||||
setpublicint(item, value) {
|
||||
unimplementedWarning("setpublicint");
|
||||
return;
|
||||
}
|
||||
|
||||
getpublicstring(item, defvalue) {
|
||||
unimplementedWarning("getpublicstring");
|
||||
return;
|
||||
}
|
||||
|
||||
getpublicint(item, defvalue) {
|
||||
unimplementedWarning("getpublicint");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewportwidthfrompoint(x, y) {
|
||||
unimplementedWarning("getviewportwidthfrompoint");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewportheightfrompoint(x, y) {
|
||||
unimplementedWarning("getviewportheightfrompoint");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewportleft() {
|
||||
unimplementedWarning("getviewportleft");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewportleftfrompoint(x, y) {
|
||||
unimplementedWarning("getviewportleftfrompoint");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewporttop() {
|
||||
unimplementedWarning("getviewporttop");
|
||||
return;
|
||||
}
|
||||
|
||||
getviewporttopfrompoint(x, y) {
|
||||
unimplementedWarning("getviewporttopfrompoint");
|
||||
return;
|
||||
}
|
||||
|
||||
debugstring(str, severity) {
|
||||
unimplementedWarning("debugstring");
|
||||
return;
|
||||
}
|
||||
|
||||
ddesend(application, command, mininterval) {
|
||||
unimplementedWarning("ddesend");
|
||||
return;
|
||||
}
|
||||
|
||||
onlookforcomponent(guid) {
|
||||
unimplementedWarning("onlookforcomponent");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurappleft() {
|
||||
unimplementedWarning("getcurappleft");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurapptop() {
|
||||
unimplementedWarning("getcurapptop");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurappwidth() {
|
||||
unimplementedWarning("getcurappwidth");
|
||||
return;
|
||||
}
|
||||
|
||||
getcurappheight() {
|
||||
unimplementedWarning("getcurappheight");
|
||||
return;
|
||||
}
|
||||
|
||||
isappactive() {
|
||||
unimplementedWarning("isappactive");
|
||||
return;
|
||||
}
|
||||
|
||||
switchskin(skinname) {
|
||||
unimplementedWarning("switchskin");
|
||||
return;
|
||||
}
|
||||
|
||||
isloadingskin() {
|
||||
unimplementedWarning("isloadingskin");
|
||||
return;
|
||||
}
|
||||
|
||||
lockui() {
|
||||
unimplementedWarning("lockui");
|
||||
return;
|
||||
}
|
||||
|
||||
unlockui() {
|
||||
unimplementedWarning("unlockui");
|
||||
return;
|
||||
}
|
||||
|
||||
getmainbrowser() {
|
||||
unimplementedWarning("getmainbrowser");
|
||||
return;
|
||||
}
|
||||
|
||||
popmainbrowser() {
|
||||
unimplementedWarning("popmainbrowser");
|
||||
return;
|
||||
}
|
||||
|
||||
navigateurl(url) {
|
||||
unimplementedWarning("navigateurl");
|
||||
return;
|
||||
}
|
||||
|
||||
isobjectvalid(o) {
|
||||
unimplementedWarning("isobjectvalid");
|
||||
return;
|
||||
}
|
||||
|
||||
integer(d) {
|
||||
unimplementedWarning("integer");
|
||||
return;
|
||||
}
|
||||
|
||||
frac(d) {
|
||||
unimplementedWarning("frac");
|
||||
return;
|
||||
}
|
||||
|
||||
gettimeofday() {
|
||||
unimplementedWarning("gettimeofday");
|
||||
return;
|
||||
}
|
||||
|
||||
setmenutransparency(alphavalue) {
|
||||
unimplementedWarning("setmenutransparency");
|
||||
return;
|
||||
}
|
||||
|
||||
ongetcancelcomponent(guid, goingvisible) {
|
||||
unimplementedWarning("ongetcancelcomponent");
|
||||
return;
|
||||
}
|
||||
|
||||
iskeydown(vk_code) {
|
||||
unimplementedWarning("iskeydown");
|
||||
return;
|
||||
}
|
||||
|
||||
setclipboardtext(_text) {
|
||||
unimplementedWarning("setclipboardtext");
|
||||
return;
|
||||
}
|
||||
|
||||
chr(charnum) {
|
||||
unimplementedWarning("chr");
|
||||
return;
|
||||
}
|
||||
|
||||
selectfile(extlist, id, prev_filename) {
|
||||
unimplementedWarning("selectfile");
|
||||
return;
|
||||
}
|
||||
|
||||
systemmenu() {
|
||||
unimplementedWarning("systemmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
windowmenu() {
|
||||
unimplementedWarning("windowmenu");
|
||||
return;
|
||||
}
|
||||
|
||||
triggeraction(context, actionname, actionparam) {
|
||||
unimplementedWarning("triggeraction");
|
||||
return;
|
||||
}
|
||||
|
||||
showwindow(guidorgroupid, preferedcontainer, transient) {
|
||||
unimplementedWarning("showwindow");
|
||||
return;
|
||||
}
|
||||
|
||||
hidewindow(hw) {
|
||||
unimplementedWarning("hidewindow");
|
||||
return;
|
||||
}
|
||||
|
||||
hidenamedwindow(guidorgroup) {
|
||||
unimplementedWarning("hidenamedwindow");
|
||||
return;
|
||||
}
|
||||
|
||||
isnamedwindowvisible(guidorgroup) {
|
||||
unimplementedWarning("isnamedwindowvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
setatom(atomname, object) {
|
||||
unimplementedWarning("setatom");
|
||||
return;
|
||||
}
|
||||
|
||||
getatom(atomname) {
|
||||
unimplementedWarning("getatom");
|
||||
return;
|
||||
}
|
||||
|
||||
invokedebugger() {
|
||||
unimplementedWarning("invokedebugger");
|
||||
return;
|
||||
}
|
||||
|
||||
isvideo() {
|
||||
unimplementedWarning("isvideo");
|
||||
return;
|
||||
}
|
||||
|
||||
isvideofullscreen() {
|
||||
unimplementedWarning("isvideofullscreen");
|
||||
return;
|
||||
}
|
||||
|
||||
getidealvideowidth() {
|
||||
unimplementedWarning("getidealvideowidth");
|
||||
return;
|
||||
}
|
||||
|
||||
getidealvideoheight() {
|
||||
unimplementedWarning("getidealvideoheight");
|
||||
return;
|
||||
}
|
||||
|
||||
isminimized() {
|
||||
unimplementedWarning("isminimized");
|
||||
return;
|
||||
}
|
||||
|
||||
minimizeapplication() {
|
||||
unimplementedWarning("minimizeapplication");
|
||||
return;
|
||||
}
|
||||
|
||||
restoreapplication() {
|
||||
unimplementedWarning("restoreapplication");
|
||||
return;
|
||||
}
|
||||
|
||||
activateapplication() {
|
||||
unimplementedWarning("activateapplication");
|
||||
return;
|
||||
}
|
||||
|
||||
getplaylistlength() {
|
||||
unimplementedWarning("getplaylistlength");
|
||||
return;
|
||||
}
|
||||
|
||||
getplaylistindex() {
|
||||
unimplementedWarning("getplaylistindex");
|
||||
return;
|
||||
}
|
||||
|
||||
isdesktopalphaavailable() {
|
||||
unimplementedWarning("isdesktopalphaavailable");
|
||||
return;
|
||||
}
|
||||
|
||||
istransparencyavailable() {
|
||||
unimplementedWarning("istransparencyavailable");
|
||||
return;
|
||||
}
|
||||
|
||||
onshownotification() {
|
||||
unimplementedWarning("onshownotification");
|
||||
return;
|
||||
}
|
||||
|
||||
getsonginfotext() {
|
||||
unimplementedWarning("getsonginfotext");
|
||||
return;
|
||||
}
|
||||
|
||||
getvisband(channel, band) {
|
||||
unimplementedWarning("getvisband");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default System;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import GuiObject from "./GuiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class TabSheet extends GuiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,16 @@ class TabSheet extends GuiObject {
|
|||
getclassname() {
|
||||
return "TabSheet";
|
||||
}
|
||||
|
||||
getcurpage() {
|
||||
unimplementedWarning("getcurpage");
|
||||
return;
|
||||
}
|
||||
|
||||
setcurpage(a) {
|
||||
unimplementedWarning("setcurpage");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default TabSheet;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,26 @@ class Text extends GuiObject {
|
|||
setalternatetext(txt) {
|
||||
unimplementedWarning("setalternatetext");
|
||||
}
|
||||
|
||||
settext(txt) {
|
||||
unimplementedWarning("settext");
|
||||
return;
|
||||
}
|
||||
|
||||
gettext() {
|
||||
unimplementedWarning("gettext");
|
||||
return;
|
||||
}
|
||||
|
||||
gettextwidth() {
|
||||
unimplementedWarning("gettextwidth");
|
||||
return;
|
||||
}
|
||||
|
||||
ontextchanged(newtxt) {
|
||||
unimplementedWarning("ontextchanged");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Text;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,26 @@ class Timer extends MakiObject {
|
|||
stop() {
|
||||
unimplementedWarning("stop");
|
||||
}
|
||||
|
||||
ontimer() {
|
||||
unimplementedWarning("ontimer");
|
||||
return;
|
||||
}
|
||||
|
||||
getdelay() {
|
||||
unimplementedWarning("getdelay");
|
||||
return;
|
||||
}
|
||||
|
||||
isrunning() {
|
||||
unimplementedWarning("isrunning");
|
||||
return;
|
||||
}
|
||||
|
||||
getskipped() {
|
||||
unimplementedWarning("getskipped");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Timer;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,11 @@ class ToggleButton extends Button {
|
|||
ontoggle(onnoff) {
|
||||
unimplementedWarning("ontoggle");
|
||||
}
|
||||
|
||||
getcurcfgval() {
|
||||
unimplementedWarning("getcurcfgval");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default ToggleButton;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class TreeItem extends MakiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,181 @@ class TreeItem extends MakiObject {
|
|||
getclassname() {
|
||||
return "TreeItem";
|
||||
}
|
||||
|
||||
getnumchildren() {
|
||||
unimplementedWarning("getnumchildren");
|
||||
return;
|
||||
}
|
||||
|
||||
setlabel(label) {
|
||||
unimplementedWarning("setlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
getlabel() {
|
||||
unimplementedWarning("getlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
ensurevisible() {
|
||||
unimplementedWarning("ensurevisible");
|
||||
return;
|
||||
}
|
||||
|
||||
getnthchild(nth) {
|
||||
unimplementedWarning("getnthchild");
|
||||
return;
|
||||
}
|
||||
|
||||
getchild() {
|
||||
unimplementedWarning("getchild");
|
||||
return;
|
||||
}
|
||||
|
||||
getchildsibling(_item) {
|
||||
unimplementedWarning("getchildsibling");
|
||||
return;
|
||||
}
|
||||
|
||||
getsibling() {
|
||||
unimplementedWarning("getsibling");
|
||||
return;
|
||||
}
|
||||
|
||||
getparent() {
|
||||
unimplementedWarning("getparent");
|
||||
return;
|
||||
}
|
||||
|
||||
editlabel() {
|
||||
unimplementedWarning("editlabel");
|
||||
return;
|
||||
}
|
||||
|
||||
hassubitems() {
|
||||
unimplementedWarning("hassubitems");
|
||||
return;
|
||||
}
|
||||
|
||||
setsorted(issorted) {
|
||||
unimplementedWarning("setsorted");
|
||||
return;
|
||||
}
|
||||
|
||||
setchildtab(haschildtab) {
|
||||
unimplementedWarning("setchildtab");
|
||||
return;
|
||||
}
|
||||
|
||||
issorted() {
|
||||
unimplementedWarning("issorted");
|
||||
return;
|
||||
}
|
||||
|
||||
iscollapsed() {
|
||||
unimplementedWarning("iscollapsed");
|
||||
return;
|
||||
}
|
||||
|
||||
isexpanded() {
|
||||
unimplementedWarning("isexpanded");
|
||||
return;
|
||||
}
|
||||
|
||||
invalidate() {
|
||||
unimplementedWarning("invalidate");
|
||||
return;
|
||||
}
|
||||
|
||||
isselected() {
|
||||
unimplementedWarning("isselected");
|
||||
return;
|
||||
}
|
||||
|
||||
ishilited() {
|
||||
unimplementedWarning("ishilited");
|
||||
return;
|
||||
}
|
||||
|
||||
sethilited(ishilited) {
|
||||
unimplementedWarning("sethilited");
|
||||
return;
|
||||
}
|
||||
|
||||
collapse() {
|
||||
unimplementedWarning("collapse");
|
||||
return;
|
||||
}
|
||||
|
||||
expand() {
|
||||
unimplementedWarning("expand");
|
||||
return;
|
||||
}
|
||||
|
||||
gettree() {
|
||||
unimplementedWarning("gettree");
|
||||
return;
|
||||
}
|
||||
|
||||
ontreeadd() {
|
||||
unimplementedWarning("ontreeadd");
|
||||
return;
|
||||
}
|
||||
|
||||
ontreeremove() {
|
||||
unimplementedWarning("ontreeremove");
|
||||
return;
|
||||
}
|
||||
|
||||
onselect() {
|
||||
unimplementedWarning("onselect");
|
||||
return;
|
||||
}
|
||||
|
||||
ondeselect() {
|
||||
unimplementedWarning("ondeselect");
|
||||
return;
|
||||
}
|
||||
|
||||
onleftdoubleclick() {
|
||||
unimplementedWarning("onleftdoubleclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onrightdoubleclick() {
|
||||
unimplementedWarning("onrightdoubleclick");
|
||||
return;
|
||||
}
|
||||
|
||||
onchar(key) {
|
||||
unimplementedWarning("onchar");
|
||||
return;
|
||||
}
|
||||
|
||||
onexpand() {
|
||||
unimplementedWarning("onexpand");
|
||||
return;
|
||||
}
|
||||
|
||||
oncollapse() {
|
||||
unimplementedWarning("oncollapse");
|
||||
return;
|
||||
}
|
||||
|
||||
onbeginlabeledit() {
|
||||
unimplementedWarning("onbeginlabeledit");
|
||||
return;
|
||||
}
|
||||
|
||||
onendlabeledit(newlabel) {
|
||||
unimplementedWarning("onendlabeledit");
|
||||
return;
|
||||
}
|
||||
|
||||
oncontextmenu(x, y) {
|
||||
unimplementedWarning("oncontextmenu");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default TreeItem;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,31 @@ class Vis extends GuiObject {
|
|||
setmode(mode) {
|
||||
unimplementedWarning("setmode");
|
||||
}
|
||||
|
||||
onframe() {
|
||||
unimplementedWarning("onframe");
|
||||
return;
|
||||
}
|
||||
|
||||
setrealtime(onoff) {
|
||||
unimplementedWarning("setrealtime");
|
||||
return;
|
||||
}
|
||||
|
||||
getrealtime() {
|
||||
unimplementedWarning("getrealtime");
|
||||
return;
|
||||
}
|
||||
|
||||
getmode() {
|
||||
unimplementedWarning("getmode");
|
||||
return;
|
||||
}
|
||||
|
||||
nextmode() {
|
||||
unimplementedWarning("nextmode");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Vis;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import MakiObject from "./MakiObject";
|
||||
import { unimplementedWarning } from "../utils";
|
||||
|
||||
class Wac extends MakiObject {
|
||||
/**
|
||||
|
|
@ -10,6 +11,61 @@ class Wac extends MakiObject {
|
|||
getclassname() {
|
||||
return "Wac";
|
||||
}
|
||||
|
||||
getguid() {
|
||||
unimplementedWarning("getguid");
|
||||
return;
|
||||
}
|
||||
|
||||
getname() {
|
||||
unimplementedWarning("getname");
|
||||
return;
|
||||
}
|
||||
|
||||
sendcommand(cmd, param1, param2, param3) {
|
||||
unimplementedWarning("sendcommand");
|
||||
return;
|
||||
}
|
||||
|
||||
show() {
|
||||
unimplementedWarning("show");
|
||||
return;
|
||||
}
|
||||
|
||||
hide() {
|
||||
unimplementedWarning("hide");
|
||||
return;
|
||||
}
|
||||
|
||||
isvisible() {
|
||||
unimplementedWarning("isvisible");
|
||||
return;
|
||||
}
|
||||
|
||||
onnotify(notifstr, a, b) {
|
||||
unimplementedWarning("onnotify");
|
||||
return;
|
||||
}
|
||||
|
||||
onshow() {
|
||||
unimplementedWarning("onshow");
|
||||
return;
|
||||
}
|
||||
|
||||
onhide() {
|
||||
unimplementedWarning("onhide");
|
||||
return;
|
||||
}
|
||||
|
||||
setstatusbar(onoff) {
|
||||
unimplementedWarning("setstatusbar");
|
||||
return;
|
||||
}
|
||||
|
||||
getstatusbar() {
|
||||
unimplementedWarning("getstatusbar");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export default Wac;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue