From 57a3540010861f78bb86d493f084a2f4dd52169c Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 28 Dec 2009 23:57:18 +0100 Subject: Tweaking a bit the framebuffer, in order to properly use the double buffer. --- dalos-framebuffer.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dalos-framebuffer.lua') diff --git a/dalos-framebuffer.lua b/dalos-framebuffer.lua index ab3e593..b3b3706 100644 --- a/dalos-framebuffer.lua +++ b/dalos-framebuffer.lua @@ -1,3 +1,5 @@ +load "iupe-dbuffer.lua" + dalosp.framebuffer = { get_settings = function (self) return { } @@ -35,7 +37,9 @@ dalosp.framebuffer = { local fb = iup.canvas { expand = "Yes", - font = "Courier, 8" + font = "Courier, 8", + action = iupep.dbuffer.action, + draw = dalos.framebuffer.draw, } local dlg = iup.dialog { fb, -- cgit v1.2.3