summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Luca Bruno <lucab@debian.org>2015-04-20 17:13:38 +0200
committer Luca Bruno <lucab@debian.org>2015-04-21 21:49:42 +0200
commit87babe720a5dbdd448ec0d791d36a13fa3bea96f (patch)
tree0a76befadfb8a8b0b354c54c12eb54dfe5ed4764
parenta70514fc32a89cfeca9226891a04063cb74790f4 (diff)
docs: document LUA color format and screen origin
Signed-off-by: Luca Bruno <lucab@debian.org>
-rw-r--r--docs/luaengine.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/luaengine.md b/docs/luaengine.md
index c2f2b961492..a17cefcdb80 100644
--- a/docs/luaengine.md
+++ b/docs/luaengine.md
@@ -112,6 +112,9 @@ your hook to be called on every frame repaint:
> emu.sethook(draw_hud, "frame")
```
+All colors are expected in ARGB format (32b unsigned), while screen origin (0,0)
+normally corresponds to the top-left corner.
+
Similarly to screens, you can inspect all the devices attached to a
machine:
```