summaryrefslogtreecommitdiff
path: root/dalos-framebuffer.lua
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-12-28 23:57:18 +0100
committerPixel <pixel@nobis-crew.org>2009-12-28 23:57:18 +0100
commit57a3540010861f78bb86d493f084a2f4dd52169c (patch)
tree48d3a62efcc493d37ee8643289191892013c120e /dalos-framebuffer.lua
parentdec3f7e6c7e5b7ed5ef94b68456bd267ea62143b (diff)
Tweaking a bit the framebuffer, in order to properly use the double buffer.
Diffstat (limited to 'dalos-framebuffer.lua')
-rw-r--r--dalos-framebuffer.lua6
1 files changed, 5 insertions, 1 deletions
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,