From 87babe720a5dbdd448ec0d791d36a13fa3bea96f Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Mon, 20 Apr 2015 17:13:38 +0200 Subject: docs: document LUA color format and screen origin Signed-off-by: Luca Bruno --- docs/luaengine.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/luaengine.md') 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: ``` -- cgit v1.2.3-70-g09d2