Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
MiningGraph Class Reference
Inheritance diagram for MiningGraph:
Inheritance graph

Public Member Functions

 MiningGraph (PG_Widget *parent, const PG_Rect &rect, ContainerBase *container)
- Public Member Functions inherited from GraphWidget
 GraphWidget (PG_Widget *parent, const PG_Rect &rect)
void setRange (int x, int y)
int addCurve (int color)
int addBar (int pos, int color)
void addVerticalLine (int x, int color)
void clearVerticalLines ()
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Protected Member Functions

int getBarHeight (int bar)
- Protected Member Functions inherited from GraphWidget
virtual int getPoint (int curve, int x)
virtual void click (int x, int button)
bool eventMouseMotion (const SDL_MouseMotionEvent *motion)
bool eventMouseButtonDown (const SDL_MouseButtonEvent *button)
int mapColor (int col)

Additional Inherited Members

- Protected Attributes inherited from GraphWidget
int xrange
int yrange

Detailed Description

Definition at line 1595 of file cargodialog.cpp.

Constructor & Destructor Documentation

MiningGraph::MiningGraph ( PG_Widget *  parent,
const PG_Rect &  rect,
ContainerBase container 

Member Function Documentation

int MiningGraph::getBarHeight ( int  bar)

The documentation for this class was generated from the following file: