mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-28 14:13:24 +00:00
c9fb5690fa
svn-id: r4330
37 lines
694 B
C
37 lines
694 B
C
/* (C) 2001 Vasyl Tsvirkunov */
|
|
|
|
#ifndef SCREEN_H
|
|
#define SCREEN_H
|
|
|
|
#ifndef UBYTE
|
|
#define UBYTE unsigned char
|
|
#endif
|
|
|
|
void SetScreenGeometry(int w, int h);
|
|
void LimitScreenGeometry();
|
|
void RestoreScreenGeometry();
|
|
int GraphicsOn(HWND hWndMain);
|
|
void GraphicsOff();
|
|
void GraphicsSuspend();
|
|
void GraphicsResume();
|
|
|
|
void SetPalEntry(int ent, UBYTE r, UBYTE g, UBYTE b);
|
|
void Blt(UBYTE * scr_ptr);
|
|
|
|
/* meaning: 0 - portrait, 1 - left hand landscape, 2 - right hand landscape */
|
|
void SetScreenMode(int mode);
|
|
int GetScreenMode();
|
|
|
|
void Translate(int* x, int* y);
|
|
|
|
typedef enum ToolbarSelected {
|
|
ToolbarNone,
|
|
ToolbarSaveLoad,
|
|
ToolbarExit,
|
|
ToolbarSkip,
|
|
ToolbarSound
|
|
} ToolbarSelected;
|
|
|
|
|
|
#endif
|