-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathMySlider.h
More file actions
24 lines (20 loc) · 769 Bytes
/
MySlider.h
File metadata and controls
24 lines (20 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* MySlider.h
* C700
*
* Created by osoumen on 12/10/02.
* Copyright 2012 __MyCompanyName__. All rights reserved.
*
*/
#pragma once
#include "vstgui.h"
class CMySlider : public CSlider
{
public:
CMySlider(const CRect& size, CControlListener* listener, long tag, long iMinPos, long iMaxPos, CBitmap* handle, CBitmap* background, const CPoint& offset = CPoint (0, 0), const long style = kBottom|kVertical);
CMySlider(const CRect& rect, CControlListener* listener, long tag, const CPoint& offsetHandle, long rangeHandle, CBitmap* handle, CBitmap* background, const CPoint& offset = CPoint (0, 0), const long style = kBottom|kVertical);
virtual ~CMySlider();
CLASS_METHODS(CMySlider, CSlider)
protected:
virtual void draw(CDrawContext* pContext);
};