wa2buckitems.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #ifndef __WA2BUCKETITEMS_H
  2. #define __WA2BUCKETITEMS_H
  3. #include <api/wnd/bucketitem.h>
  4. #define WA2BUCKETITEM_PARENT Wa2BucketItem
  5. //-------------------------------------------------------------------------------------------
  6. class Wa2BucketItem : public BucketItemT<ButtonWnd> {
  7. public:
  8. Wa2BucketItem(GUID g=INVALID_GUID, const wchar_t *text=NULL);
  9. virtual ~Wa2BucketItem();
  10. };
  11. //-------------------------------------------------------------------------------------------
  12. class PlBucketItem : public Wa2BucketItem {
  13. public:
  14. PlBucketItem();
  15. virtual ~PlBucketItem();
  16. void onLeftPush(int x, int y);
  17. };
  18. //-------------------------------------------------------------------------------------------
  19. class EmbedBucketItem : public Wa2BucketItem {
  20. public:
  21. EmbedBucketItem();
  22. virtual ~EmbedBucketItem();
  23. void onLeftPush(int x, int y);
  24. };
  25. #ifdef MINIBROWSER_SUPPORT
  26. //-------------------------------------------------------------------------------------------
  27. class MbBucketItem : public Wa2BucketItem {
  28. public:
  29. MbBucketItem();
  30. virtual ~MbBucketItem();
  31. void onLeftPush(int x, int y);
  32. };
  33. #endif
  34. //-------------------------------------------------------------------------------------------
  35. class VidBucketItem : public Wa2BucketItem {
  36. public:
  37. VidBucketItem();
  38. virtual ~VidBucketItem();
  39. void onLeftPush(int x, int y);
  40. };
  41. //-------------------------------------------------------------------------------------------
  42. class VisBucketItem : public Wa2BucketItem {
  43. public:
  44. VisBucketItem();
  45. virtual ~VisBucketItem();
  46. void onLeftPush(int x, int y);
  47. };
  48. //-------------------------------------------------------------------------------------------
  49. class MlBucketItem : public Wa2BucketItem {
  50. public:
  51. MlBucketItem();
  52. virtual ~MlBucketItem();
  53. void onLeftPush(int x, int y);
  54. };
  55. #endif