source: abuse/tags/pd/macabuse/inc/netstat.hpp

Last change on this file was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
File size: 672 bytes
Line 
1#ifndef NETSTAT
2#define NETSTAT
3
4
5#include "status.hpp"
6#include "palette.hpp"
7class net_status_node;
8
9class net_status_manager : public status_manager
10{
11  int last_update,xp,yp;
12  palette *old_pal;
13  net_status_node *first;
14  int level,last_level,last_percent,first_percent;
15  char *g_file;
16
17  int first_x1,first_y1,
18    first_x2,first_y2,
19    second_x1,second_y1,
20    second_x2,second_y2,
21    color1,
22    color2;
23
24public :
25
26  net_status_manager(char *graphic_file,
27      int x1, int y1,
28      int x2, int y2,
29      int color1, int color2);
30
31  virtual void push(char *name, visual_object *show);
32  virtual void update(int percentage);
33  virtual void pop();
34} ;
35
36#endif
37
Note: See TracBrowser for help on using the repository browser.