aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-12 15:13:34 -0700
committerGravatar Tom Willemse2023-07-12 15:13:34 -0700
commit27cbc844dee8f9f9b8a0a175f7ebf005cb205046 (patch)
tree5508b57cd1a5f89d9823a3d67696a4d5ad1b4bd7
parent05d734c9038cb25a2fad8438a4b9b7d501e3daad (diff)
downloadguile-inkplate-27cbc844dee8f9f9b8a0a175f7ebf005cb205046.tar.gz
guile-inkplate-27cbc844dee8f9f9b8a0a175f7ebf005cb205046.zip
Send a partial update in the date example
From what I've read it's not good to always do full updates, so for examples and testing I figure that doing a partial update of the whole screen is also good.
-rw-r--r--examples/date.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/date.scm b/examples/date.scm
index 42524fb..b135065 100644
--- a/examples/date.scm
+++ b/examples/date.scm
@@ -16,7 +16,7 @@
(inkplate:draw-rectangle my-dev 269 89 252 157 3)
(inkplate:draw-rectangle my-dev 268 88 254 159 3)
- (inkplate:update my-dev)
+ (inkplate:partial-update my-dev 15 800 600)
(inkplate:send my-dev)
(inkplate:close my-dev))