|
|
1.1 root 1: /*
2: Hatari - statusbar.h
3:
1.1.1.3 ! root 4: This file is distributed under the GNU General Public License, version 2
! 5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 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:
1.1.1.3 ! root 19: typedef enum {
! 20: LED_STATE_OFF,
! 21: LED_STATE_ON,
! 22: LED_STATE_ON_BUSY,
! 23: MAX_LED_STATE
! 24: } drive_led_t;
! 25:
! 26:
1.1 root 27: extern int Statusbar_SetHeight(int ScreenWidth, int ScreenHeight);
1.1.1.2 root 28: extern int Statusbar_GetHeightForSize(int width, int height);
1.1 root 29: extern int Statusbar_GetHeight(void);
1.1.1.3 ! root 30: extern void Statusbar_EnableHDLed(drive_led_t state);
! 31: extern void Statusbar_SetFloppyLed(drive_index_t drive, drive_led_t state);
1.1 root 32:
33: extern void Statusbar_Init(SDL_Surface *screen);
34: extern void Statusbar_UpdateInfo(void);
35: extern void Statusbar_AddMessage(const char *msg, Uint32 msecs);
36: extern void Statusbar_OverlayBackup(SDL_Surface *screen);
37: extern void Statusbar_Update(SDL_Surface *screen);
38: extern void Statusbar_OverlayRestore(SDL_Surface *screen);
39:
40: #endif /* HATARI_STATUSBAR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.