git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bunch-a-bugfixes!
[ipdf/code.git]
/
src
/
screen.h
diff --git
a/src/screen.h
b/src/screen.h
index
e641826
..
44dd2c7
100644
(file)
--- a/
src/screen.h
+++ b/
src/screen.h
@@
-20,6
+20,9
@@
namespace IPDF
// Returns 'false' if the program should quit.
bool PumpEvents();
// Returns 'false' if the program should quit.
bool PumpEvents();
+ // Clears the screen to a given colour.
+ void Clear(float r=1.0, float g=1.0, float b=1.0, float a=1.0);
+
// Finishes rendering a frame, and presents it on the screen.
void Present();
// Finishes rendering a frame, and presents it on the screen.
void Present();
UCC
git Repository :: git.ucc.asn.au