projects
/
ccbs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs]
/
bigscreen
/
ccbs_bigscreen.cpp
diff --git
a/bigscreen/ccbs_bigscreen.cpp
b/bigscreen/ccbs_bigscreen.cpp
index
b183ddd
..
dcf8a78
100644
(file)
--- a/
bigscreen/ccbs_bigscreen.cpp
+++ b/
bigscreen/ccbs_bigscreen.cpp
@@
-116,7
+116,7
@@
void main_loop(pqxx::connection &conn)
}
if (mainscreen && mainscreen->check_invalidated()) {
- mainscreen->draw(framebuf);
+ mainscreen->draw(framebuf
, SCREEN_WIDTH, SCREEN_HEIGHT
);
ptc_update(framebuf);
conn.await_notification(0, 10000);
} else {