|
|
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 {
1.1.1.3 ! root 14: DEVICE_LED_ENET,
! 15: DEVICE_LED_OD,
! 16: DEVICE_LED_SCSI,
! 17: DEVICE_LED_FD,
! 18: NUM_DEVICE_LEDS
1.1 root 19: } drive_index_t;
20:
21: extern int Statusbar_SetHeight(int ScreenWidth, int ScreenHeight);
22: extern int Statusbar_GetHeightForSize(int width, int height);
23: extern int Statusbar_GetHeight(void);
1.1.1.3 ! root 24: extern void Statusbar_BlinkLed(drive_index_t drive);
! 25: extern void Statusbar_SetSystemLed(bool state);
! 26: extern void Statusbar_SetDspLed(bool state);
! 27: extern void Statusbar_SetNdLed(int state);
1.1 root 28:
29: extern void Statusbar_Init(SDL_Surface *screen);
30: extern void Statusbar_UpdateInfo(void);
31: extern void Statusbar_AddMessage(const char *msg, Uint32 msecs);
32: extern void Statusbar_OverlayBackup(SDL_Surface *screen);
33: extern void Statusbar_Update(SDL_Surface *screen);
34: extern 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.