diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-24 18:19:00 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-24 18:19:00 +0000 |
commit | 6a86fc4668ce7e213330bb78aff45c578e159f54 (patch) | |
tree | 360d7295ff108f6408ab740ff297fb99468faa08 /src/gfx.h | |
parent | 33dfea1c74749124379ef8052f0689577ebe68ff (diff) |
devel snapshot
Diffstat (limited to 'src/gfx.h')
-rw-r--r-- | src/gfx.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -92,11 +92,27 @@ SDL_Event *GFXGetKey(void); SDL_Event *GFXWaitKey(void); +/* Lock the screen for updates +*/ +void GFXLock(void); + + +/* Unlock the screen following updates +*/ +void GFXUnlock(void); + + /* Note that no bound checking (except for GFXPrint()) is done - it is the callers responsibility to plot onscreen. */ +/* Plot a point without locking. GFXLock() and GFXUnlock() MUST surround + calls to this +*/ +void GFXFastPlot(int x, int y, Uint32 col); + + /* Plot a point */ void GFXPlot(int x, int y, Uint32 col); |