Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/script/objects/guiobjectx.cpp
2024-09-24 14:54:57 +02:00

132 lines
7.6 KiB
C++

#include <precomp.h>
#include "guiobjectx.h"
#define CBCLASS GuiObjectX
START_DISPATCH;
CB(GUI_GETSCRIPTOBJECT, guiobject_getScriptObject);
CB(GUI_GETROOTWND, guiobject_getRootWnd);
CB(GUI_GETROOTOBJECT, guiobject_getRootObject);
VCB(GUI_SETROOTWND, guiobject_setRootWnd);
CB(GUI_SETXMLPARAM, guiobject_setXmlParam);
CB(GUI_SETXMLPARAMBYID, guiobject_setXmlParamById);
CB(GUI_GETXMLPARAM, guiobject_getXmlParam);
VCB(GUI_SETPARENTGROUP, guiobject_setParentGroup);
CB(GUI_GETPARENTGROUP, guiobject_getParentGroup);
CB(GUI_GETPARENT, guiobject_getParent);
CB(GUI_GETPARENTLAYOUT, guiobject_getParentLayout);
CB(GUI_GETTOPPARENT, guiobject_getTopParent);
VCB(GUI_GETGUIPOSITION, guiobject_getGuiPosition);
VCB(GUI_SETGUIPOSITION, guiobject_setGuiPosition);
CB(GUI_GETANCHORAGEPOSITION, guiobject_getAnchoragePosition);
VCB(GUI_SETANCHORAGEPOSITION, guiobject_setAnchoragePosition);
VCB(GUI_VALIDATEANCHORAGE, guiobject_validateAnchorage);
VCB(GUI_SETID, guiobject_setId);
CB(GUI_GETID, guiobject_getId);
VCB(GUI_SETTARGETX, guiobject_setTargetX);
VCB(GUI_SETTARGETY, guiobject_setTargetY);
VCB(GUI_SETTARGETW, guiobject_setTargetW);
VCB(GUI_SETTARGETH, guiobject_setTargetH);
VCB(GUI_SETTARGETA, guiobject_setTargetA);
VCB(GUI_SETTARGETSPEED, guiobject_setTargetSpeed);
VCB(GUI_GOTOTARGET, guiobject_gotoTarget);
VCB(GUI_CANCELTARGET, guiobject_cancelTarget);
VCB(GUI_REVERSETARGET, guiobject_reverseTarget);
CB(GUI_GETAUTOWIDTH, guiobject_getAutoWidth);
CB(GUI_GETAUTOHEIGHT, guiobject_getAutoHeight);
CB(GUI_MOVINGTOTARGET, guiobject_movingToTarget);
VCB(GUI_BRINGTOFRONT, guiobject_bringToFront);
VCB(GUI_BRINGTOBACK, guiobject_bringToBack);
VCB(GUI_BRINGABOVE, guiobject_bringAbove);
VCB(GUI_BRINGBELOW, guiobject_bringBelow);
VCB(GUI_SETCLICKTHROUGH, guiobject_setClickThrough);
CB(GUI_ISCLICKTHROUGH, guiobject_isClickThrough);
VCB(GUI_SETAUTOSMX, guiobject_setAutoSysMetricsX);
VCB(GUI_SETAUTOSMY, guiobject_setAutoSysMetricsY);
VCB(GUI_SETAUTOSMW, guiobject_setAutoSysMetricsW);
VCB(GUI_SETAUTOSMH, guiobject_setAutoSysMetricsH);
CB(GUI_GETAUTOSMX, guiobject_getAutoSysMetricsX);
CB(GUI_GETAUTOSMY, guiobject_getAutoSysMetricsY);
CB(GUI_GETAUTOSMW, guiobject_getAutoSysMetricsW);
CB(GUI_GETAUTOSMH, guiobject_getAutoSysMetricsH);
VCB(GUI_ONLEFTBUTTONDOWN, guiobject_onLeftButtonDown);
VCB(GUI_ONLEFTBUTTONUP, guiobject_onLeftButtonUp);
VCB(GUI_ONRIGHTBUTTONDOWN, guiobject_onRightButtonDown);
VCB(GUI_ONRIGHTBUTTONUP, guiobject_onRightButtonUp);
VCB(GUI_ONLEFTBUTTONDBLCLK, guiobject_onLeftButtonDblClk);
VCB(GUI_ONRIGHTBUTTONDBLCLK, guiobject_onRightButtonDblClk);
CB(GUI_ONMOUSEWHEELUP, guiobject_onMouseWheelUp);
CB(GUI_ONMOUSEWHEELDOWN, guiobject_onMouseWheelDown);
VCB(GUI_ONMOUSEMOVE, guiobject_onMouseMove);
VCB(GUI_ONENTERAREA, guiobject_onEnterArea);
VCB(GUI_ONLEAVEAREA, guiobject_onLeaveArea);
VCB(GUI_ONENABLE, guiobject_onEnable);
VCB(GUI_SETENABLED, guiobject_setEnabled);
VCB(GUI_ONRESIZE, guiobject_onResize);
VCB(GUI_ONSETVISIBLE, guiobject_onSetVisible);
VCB(GUI_ONTARGETREACHED, guiobject_onTargetReached);
VCB(GUI_SETALPHA, guiobject_setAlpha);
CB(GUI_GETALPHA, guiobject_getAlpha);
VCB(GUI_ONSTARTUP, guiobject_onStartup);
CB(GUI_GETXUISVC, guiobject_getXuiService);
VCB(GUI_SETXUISVC, guiobject_setXuiService);
CB(GUI_GETXUIFAC, guiobject_getXuiServiceFactory);
VCB(GUI_SETXUIFAC, guiobject_setXuiServiceFactory);
VCB(GUI_SETREGIONOP, guiobject_setRegionOp);
CB(GUI_GETREGIONOP, guiobject_getRegionOp);
VCB(GUI_SETRECTRGN, guiobject_setRectRgn);
CB(GUI_ISRECTRGN, guiobject_isRectRgn);
VCB(GUI_SETMOVER, guiobject_setMover);
CB(GUI_GETMOVER, guiobject_getMover);
CB(GUI_GETDROPTARGET, guiobject_getDropTarget);
VCB(GUI_ONCANCELCAPTURE, guiobject_onCancelCapture);
CB(GUI_ONACTION, guiobject_onAction);
#ifdef WASABI_COMPILE_CONFIG
CB(GUI_GETCFGITEM, guiobject_getCfgItem);
CB(GUI_GETCFGATTRIB, guiobject_getCfgAttrib);
VCB(GUI_SETCFGATTRIB, guiobject_setCfgAttrib);
VCB(GUI_SETCFGINT, guiobject_setCfgInt);
CB(GUI_GETCFGINT, guiobject_getCfgInt);
CB(GUI_GETCFGFLOAT, guiobject_getCfgFloat);
VCB(GUI_SETCFGFLOAT, guiobject_setCfgFloat);
VCB(GUI_SETCFGSTRING, guiobject_setCfgString);
CB(GUI_GETCFGSTRING, guiobject_getCfgString);
CB(GUI_HASATTRIB, guiobject_hasCfgAttrib);
#endif
VCB(GUI_ONCHAR, guiobject_onChar);
VCB(GUI_ONKEYDOWN, guiobject_onKeyDown);
VCB(GUI_ONKEYUP, guiobject_onKeyUp);
CB(GUI_FINDOBJECT, guiobject_findObject);
CB(GUI_FINDOBJECTBYGUID, guiobject_findObjectByInterface);
CB(GUI_FINDOBJECTBYCB, guiobject_findObjectByCallback);
CB(GUI_FINDOBJECTXY, guiobject_findObjectXY);
VCB(GUI_ONACCELERATOR, guiobject_onAccelerator);
VCB(GUI_ONINIT, guiobject_onInit);
CB(GUI_WANTFOCUS, guiobject_wantFocus);
VCB(GUI_SETNODOUBLECLICK, guiobject_setNoDoubleClick);
VCB(GUI_SETNOLEFTCLICK, guiobject_setNoLeftClick);
VCB(GUI_SETNORIGHTCLICK, guiobject_setNoRightClick);
VCB(GUI_SETNOMOUSEMOVE, guiobject_setNoMouseMove);
VCB(GUI_SETNOCONTEXTMENU, guiobject_setNoContextMenu);
VCB(GUI_SETCURSOR, guiobject_setCursor);
#ifdef WASABI_COMPILE_WNDMGR
CB(GUI_RUNMODAL, guiobject_runModal);
VCB(GUI_ENDMODAL, guiobject_endModal);
VCB(GUI_SETDROPTARGET, guiobject_setDropTarget);
VCB(GUI_SETSTATUSTXT, guiobject_setStatusText);
VCB(GUI_ADDCTXTCMDS, guiobject_addAppCmds);
VCB(GUI_REMCTXTCMDS, guiobject_removeAppCmds);
VCB(GUI_PUSHCOMPLETED, guiobject_pushCompleted);
VCB(GUI_INCCOMPLETED, guiobject_incCompleted);
VCB(GUI_SETCOMPLETED, guiobject_setCompleted);
VCB(GUI_POPCOMPLETED, guiobject_popCompleted);
VCB(GUI_REGISTERSTATUSCB, guiobject_registerStatusCB);
VCB(GUI_POPPARENTLAYOUT, guiobject_popParentLayout);
#endif
VCB(GUI_SETAPPBAR, guiobject_setAppBar);
CB(GUI_GETAPPBAR, guiobject_getAppBar);
CB(GUI_WANTTRANSLATION, guiobject_wantTranslation);
CB(GUI_DRAGENTER, guiobject_dragEnter);
CB(GUI_DRAGOVER, guiobject_dragOver);
CB(GUI_DRAGLEAVE, guiobject_dragLeave);
END_DISPATCH;