File:  [Previous NeXT emulator] / previous_trunk / src / includes / statusbar.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 19:24:50 2018 UTC (8 years, 3 months ago) by root
Branches: giles, MAIN
CVS tags: trunk, HEAD
Previous NeXT emulator

/*
  Hatari - statusbar.h
  
  This file is distributed under the GNU Public License, version 2 or at
  your option any later version. Read the file gpl.txt for details.
*/
#ifndef HATARI_STATUSBAR_H
#define HATARI_STATUSBAR_H

#include <SDL.h>
#include "main.h"

typedef enum {
	DEVICE_LED_ENET,
	DEVICE_LED_OD,
	DEVICE_LED_SCSI,
    DEVICE_LED_FD,
    NUM_DEVICE_LEDS
} drive_index_t;

int Statusbar_SetHeight(int ScreenWidth, int ScreenHeight);
int Statusbar_GetHeightForSize(int width, int height);
int Statusbar_GetHeight(void);
void Statusbar_BlinkLed(drive_index_t drive);
void Statusbar_SetSystemLed(bool state);
void Statusbar_SetDspLed(bool state);
void Statusbar_SetNdLed(int state);

void Statusbar_Init(SDL_Surface *screen);
void Statusbar_UpdateInfo(void);
void Statusbar_AddMessage(const char *msg, Uint32 msecs);
void Statusbar_OverlayBackup(SDL_Surface *screen);
void Statusbar_Update(SDL_Surface *screen);
void Statusbar_OverlayRestore(SDL_Surface *screen);

#endif /* HATARI_STATUSBAR_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.