1/* 2 * Copyright (c) 2006-2007, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Author: 6 * DarkWyrm <bpmagic@columbus.rr.com> 7 */ 8#ifndef _DOUBLESHOT_DRAW_BUTTON_H 9#define _DOUBLESHOT_DRAW_BUTTON_H 10 11#include <Looper.h> 12#include <Application.h> 13#include <Window.h> 14#include <Button.h> 15#include <Bitmap.h> 16#include <Rect.h> 17#include "DrawButton.h" 18 19class DoubleShotDrawButton : public DrawButton 20{ 21public: 22 DoubleShotDrawButton(BRect frame, const char *name, BBitmap *up, 23 BBitmap *down,BMessage *msg, int32 resize, 24 int32 flags); 25 26 void MouseDown(BPoint point); 27}; 28 29#endif 30