1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
struct statusBar {
char * text;
statusBar * next;
};
struct statusStuff {
statusBar * firstStatusBar;
unsigned short alignStatus;
int litStatus;
int statusX, statusY;
int statusR, statusG, statusB;
int statusLR, statusLG, statusLB;
};
void initStatusBar ();
void setStatusBar (char * txt);
void clearStatusBar ();
void addStatusBar ();
void killLastStatus ();
void statusBarColour (unsigned char r, unsigned char g, unsigned char b);
void statusBarLitColour (unsigned char r, unsigned char g, unsigned char b);
void setLitStatus (int i);
const char * statusBarText ();
void positionStatus (int, int);
void drawStatusBar ();
// Load and save
bool loadStatusBars (FILE * fp);
void saveStatusBars (FILE * fp);
// For freezing
void restoreBarStuff (statusStuff * here);
statusStuff * copyStatusBarStuff (statusStuff * here);
|