File:  [Previous NeXT emulator] / previous_trunk / src / includes / screen.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 - screen.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_SCREEN_H
#define HATARI_SCREEN_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <SDL_video.h>    /* for SDL_Surface */

#if 1
void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
#endif

extern volatile bool bGrabMouse;
extern volatile bool bInFullScreen;
extern struct SDL_Window *sdlWindow;
extern SDL_Surface *sdlscrn;

void Screen_Init(void);
void Screen_UnInit(void);
void Screen_Pause(bool pause);
void Screen_EnterFullScreen(void);
void Screen_ReturnFromFullScreen(void);
void Screen_ModeChanged(void);
bool Update_StatusBar(void);
void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
void blitDimension(Uint32* vram, SDL_Texture* tex);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif  /* ifndef HATARI_SCREEN_H */

unix.superglobalmegacorp.com

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