/* ==================== pgpanel_shape.h ==================== version 0.0.0 ==================== A PG_Panel sub-module. Displays a shape with some statisitcs. CHANGELOG: ---------------------- 0.0.0 - TO-DO & EXPANSION LIST ---------------------- =============================================================== */ #ifndef PG_PANEL_SHAPE_H #define PG_PANEL_SHAPE_H #include "paragui.h" #include "pgeventobject.h" #include "pgwidget.h" #include "pglabel.h" //#include "../pgmaptile.h" //#include "../../core/pointerhub.h" //#include "../../pods/pod.h" #include "../../shapes/shape.h" /** */ class PG_Panel_Shape: public PG_Widget, public PG_EventObject, public PointerHub { public: PG_Panel_Shape(Shape* s); virtual ~PG_Panel_Shape(); //** Gives the widget the x,y coords of the map tile it represents. Redraws widget*/ //void Refresh(int x, int y); private: PG_MapTile* tile; // selected tile PG_Label* roadq_lab; // road quality PG_Label* roadq_out; // road quality output PG_Label* pod_lab; // name of pod if occupied PG_Label* cur_misn_lab; // current mission if tile is occupied and on our side static int last_x; // coords to the last tile we drew static int last_y; }; #endif