Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: resources/test.lua

Issue 649013002: allow for lua click handlers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « resources/slides.lua ('k') | samplecode/SampleLua.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resources/test.lua
diff --git a/resources/test.lua b/resources/test.lua
index 84d3517ae60d9cbfc0bf387c70aeece3f079efef..1029db41ed1d5006f7b10d787b363b76e914d73e 100644
--- a/resources/test.lua
+++ b/resources/test.lua
@@ -69,6 +69,8 @@ function onDrawContent(canvas)
r2.bottom = r2.top + image:height() * 1;
canvas:drawImageRect(image, nil, r2, 0.75);
if x > 200 then x = 0 end;
+
+ return true -- so we can animate
end
onStartup()
« no previous file with comments | « resources/slides.lua ('k') | samplecode/SampleLua.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698