1
0

guiobjectx.cpp 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. #include <precomp.h>
  2. #include "guiobjectx.h"
  3. #define CBCLASS GuiObjectX
  4. START_DISPATCH;
  5. CB(GUI_GETSCRIPTOBJECT, guiobject_getScriptObject);
  6. CB(GUI_GETROOTWND, guiobject_getRootWnd);
  7. CB(GUI_GETROOTOBJECT, guiobject_getRootObject);
  8. VCB(GUI_SETROOTWND, guiobject_setRootWnd);
  9. CB(GUI_SETXMLPARAM, guiobject_setXmlParam);
  10. CB(GUI_SETXMLPARAMBYID, guiobject_setXmlParamById);
  11. CB(GUI_GETXMLPARAM, guiobject_getXmlParam);
  12. VCB(GUI_SETPARENTGROUP, guiobject_setParentGroup);
  13. CB(GUI_GETPARENTGROUP, guiobject_getParentGroup);
  14. CB(GUI_GETPARENT, guiobject_getParent);
  15. CB(GUI_GETPARENTLAYOUT, guiobject_getParentLayout);
  16. CB(GUI_GETTOPPARENT, guiobject_getTopParent);
  17. VCB(GUI_GETGUIPOSITION, guiobject_getGuiPosition);
  18. VCB(GUI_SETGUIPOSITION, guiobject_setGuiPosition);
  19. CB(GUI_GETANCHORAGEPOSITION, guiobject_getAnchoragePosition);
  20. VCB(GUI_SETANCHORAGEPOSITION, guiobject_setAnchoragePosition);
  21. VCB(GUI_VALIDATEANCHORAGE, guiobject_validateAnchorage);
  22. VCB(GUI_SETID, guiobject_setId);
  23. CB(GUI_GETID, guiobject_getId);
  24. VCB(GUI_SETTARGETX, guiobject_setTargetX);
  25. VCB(GUI_SETTARGETY, guiobject_setTargetY);
  26. VCB(GUI_SETTARGETW, guiobject_setTargetW);
  27. VCB(GUI_SETTARGETH, guiobject_setTargetH);
  28. VCB(GUI_SETTARGETA, guiobject_setTargetA);
  29. VCB(GUI_SETTARGETSPEED, guiobject_setTargetSpeed);
  30. VCB(GUI_GOTOTARGET, guiobject_gotoTarget);
  31. VCB(GUI_CANCELTARGET, guiobject_cancelTarget);
  32. VCB(GUI_REVERSETARGET, guiobject_reverseTarget);
  33. CB(GUI_GETAUTOWIDTH, guiobject_getAutoWidth);
  34. CB(GUI_GETAUTOHEIGHT, guiobject_getAutoHeight);
  35. CB(GUI_MOVINGTOTARGET, guiobject_movingToTarget);
  36. VCB(GUI_BRINGTOFRONT, guiobject_bringToFront);
  37. VCB(GUI_BRINGTOBACK, guiobject_bringToBack);
  38. VCB(GUI_BRINGABOVE, guiobject_bringAbove);
  39. VCB(GUI_BRINGBELOW, guiobject_bringBelow);
  40. VCB(GUI_SETCLICKTHROUGH, guiobject_setClickThrough);
  41. CB(GUI_ISCLICKTHROUGH, guiobject_isClickThrough);
  42. VCB(GUI_SETAUTOSMX, guiobject_setAutoSysMetricsX);
  43. VCB(GUI_SETAUTOSMY, guiobject_setAutoSysMetricsY);
  44. VCB(GUI_SETAUTOSMW, guiobject_setAutoSysMetricsW);
  45. VCB(GUI_SETAUTOSMH, guiobject_setAutoSysMetricsH);
  46. CB(GUI_GETAUTOSMX, guiobject_getAutoSysMetricsX);
  47. CB(GUI_GETAUTOSMY, guiobject_getAutoSysMetricsY);
  48. CB(GUI_GETAUTOSMW, guiobject_getAutoSysMetricsW);
  49. CB(GUI_GETAUTOSMH, guiobject_getAutoSysMetricsH);
  50. VCB(GUI_ONLEFTBUTTONDOWN, guiobject_onLeftButtonDown);
  51. VCB(GUI_ONLEFTBUTTONUP, guiobject_onLeftButtonUp);
  52. VCB(GUI_ONRIGHTBUTTONDOWN, guiobject_onRightButtonDown);
  53. VCB(GUI_ONRIGHTBUTTONUP, guiobject_onRightButtonUp);
  54. VCB(GUI_ONLEFTBUTTONDBLCLK, guiobject_onLeftButtonDblClk);
  55. VCB(GUI_ONRIGHTBUTTONDBLCLK, guiobject_onRightButtonDblClk);
  56. CB(GUI_ONMOUSEWHEELUP, guiobject_onMouseWheelUp);
  57. CB(GUI_ONMOUSEWHEELDOWN, guiobject_onMouseWheelDown);
  58. VCB(GUI_ONMOUSEMOVE, guiobject_onMouseMove);
  59. VCB(GUI_ONENTERAREA, guiobject_onEnterArea);
  60. VCB(GUI_ONLEAVEAREA, guiobject_onLeaveArea);
  61. VCB(GUI_ONENABLE, guiobject_onEnable);
  62. VCB(GUI_SETENABLED, guiobject_setEnabled);
  63. VCB(GUI_ONRESIZE, guiobject_onResize);
  64. VCB(GUI_ONSETVISIBLE, guiobject_onSetVisible);
  65. VCB(GUI_ONTARGETREACHED, guiobject_onTargetReached);
  66. VCB(GUI_SETALPHA, guiobject_setAlpha);
  67. CB(GUI_GETALPHA, guiobject_getAlpha);
  68. VCB(GUI_ONSTARTUP, guiobject_onStartup);
  69. CB(GUI_GETXUISVC, guiobject_getXuiService);
  70. VCB(GUI_SETXUISVC, guiobject_setXuiService);
  71. CB(GUI_GETXUIFAC, guiobject_getXuiServiceFactory);
  72. VCB(GUI_SETXUIFAC, guiobject_setXuiServiceFactory);
  73. VCB(GUI_SETREGIONOP, guiobject_setRegionOp);
  74. CB(GUI_GETREGIONOP, guiobject_getRegionOp);
  75. VCB(GUI_SETRECTRGN, guiobject_setRectRgn);
  76. CB(GUI_ISRECTRGN, guiobject_isRectRgn);
  77. VCB(GUI_SETMOVER, guiobject_setMover);
  78. CB(GUI_GETMOVER, guiobject_getMover);
  79. CB(GUI_GETDROPTARGET, guiobject_getDropTarget);
  80. VCB(GUI_ONCANCELCAPTURE, guiobject_onCancelCapture);
  81. CB(GUI_ONACTION, guiobject_onAction);
  82. #ifdef WASABI_COMPILE_CONFIG
  83. CB(GUI_GETCFGITEM, guiobject_getCfgItem);
  84. CB(GUI_GETCFGATTRIB, guiobject_getCfgAttrib);
  85. VCB(GUI_SETCFGATTRIB, guiobject_setCfgAttrib);
  86. VCB(GUI_SETCFGINT, guiobject_setCfgInt);
  87. CB(GUI_GETCFGINT, guiobject_getCfgInt);
  88. CB(GUI_GETCFGFLOAT, guiobject_getCfgFloat);
  89. VCB(GUI_SETCFGFLOAT, guiobject_setCfgFloat);
  90. VCB(GUI_SETCFGSTRING, guiobject_setCfgString);
  91. CB(GUI_GETCFGSTRING, guiobject_getCfgString);
  92. CB(GUI_HASATTRIB, guiobject_hasCfgAttrib);
  93. #endif
  94. VCB(GUI_ONCHAR, guiobject_onChar);
  95. VCB(GUI_ONKEYDOWN, guiobject_onKeyDown);
  96. VCB(GUI_ONKEYUP, guiobject_onKeyUp);
  97. CB(GUI_FINDOBJECT, guiobject_findObject);
  98. CB(GUI_FINDOBJECTBYGUID, guiobject_findObjectByInterface);
  99. CB(GUI_FINDOBJECTBYCB, guiobject_findObjectByCallback);
  100. CB(GUI_FINDOBJECTXY, guiobject_findObjectXY);
  101. VCB(GUI_ONACCELERATOR, guiobject_onAccelerator);
  102. VCB(GUI_ONINIT, guiobject_onInit);
  103. CB(GUI_WANTFOCUS, guiobject_wantFocus);
  104. VCB(GUI_SETNODOUBLECLICK, guiobject_setNoDoubleClick);
  105. VCB(GUI_SETNOLEFTCLICK, guiobject_setNoLeftClick);
  106. VCB(GUI_SETNORIGHTCLICK, guiobject_setNoRightClick);
  107. VCB(GUI_SETNOMOUSEMOVE, guiobject_setNoMouseMove);
  108. VCB(GUI_SETNOCONTEXTMENU, guiobject_setNoContextMenu);
  109. VCB(GUI_SETCURSOR, guiobject_setCursor);
  110. #ifdef WASABI_COMPILE_WNDMGR
  111. CB(GUI_RUNMODAL, guiobject_runModal);
  112. VCB(GUI_ENDMODAL, guiobject_endModal);
  113. VCB(GUI_SETDROPTARGET, guiobject_setDropTarget);
  114. VCB(GUI_SETSTATUSTXT, guiobject_setStatusText);
  115. VCB(GUI_ADDCTXTCMDS, guiobject_addAppCmds);
  116. VCB(GUI_REMCTXTCMDS, guiobject_removeAppCmds);
  117. VCB(GUI_PUSHCOMPLETED, guiobject_pushCompleted);
  118. VCB(GUI_INCCOMPLETED, guiobject_incCompleted);
  119. VCB(GUI_SETCOMPLETED, guiobject_setCompleted);
  120. VCB(GUI_POPCOMPLETED, guiobject_popCompleted);
  121. VCB(GUI_REGISTERSTATUSCB, guiobject_registerStatusCB);
  122. VCB(GUI_POPPARENTLAYOUT, guiobject_popParentLayout);
  123. #endif
  124. VCB(GUI_SETAPPBAR, guiobject_setAppBar);
  125. CB(GUI_GETAPPBAR, guiobject_getAppBar);
  126. CB(GUI_WANTTRANSLATION, guiobject_wantTranslation);
  127. CB(GUI_DRAGENTER, guiobject_dragEnter);
  128. CB(GUI_DRAGOVER, guiobject_dragOver);
  129. CB(GUI_DRAGLEAVE, guiobject_dragLeave);
  130. END_DISPATCH;