From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Library/ml_devices/infoWidget.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Src/Plugins/Library/ml_devices/infoWidget.h (limited to 'Src/Plugins/Library/ml_devices/infoWidget.h') diff --git a/Src/Plugins/Library/ml_devices/infoWidget.h b/Src/Plugins/Library/ml_devices/infoWidget.h new file mode 100644 index 00000000..deb0035c --- /dev/null +++ b/Src/Plugins/Library/ml_devices/infoWidget.h @@ -0,0 +1,27 @@ +#ifndef _NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER +#define _NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include + +#define WIDGET_TYPE_UNKNOWN 0 +#define WIDGET_TYPE_WELCOME 1 +#define WIDGET_TYPE_SERVICE_ERROR 2 +#define WIDGET_TYPE_VIEW_ERROR 3 + +HWND InfoWidget_CreateWindow(unsigned int type, + const wchar_t *title, + const wchar_t *text, + const wchar_t *imagePath, + HWND parentWindow, + int x, + int y, + int width, + int height, + BOOL border, + unsigned int controlId); + +#endif //_NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER \ No newline at end of file -- cgit