2 * Copyright 2010, Stephan Aßmus <superstippi@gmx.de>.
3 * Distributed under the terms of the MIT License.
5 #ifndef SYMBOL_BUTTON_H
6 #define SYMBOL_BUTTON_H
10 #include <ControlLook.h>
15 class SymbolButton
: public BButton
{
17 SymbolButton(const char* name
,
19 BMessage
* message
= NULL
,
21 = BControlLook::B_ALL_BORDERS
);
23 virtual ~SymbolButton();
26 virtual void Draw(BRect updateRect
);
27 virtual BSize
MinSize();
28 virtual BSize
MaxSize();
31 void SetSymbol(BShape
* symbolShape
);
39 #endif // SYMBOL_BUTTON_H