aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ff/wa2buckitems.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/General/gen_ff/wa2buckitems.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
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