|
|
1.1 ! root 1: /* ! 2: Hatari - statusbar.h ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: */ ! 7: #ifndef HATARI_STATUSBAR_H ! 8: #define HATARI_STATUSBAR_H ! 9: ! 10: #include <SDL.h> ! 11: #include "main.h" ! 12: ! 13: typedef enum { ! 14: DRIVE_LED_A, ! 15: DRIVE_LED_B, ! 16: DRIVE_LED_HD ! 17: } drive_index_t; ! 18: ! 19: extern int Statusbar_SetHeight(int ScreenWidth, int ScreenHeight); ! 20: extern int Statusbar_GetHeight(void); ! 21: extern void Statusbar_EnableHDLed(void); ! 22: extern void Statusbar_SetFloppyLed(drive_index_t drive, bool state); ! 23: ! 24: extern void Statusbar_Init(SDL_Surface *screen); ! 25: extern void Statusbar_UpdateInfo(void); ! 26: extern void Statusbar_AddMessage(const char *msg, Uint32 msecs); ! 27: extern void Statusbar_OverlayBackup(SDL_Surface *screen); ! 28: extern void Statusbar_Update(SDL_Surface *screen); ! 29: extern void Statusbar_OverlayRestore(SDL_Surface *screen); ! 30: ! 31: #endif /* HATARI_STATUSBAR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.