1
0

api_wnd.cpp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #include "precomp.h"
  2. #include "api_wnd.h"
  3. #define CBCLASS wnd_apiI
  4. START_DISPATCH;
  5. VCB(API_WND_SETROOTWND, main_setRootWnd);
  6. CB(API_WND_GETROOTWND, main_getRootWnd);
  7. CB(API_WND_GETMODALWND, getModalWnd);
  8. VCB(API_WND_PUSHMODALWND, popModalWnd);
  9. VCB(API_WND_POPMODALWND, popModalWnd);
  10. CB(API_WND_ROOTWNDFROMPOINT, rootWndFromPoint);
  11. VCB(API_WND_REGISTERROOTWND, registerRootWnd);
  12. VCB(API_WND_UNREGISTERROOTWND, unregisterRootWnd);
  13. CB(API_WND_ROOTWNDISVALID, rootwndIsValid);
  14. CB(API_WND_INTERCEPTONCHAR, interceptOnChar);
  15. CB(API_WND_INTERCEPTONKEYDOWN, interceptOnKeyDown);
  16. CB(API_WND_INTERCEPTONKEYUP, interceptOnKeyUp);
  17. CB(API_WND_INTERCEPTONSYSKEYDOWN, interceptOnSysKeyDown);
  18. CB(API_WND_INTERCEPTONSYSKEYUP, interceptOnSysKeyUp);
  19. VCB(API_WND_HOOKKEYBOARD, hookKeyboard);
  20. VCB(API_WND_UNHOOKKEYBOARD, unhookKeyboard);
  21. VCB(API_WND_KBDRESET, kbdReset);
  22. CB(API_WND_FORWARDONCHAR, forwardOnChar);
  23. CB(API_WND_FORWARDONKEYDOWN, forwardOnKeyDown);
  24. CB(API_WND_FORWARDONKEYUP, forwardOnKeyUp);
  25. CB(API_WND_FORWARDONSYSKEYDOWN, forwardOnSysKeyDown);
  26. CB(API_WND_FORWARDONSYSKEYUP, forwardOnSysKeyUp);
  27. CB(API_WND_FORWARDONKILLFOCUS, forwardOnKillFocus);
  28. CB(API_WND_POPUPEXIT_CHECK, popupexit_check);
  29. VCB(API_WND_POPUPEXIT_SIGNAL, popupexit_signal);
  30. VCB(API_WND_POPUPEXIT_REGISTER, popupexit_register);
  31. VCB(API_WND_POPUPEXIT_DEREGISTER, popupexit_deregister);
  32. VCB(API_WND_RENDERBASETEXTURE, skin_renderBaseTexture);
  33. VCB(API_WND_REGISTERBASETEXTUREWINDOW, skin_registerBaseTextureWindow);
  34. VCB(API_WND_UNREGISTERBASETEXTUREWINDOW, skin_unregisterBaseTextureWindow);
  35. VCB(API_WND_APPDEACTIVATION_PUSH_DISALLOW, appdeactivation_push_disallow);
  36. VCB(API_WND_APPDEACTIVATION_POP_DISALLOW, appdeactivation_pop_disallow);
  37. CB(API_WND_APPDEACTIVATION_ISALLOWED, appdeactivation_isallowed);
  38. VCB(API_WND_APPDEACTIVATION_SETBYPASS, appdeactivation_setbypass);
  39. CB(API_WND_FORWARDONMOUSEWHEEL, forwardOnMouseWheel);
  40. #ifdef WASABI_COMPILE_PAINTSETS
  41. CB(API_WND_PAINTSET_PRESENT, paintset_present );
  42. #ifdef WASABI_COMPILE_IMGLDR
  43. VCB(API_WND_PAINTSET_RENDER, paintset_render);
  44. #ifdef WASABI_COMPILE_FONTS
  45. VCB(API_WND_PAINTSET_RENDERTITLE, paintset_renderTitle);
  46. #endif // fonts
  47. #endif // imgldr
  48. #endif // paintsets
  49. // fg> this may need to go away eventually but i need it _right now_
  50. VCB(API_WND_SETDEFAULTDROPTARGET, setDefaultDropTarget);
  51. CB(API_WND_GETDEFAULTDROPTARGET, getDefaultDropTarget);
  52. CB(API_WND_PUSHKBDLOCK, pushKeyboardLock);
  53. CB(API_WND_POPKBDLOCK, popKeyboardLock);
  54. CB(API_WND_ISKBDLOCKED, isKeyboardLocked);
  55. CB(API_WND_ROOTWNDFROMOSHANDLE, rootWndFromOSHandle);
  56. END_DISPATCH;