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
/
main.h
diff --git
a/src/main.h
b/src/main.h
index
6763042
..
9fcc26b
100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-13,8
+13,8
@@
inline void OverlayBMP(Document & doc, const char * input, const char * output,
{
View view(doc, bounds, c);
Screen scr;
- //view.Render();
scr.RenderBMP(input);
+ view.Render();
scr.Present();
sleep(5);
scr.ScreenShot(output);
@@
-57,6
+57,7
@@
inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const
while (scr.PumpEvents())
{
+ scr.Clear();
view.Render();
scr.Present();
}
UCC
git Repository :: git.ucc.asn.au