|
|
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: DEVICE_LED_ENET,
15: DEVICE_LED_OD,
16: DEVICE_LED_SCSI,
17: DEVICE_LED_FD,
18: NUM_DEVICE_LEDS
19: } drive_index_t;
20:
21: int Statusbar_SetHeight(int ScreenWidth, int ScreenHeight);
22: int Statusbar_GetHeightForSize(int width, int height);
23: int Statusbar_GetHeight(void);
24: void Statusbar_BlinkLed(drive_index_t drive);
25: void Statusbar_SetSystemLed(bool state);
26: void Statusbar_SetDspLed(bool state);
27: void Statusbar_SetNdLed(int state);
28:
29: void Statusbar_Init(SDL_Surface *screen);
30: void Statusbar_UpdateInfo(void);
31: void Statusbar_AddMessage(const char *msg, Uint32 msecs);
32: void Statusbar_OverlayBackup(SDL_Surface *screen);
33: void Statusbar_Update(SDL_Surface *screen);
34: void Statusbar_OverlayRestore(SDL_Surface *screen);
35:
36: #endif /* HATARI_STATUSBAR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.