aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ml/skinneddivider.h
blob: 7b71d50316e3eaf84b88dfc18305c1c9056c71a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef NULLOSFT_MEDIALIBRARY_SKINNED_DIVIDER_HEADER
#define NULLOSFT_MEDIALIBRARY_SKINNED_DIVIDER_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include "./skinnedwnd.h"


class SkinnedDivider : public SkinnedWnd
{

protected:
	SkinnedDivider(void);
	virtual ~SkinnedDivider(void);

protected:
	virtual BOOL Attach(HWND hwndButton);
	virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc
	virtual BOOL OnMediaLibraryIPC(INT msg, INT_PTR param, LRESULT *pResult);
	void OnPaint(void);

private:
	friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);

protected:
	MLDIVIDERMOVED callback;
	LPARAM userParam;
	int clickoffs;

};

#endif // NULLOSFT_MEDIALIBRARY_SKINNED_BUTTON_HEADER