2 * Copyright 2005, Jérôme Duval. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Reworked from DarkWyrm version in CDPlayer
14 class DrawButton
: public BControl
17 DrawButton(BRect frame
, const char *name
, const unsigned char *on
,
18 const unsigned char *off
, BMessage
*msg
, int32 resize
= 0,
22 void Draw(BRect update
);
23 void AttachedToWindow();
24 void MouseUp(BPoint pt
);
25 bool ButtonState() { return fButtonState
; };