1
0

api_skin.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #include <precomp.h>
  2. #include "api_skin.h"
  3. #ifdef CBCLASS
  4. #undef CBCLASS
  5. #endif
  6. #define CBCLASS api_skinI
  7. START_DISPATCH;
  8. CB(API_SKIN_SKIN_GETCOLORELEMENT, skin_getColorElement);
  9. CB(API_SKIN_SKIN_GETCOLORELEMENTREF, skin_getColorElementRef);
  10. CB(API_SKIN_SKIN_GETITERATOR, skin_getIterator);
  11. VCB(API_SKIN_SKIN_SWITCHSKIN, skin_switchSkin);
  12. VCB(API_SKIN_SKIN_UNLOADSKIN, skin_unloadSkin);
  13. CB(API_SKIN_GETSKINNAME, getSkinName);
  14. CB(API_SKIN_GETSKINPATH, getSkinPath);
  15. CB(API_SKIN_GETSKINSPATH, getSkinsPath);
  16. CB(API_SKIN_GETDEFAULTSKINPATH, getDefaultSkinPath);
  17. CB(API_SKIN_IMGLDR_REQUESTSKINBITMAP, imgldr_requestSkinBitmap);
  18. VCB(API_SKIN_IMGLDR_RELEASESKINBITMAP, imgldr_releaseSkinBitmap);
  19. CB(API_SKIN_FILTERSKINCOLOR, filterSkinColor);
  20. VCB(API_SKIN_REAPPLYSKINFILTERS, reapplySkinFilters);
  21. CB(API_SKIN_COLORTHEME_GETNUMCOLORSETS, colortheme_getNumColorSets);
  22. CB(API_SKIN_COLORTHEME_ENUMCOLORSET, colortheme_enumColorSet);
  23. CB(API_SKIN_COLORTHEME_GETNUMCOLORGROUPS, colortheme_getNumColorGroups);
  24. CB(API_SKIN_COLORTHEME_ENUMCOLORGROUPNAME, colortheme_enumColorGroupName);
  25. CB(API_SKIN_COLORTHEME_ENUMCOLORGROUP, colortheme_enumColorGroup);
  26. CB(API_SKIN_COLORTHEME_GETCOLORGROUP, colortheme_getColorGroup);
  27. VCB(API_SKIN_COLORTHEME_SETCOLORSET, colortheme_setColorSet);
  28. CB(API_SKIN_COLORTHEME_GETCOLORSET, colortheme_getColorSet);
  29. VCB(API_SKIN_COLORTHEME_NEWCOLORSET, colortheme_newColorSet);
  30. VCB(API_SKIN_COLORTHEME_UPDATECOLORSET, colortheme_updateColorSet);
  31. VCB(API_SKIN_COLORTHEME_RENAMESET, colortheme_renameColorSet);
  32. VCB(API_SKIN_COLORTHEME_DELETE, colortheme_deleteColorSet);
  33. CB(API_SKIN_LOADSKINFILE, loadSkinFile);
  34. CB(API_SKIN_LOADGROUPDEFDATA, loadGroupDefData);
  35. VCB(API_SKIN_UNLOADSKINPART, unloadSkinPart);
  36. CB(API_SKIN_GROUP_CREATE, group_create);
  37. #ifdef WASABI_COMPILE_CONFIG
  38. CB(API_SKIN_GROUP_CREATE_CFG, group_create_cfg);
  39. #endif // WASABI_COMPILE_CONFIG
  40. #ifdef WASABI_COMPILE_WNDMGR
  41. CB(API_SKIN_GROUP_CREATE_LAYOUT, group_create_layout);
  42. #endif //WASABI_COMPILE_WNDMGR
  43. CB(API_SKIN_GROUP_DESTROY, group_destroy);
  44. CB(API_SKIN_GROUP_EXISTS, group_exists);
  45. CB(API_SKIN_PARSE, parse);
  46. CB(API_SKIN_XUI_NEW, xui_new);
  47. VCB(API_SKIN_XUI_DELETE, xui_delete);
  48. CB(API_SKIN_CURSOR_REQUEST, cursor_request);
  49. CB(API_SKIN_GETNUMGROUPS, getNumGroupDefs);
  50. CB(API_SKIN_ENUMGROUP, enumGroupDef);
  51. CB(API_SKIN_GROUP_CREATEBYITEM, group_createBySkinItem);
  52. CB(API_SKIN_GETGROUPANCESTOR, getGroupDefAncestor);
  53. CB(API_SKIN_GROUPDEF_GETNUMOBJECTS, groupdef_getNumObjects);
  54. CB(API_SKIN_GROUPDEF_ENUMOBJECT, groupdef_enumObject);
  55. VCB(API_SKIN_SETLOCKUI, skin_setLockUI);
  56. CB(API_SKIN_GETLOCKUI, skin_getLockUI);
  57. CB(API_SKIN_GETVERSION, skin_getVersion);
  58. #ifdef WASABI_COMPILE_IMGLDR
  59. CB(API_SKIN_GETBITMAPCOLOR, skin_getBitmapColor);
  60. #endif
  61. CB(API_SKIN_ISLOADED, skin_isLoaded);
  62. END_DISPATCH;