Files Classes Functions Hierarchy
00001 #ifndef BUTTONPANEL02_H 00002 #define BUTTONPANEL02_H 00003 00004 #include <gobj.h> 00005 #include <point.h> 00006 #include <zprmouse.h> 00007 00016 class buttonpanel02 : public gobj 00017 { 00018 public: 00019 00021 point2<double> ratio_center; 00022 00024 double ratio_centerdelta; 00025 00027 double ratio_radius; 00028 00031 void update(); 00032 00033 00035 point2<int> center; 00036 00038 int centerdelta; 00039 00041 double radius; 00042 00044 point3<uint> color[4]; 00045 00047 point2<int> centerpos(uintc i) const; 00048 00050 buttonpanel02(zprmouse* zm_); 00051 00053 zprmouse* zm; 00054 00056 void draw(); 00057 00059 void process 00060 ( 00061 bool & isclicked, 00062 uint& index, 00063 point2<int> const & p 00064 ); 00065 00067 void drawcircle(point2<int> const & c, point3<uint> const & color) const; 00068 00069 }; 00070 00071 #endif 00072
1.5.8