Stub out missing methods

These were auto-generated with the ESLint rule
This commit is contained in:
Jordan Eldredge 2019-08-24 20:41:08 -07:00
parent 35f758e635
commit 6a26e77de5
38 changed files with 3124 additions and 626 deletions

View file

@ -78,629 +78,6 @@ describe("Maki classes", () => {
.filter(x => !runtimeMethods.has(x))
.sort();
expect(missing).toMatchInlineSnapshot(`
Array [
"AnimatedLayer.getautoreplay",
"AnimatedLayer.getcurframe",
"AnimatedLayer.getdirection",
"AnimatedLayer.getendframe",
"AnimatedLayer.getstartframe",
"AnimatedLayer.ispaused",
"AnimatedLayer.isplaying",
"AnimatedLayer.isstopped",
"AnimatedLayer.onframe",
"AnimatedLayer.onpause",
"AnimatedLayer.onplay",
"AnimatedLayer.onresume",
"AnimatedLayer.onstop",
"AnimatedLayer.setautoreplay",
"AnimatedLayer.setendframe",
"AnimatedLayer.setrealtime",
"AnimatedLayer.setstartframe",
"Browser.back",
"Browser.forward",
"Browser.home",
"Browser.navigateurl",
"Browser.onbeforenavigate",
"Browser.ondocumentcomplete",
"Browser.refresh",
"Browser.settargetname",
"Browser.stop",
"Button.onleftclick",
"Button.onrightclick",
"Button.setactivatednocallback",
"CfgGroup.cfggetfloat",
"CfgGroup.cfggetguid",
"CfgGroup.cfggetint",
"CfgGroup.cfggetname",
"CfgGroup.cfggetstring",
"CfgGroup.cfgsetfloat",
"CfgGroup.cfgsetint",
"CfgGroup.cfgsetstring",
"CfgGroup.oncfgchanged",
"CheckBox.gettext",
"CheckBox.ischecked",
"CheckBox.ontoggle",
"CheckBox.setchecked",
"CheckBox.settext",
"Component.getcontent",
"Component.getguid",
"Component.getwac",
"Component.ongetwac",
"Component.ongiveupwac",
"Component.setacceptwac",
"Component.setregion",
"Component.setregionfrommap",
"ComponentBucket.enumchildren",
"ComponentBucket.getmaxheight",
"ComponentBucket.getmaxwidth",
"ComponentBucket.getnumchildren",
"ComponentBucket.getscroll",
"ComponentBucket.setscroll",
"Config.getitem",
"Config.getitembyguid",
"ConfigAttribute.getattributename",
"ConfigAttribute.getdata",
"ConfigAttribute.getparentitem",
"ConfigAttribute.ondatachanged",
"ConfigAttribute.setdata",
"ConfigItem.getattribute",
"ConfigItem.getguid",
"ConfigItem.newattribute",
"Container.close",
"Container.enumlayout",
"Container.getcurlayout",
"Container.getnumlayouts",
"Container.isdynamic",
"Container.onbeforeswitchtolayout",
"Container.onhidelayout",
"Container.onshowlayout",
"Container.onswitchtolayout",
"Container.setname",
"Container.switchtolayout",
"Container.toggle",
"DropDownList.additem",
"DropDownList.closelist",
"DropDownList.deleteallitems",
"DropDownList.delitem",
"DropDownList.finditem",
"DropDownList.getcustomtext",
"DropDownList.getitemselected",
"DropDownList.getitemtext",
"DropDownList.getnumitems",
"DropDownList.getselected",
"DropDownList.getselectedtext",
"DropDownList.onselect",
"DropDownList.openlist",
"DropDownList.selectitem",
"DropDownList.setitems",
"DropDownList.setlistheight",
"DropDownList.setnoitemtext",
"Edit.enter",
"Edit.getautoenter",
"Edit.getidleenabled",
"Edit.gettext",
"Edit.onabort",
"Edit.oneditupdate",
"Edit.onenter",
"Edit.onidleeditupdate",
"Edit.selectall",
"Edit.setautoenter",
"Edit.setidleenabled",
"Edit.settext",
"Group.enumobject",
"Group.getmouseposx",
"Group.getmouseposy",
"Group.getnumobjects",
"Group.islayout",
"Group.oncreateobject",
"GroupList.enumitem",
"GroupList.getnumitems",
"GroupList.instantiate",
"GroupList.removeall",
"GroupList.scrolltopercent",
"GuiList.addcolumn",
"GuiList.additem",
"GuiList.deleteallitems",
"GuiList.deletebypos",
"GuiList.deselectall",
"GuiList.end",
"GuiList.ensureitemvisible",
"GuiList.getcolumnlabel",
"GuiList.getcolumnnumeric",
"GuiList.getcolumnwidth",
"GuiList.getfirstitemselected",
"GuiList.getfirstitemvisible",
"GuiList.getfontsize",
"GuiList.getheaderheight",
"GuiList.getitemcount",
"GuiList.getitemfocused",
"GuiList.getitemlabel",
"GuiList.getitemselected",
"GuiList.getlastaddeditempos",
"GuiList.getlastitemvisible",
"GuiList.getnextitemselected",
"GuiList.getnumcolumns",
"GuiList.getnumitems",
"GuiList.getpreventmultipleselection",
"GuiList.getsortcolumn",
"GuiList.getsortdirection",
"GuiList.getsubitemtext",
"GuiList.getwantautodeselect",
"GuiList.home",
"GuiList.insertitem",
"GuiList.invalidatecolumns",
"GuiList.invalidateitem",
"GuiList.invertselection",
"GuiList.iscolumndynamic",
"GuiList.isitemfocused",
"GuiList.jumptonext",
"GuiList.moveitem",
"GuiList.next",
"GuiList.oncolumndblclick",
"GuiList.oncolumnlabelclick",
"GuiList.ondelete",
"GuiList.ondoubleclick",
"GuiList.onitemselection",
"GuiList.onleftclick",
"GuiList.onrightclick",
"GuiList.onsecondleftclick",
"GuiList.onselectall",
"GuiList.onsetvisible",
"GuiList.pagedown",
"GuiList.pageup",
"GuiList.previous",
"GuiList.reset",
"GuiList.resort",
"GuiList.scrollabsolute",
"GuiList.scrolldown",
"GuiList.scrollleft",
"GuiList.scrollrelative",
"GuiList.scrollright",
"GuiList.scrolltoitem",
"GuiList.scrollup",
"GuiList.selectall",
"GuiList.selectcurrent",
"GuiList.selectfirstentry",
"GuiList.setautosort",
"GuiList.setcolumndynamic",
"GuiList.setcolumnlabel",
"GuiList.setcolumnwidth",
"GuiList.setfontsize",
"GuiList.setitemfocused",
"GuiList.setitemlabel",
"GuiList.setminimumsize",
"GuiList.setpreventmultipleselection",
"GuiList.setselected",
"GuiList.setselectionend",
"GuiList.setselectionstart",
"GuiList.setsortcolumn",
"GuiList.setsortdirection",
"GuiList.setsubitem",
"GuiList.setwantautodeselect",
"GuiList.toggleselection",
"GuiObject.bringabove",
"GuiObject.bringbelow",
"GuiObject.bringtoback",
"GuiObject.bringtofront",
"GuiObject.canceltarget",
"GuiObject.clienttoscreenh",
"GuiObject.clienttoscreenw",
"GuiObject.clienttoscreenx",
"GuiObject.clienttoscreeny",
"GuiObject.endmodal",
"GuiObject.findobjectxy",
"GuiObject.getalpha",
"GuiObject.getautoheight",
"GuiObject.getautowidth",
"GuiObject.getenabled",
"GuiObject.getguih",
"GuiObject.getguirelath",
"GuiObject.getguirelatw",
"GuiObject.getguirelatx",
"GuiObject.getguirelaty",
"GuiObject.getguiw",
"GuiObject.getguix",
"GuiObject.getguiy",
"GuiObject.getinterface",
"GuiObject.getname",
"GuiObject.gettopparent",
"GuiObject.gototarget",
"GuiObject.isactive",
"GuiObject.isgoingtotarget",
"GuiObject.ismouseover",
"GuiObject.ismouseoverrect",
"GuiObject.isvisible",
"GuiObject.onaccelerator",
"GuiObject.onaction",
"GuiObject.onchar",
"GuiObject.onenable",
"GuiObject.onenterarea",
"GuiObject.ongetfocus",
"GuiObject.onkeydown",
"GuiObject.onkeyup",
"GuiObject.onkillfocus",
"GuiObject.onleavearea",
"GuiObject.onleftbuttondblclk",
"GuiObject.onleftbuttondown",
"GuiObject.onleftbuttonup",
"GuiObject.onmousemove",
"GuiObject.onresize",
"GuiObject.onrightbuttondblclk",
"GuiObject.onrightbuttondown",
"GuiObject.onrightbuttonup",
"GuiObject.onsetvisible",
"GuiObject.onstartup",
"GuiObject.ontargetreached",
"GuiObject.reversetarget",
"GuiObject.runmodal",
"GuiObject.screentoclienth",
"GuiObject.screentoclientw",
"GuiObject.screentoclientx",
"GuiObject.screentoclienty",
"GuiObject.sendaction",
"GuiObject.setenabled",
"GuiObject.setfocus",
"GuiObject.settargeta",
"GuiObject.settargeth",
"GuiObject.settargetspeed",
"GuiObject.settargetw",
"GuiObject.settargetx",
"GuiObject.settargety",
"GuiTree.addtreeitem",
"GuiTree.canceleditlabel",
"GuiTree.collapseitem",
"GuiTree.collapseitemdeferred",
"GuiTree.deleteallitems",
"GuiTree.delitemdeferred",
"GuiTree.edititemlabel",
"GuiTree.ensureitemvisible",
"GuiTree.enumallitems",
"GuiTree.enumrootitem",
"GuiTree.enumvisiblechilditems",
"GuiTree.enumvisibleitems",
"GuiTree.expanditem",
"GuiTree.expanditemdeferred",
"GuiTree.getautoedit",
"GuiTree.getbylabel",
"GuiTree.getcontentsheight",
"GuiTree.getcontentswidth",
"GuiTree.getcuritem",
"GuiTree.getfontsize",
"GuiTree.getitemfrompoint",
"GuiTree.getitemrecth",
"GuiTree.getitemrectw",
"GuiTree.getitemrectx",
"GuiTree.getitemrecty",
"GuiTree.getnumrootitems",
"GuiTree.getnumvisiblechilditems",
"GuiTree.getnumvisibleitems",
"GuiTree.getsibling",
"GuiTree.getsorted",
"GuiTree.hiliteitem",
"GuiTree.hittest",
"GuiTree.jumptonext",
"GuiTree.movetreeitem",
"GuiTree.onchar",
"GuiTree.oncontextmenu",
"GuiTree.onitemdeselected",
"GuiTree.onitemrecvdrop",
"GuiTree.onitemselected",
"GuiTree.onlabelchange",
"GuiTree.onmousewheeldown",
"GuiTree.onmousewheelup",
"GuiTree.onwantautocontextmenu",
"GuiTree.removetreeitem",
"GuiTree.selectitem",
"GuiTree.selectitemdeferred",
"GuiTree.setautocollapse",
"GuiTree.setautoedit",
"GuiTree.setfontsize",
"GuiTree.setsorted",
"GuiTree.sorttreeitems",
"GuiTree.unhiliteitem",
"Layer.fx_getalphamode",
"Layer.fx_getbgfx",
"Layer.fx_getbilinear",
"Layer.fx_getclear",
"Layer.fx_getenabled",
"Layer.fx_getlocalized",
"Layer.fx_getrealtime",
"Layer.fx_getrect",
"Layer.fx_getspeed",
"Layer.fx_getwrap",
"Layer.fx_onframe",
"Layer.fx_ongetpixela",
"Layer.fx_ongetpixeld",
"Layer.fx_ongetpixelr",
"Layer.fx_ongetpixelx",
"Layer.fx_ongetpixely",
"Layer.fx_oninit",
"Layer.fx_restart",
"Layer.fx_setalphamode",
"Layer.fx_setbgfx",
"Layer.fx_setbilinear",
"Layer.fx_setclear",
"Layer.fx_setenabled",
"Layer.fx_setgridsize",
"Layer.fx_setlocalized",
"Layer.fx_setrealtime",
"Layer.fx_setrect",
"Layer.fx_setspeed",
"Layer.fx_setwrap",
"Layer.fx_update",
"Layer.onbeginresize",
"Layer.onendresize",
"Layout.beforeredock",
"Layout.center",
"Layout.getdesktopalpha",
"Layout.getscale",
"Layout.getsnapadjustbottom",
"Layout.getsnapadjustleft",
"Layout.getsnapadjustright",
"Layout.getsnapadjusttop",
"Layout.islayoutanimationsafe",
"Layout.istransparencysafe",
"Layout.ondock",
"Layout.onendmove",
"Layout.onmouseenterlayout",
"Layout.onmouseleavelayout",
"Layout.onmove",
"Layout.onscale",
"Layout.onsnapadjustchanged",
"Layout.onundock",
"Layout.onuserresize",
"Layout.redock",
"Layout.setdesktopalpha",
"Layout.setredrawonresize",
"Layout.setscale",
"Layout.snapadjust",
"LayoutStatus.callme",
"List.additem",
"List.enumitem",
"List.finditem",
"List.getnumitems",
"List.removeall",
"List.removeitem",
"Map.getregion",
"Map.getvalue",
"Map.inregion",
"MenuButton.closemenu",
"MenuButton.onclosemenu",
"MenuButton.onopenmenu",
"MenuButton.onselectitem",
"MenuButton.openmenu",
"MouseRedir.getredirection",
"MouseRedir.setredirection",
"MouseRedir.setregion",
"MouseRedir.setregionfrommap",
"PopupMenu.addsubmenu",
"PopupMenu.disablecommand",
"PopupMenu.getnumcommands",
"PopupMenu.popatxy",
"QueryList.onresetquery",
"Region.add",
"Region.copy",
"Region.getboundingboxh",
"Region.getboundingboxw",
"Region.getboundingboxx",
"Region.getboundingboxy",
"Region.loadfrombitmap",
"Region.stretch",
"Region.sub",
"Slider.lock",
"Slider.onpostedposition",
"Slider.onsetfinalposition",
"Slider.setposition",
"Slider.unlock",
"System.acos",
"System.activateapplication",
"System.asin",
"System.atan",
"System.atan2",
"System.chr",
"System.cos",
"System.datetolongtime",
"System.datetotime",
"System.ddesend",
"System.debugstring",
"System.eject",
"System.enumcontainer",
"System.floattostring",
"System.formatdate",
"System.formatlongdate",
"System.frac",
"System.getatom",
"System.getcurappheight",
"System.getcurappleft",
"System.getcurapptop",
"System.getcurappwidth",
"System.getdate",
"System.getdateday",
"System.getdatedow",
"System.getdatedoy",
"System.getdatedst",
"System.getdatehour",
"System.getdatemin",
"System.getdatemonth",
"System.getdatesec",
"System.getdateyear",
"System.getextension",
"System.getextfamily",
"System.getidealvideoheight",
"System.getidealvideowidth",
"System.getmainbrowser",
"System.getmouseposx",
"System.getmouseposy",
"System.getnumcontainers",
"System.getpath",
"System.getplayitemdisplaytitle",
"System.getplayitemmetadatastring",
"System.getplaylistindex",
"System.getplaylistlength",
"System.getposition",
"System.getprivatestring",
"System.getpublicint",
"System.getpublicstring",
"System.getsonginfotext",
"System.gettimeofday",
"System.getviewportheightfrompoint",
"System.getviewportleft",
"System.getviewportleftfrompoint",
"System.getviewporttop",
"System.getviewporttopfrompoint",
"System.getviewportwidthfrompoint",
"System.getvisband",
"System.getwac",
"System.hidenamedwindow",
"System.hidewindow",
"System.integer",
"System.integertolongtime",
"System.integertotime",
"System.invokedebugger",
"System.isappactive",
"System.isdesktopalphaavailable",
"System.iskeydown",
"System.isloadingskin",
"System.isminimized",
"System.isnamedwindowvisible",
"System.isobjectvalid",
"System.istransparencyavailable",
"System.isvideo",
"System.isvideofullscreen",
"System.lockui",
"System.minimizeapplication",
"System.navigateurl",
"System.newdynamiccontainer",
"System.newgroup",
"System.newgroupaslayout",
"System.next",
"System.onaccelerator",
"System.oncreatelayout",
"System.oneqbandchanged",
"System.oneqpreampchanged",
"System.ongetcancelcomponent",
"System.onhidelayout",
"System.oninfochange",
"System.onkeydown",
"System.onlookforcomponent",
"System.onpause",
"System.onplay",
"System.onquit",
"System.onresume",
"System.onscriptloaded",
"System.onscriptunloading",
"System.onseek",
"System.onsetxuiparam",
"System.onshowlayout",
"System.onshownotification",
"System.onstatusmsg",
"System.onstop",
"System.ontitle2change",
"System.ontitlechange",
"System.onvolumechanged",
"System.pause",
"System.play",
"System.playfile",
"System.popmainbrowser",
"System.pow",
"System.previous",
"System.random",
"System.removepath",
"System.restoreapplication",
"System.selectfile",
"System.setatom",
"System.setclipboardtext",
"System.seteq",
"System.seteqband",
"System.seteqpreamp",
"System.setmenutransparency",
"System.setprivatestring",
"System.setpublicint",
"System.setpublicstring",
"System.showwindow",
"System.sin",
"System.sqr",
"System.sqrt",
"System.stop",
"System.stringtofloat",
"System.strleft",
"System.strlen",
"System.strlower",
"System.strmid",
"System.strright",
"System.strsearch",
"System.strupper",
"System.switchskin",
"System.systemmenu",
"System.tan",
"System.triggeraction",
"System.unlockui",
"System.urlencode",
"System.windowmenu",
"TabSheet.getcurpage",
"TabSheet.setcurpage",
"Text.gettext",
"Text.gettextwidth",
"Text.ontextchanged",
"Text.settext",
"Timer.getdelay",
"Timer.getskipped",
"Timer.isrunning",
"Timer.ontimer",
"ToggleButton.getcurcfgval",
"TreeItem.collapse",
"TreeItem.editlabel",
"TreeItem.ensurevisible",
"TreeItem.expand",
"TreeItem.getchild",
"TreeItem.getchildsibling",
"TreeItem.getlabel",
"TreeItem.getnthchild",
"TreeItem.getnumchildren",
"TreeItem.getparent",
"TreeItem.getsibling",
"TreeItem.gettree",
"TreeItem.hassubitems",
"TreeItem.invalidate",
"TreeItem.iscollapsed",
"TreeItem.isexpanded",
"TreeItem.ishilited",
"TreeItem.isselected",
"TreeItem.issorted",
"TreeItem.onbeginlabeledit",
"TreeItem.onchar",
"TreeItem.oncollapse",
"TreeItem.oncontextmenu",
"TreeItem.ondeselect",
"TreeItem.onendlabeledit",
"TreeItem.onexpand",
"TreeItem.onleftdoubleclick",
"TreeItem.onrightdoubleclick",
"TreeItem.onselect",
"TreeItem.ontreeadd",
"TreeItem.ontreeremove",
"TreeItem.setchildtab",
"TreeItem.sethilited",
"TreeItem.setlabel",
"TreeItem.setsorted",
"Vis.getmode",
"Vis.getrealtime",
"Vis.nextmode",
"Vis.onframe",
"Vis.setrealtime",
"Wac.getguid",
"Wac.getname",
"Wac.getstatusbar",
"Wac.hide",
"Wac.isvisible",
"Wac.onhide",
"Wac.onnotify",
"Wac.onshow",
"Wac.sendcommand",
"Wac.setstatusbar",
"Wac.show",
]
`);
expect(missing).toMatchInlineSnapshot(`Array []`);
});
});

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -97,6 +97,346 @@ 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;
}
sendaction(action, param, x, y, p1, p2) {
unimplementedWarning("sendaction");
return;
}
onaction(action, param, x, y, p1, p2, source) {
unimplementedWarning("onaction");
return;
}
}
export default GuiObject;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -15,6 +15,11 @@ class ToggleButton extends Button {
ontoggle(onnoff) {
unimplementedWarning("ontoggle");
}
getcurcfgval() {
unimplementedWarning("getcurcfgval");
return;
}
}
export default ToggleButton;

View file

@ -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;

View file

@ -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;

View file

@ -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;