00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __CAUGuiPoof__
00012 #define __CAUGuiPoof__
00013
00014 #include "CAUGuiButton.h"
00015
00016
00017
00018 class PoofButton : public CAUGuiButton
00019 {
00020 public:
00021 PoofButton ( CAUGuiMan*, CAAUParameter &, eRect*, CAUGuiGraphic*, CAUGuiGraphic*, CAUGuiBottonMode, CAUGuiGraphic* poof );
00022
00023 virtual ~PoofButton ();
00024
00025 virtual void mouseDown(Point *P, bool, bool);
00026 virtual void mouseUp(Point *P, bool, bool);
00027 void idle();
00028
00029
00030 private:
00031
00032 CAUGuiGraphic* thePoof;
00033 WindowRef poofWindow;
00034 SInt32 frame;
00035 CGRect box;
00036 Point poofPoint;
00037 };
00038
00039 #endif