aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ff/wa2buckitems.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/General/gen_ff/wa2buckitems.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/Plugins/General/gen_ff/wa2buckitems.h')
-rw-r--r--Src/Plugins/General/gen_ff/wa2buckitems.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/Src/Plugins/General/gen_ff/wa2buckitems.h b/Src/Plugins/General/gen_ff/wa2buckitems.h
new file mode 100644
index 00000000..2238aa49
--- /dev/null
+++ b/Src/Plugins/General/gen_ff/wa2buckitems.h
@@ -0,0 +1,70 @@
+#ifndef __WA2BUCKETITEMS_H
+#define __WA2BUCKETITEMS_H
+
+#include <api/wnd/bucketitem.h>
+
+#define WA2BUCKETITEM_PARENT Wa2BucketItem
+
+//-------------------------------------------------------------------------------------------
+class Wa2BucketItem : public BucketItemT<ButtonWnd> {
+ public:
+ Wa2BucketItem(GUID g=INVALID_GUID, const wchar_t *text=NULL);
+ virtual ~Wa2BucketItem();
+};
+
+//-------------------------------------------------------------------------------------------
+class PlBucketItem : public Wa2BucketItem {
+ public:
+ PlBucketItem();
+ virtual ~PlBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+//-------------------------------------------------------------------------------------------
+class EmbedBucketItem : public Wa2BucketItem {
+ public:
+ EmbedBucketItem();
+ virtual ~EmbedBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+#ifdef MINIBROWSER_SUPPORT
+
+//-------------------------------------------------------------------------------------------
+class MbBucketItem : public Wa2BucketItem {
+ public:
+ MbBucketItem();
+ virtual ~MbBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+#endif
+
+//-------------------------------------------------------------------------------------------
+class VidBucketItem : public Wa2BucketItem {
+ public:
+ VidBucketItem();
+ virtual ~VidBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+//-------------------------------------------------------------------------------------------
+class VisBucketItem : public Wa2BucketItem {
+ public:
+ VisBucketItem();
+ virtual ~VisBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+//-------------------------------------------------------------------------------------------
+class MlBucketItem : public Wa2BucketItem {
+ public:
+ MlBucketItem();
+ virtual ~MlBucketItem();
+ void onLeftPush(int x, int y);
+};
+
+
+
+
+#endif \ No newline at end of file