summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/en/history.html2
-rw-r--r--html/examples/iup_dbuffer.wlua3
2 files changed, 4 insertions, 1 deletions
diff --git a/html/en/history.html b/html/en/history.html
index 2eadf72..6aac73c 100644
--- a/html/en/history.html
+++ b/html/en/history.html
@@ -32,6 +32,8 @@
initialization. Pattern orientation was upside down.</li>
<li><span style="color: #FF0000">Fixed:</span> alpha transparency in <strong>
CanvasArc</strong> and Bezier polygon in the IMAGERGB driver.</li>
+ <li><span style="color: #FF0000">Fixed:</span> missed implementation for
+ CD_DEBUG, CD_PICTURE and CD_DBUFFERRGB in Lua.</li>
</ul>
<h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.3/">Version 5.3</a> (26/Jan/2010)</h3>
<ul>
diff --git a/html/examples/iup_dbuffer.wlua b/html/examples/iup_dbuffer.wlua
index 3f33746..dffccfd 100644
--- a/html/examples/iup_dbuffer.wlua
+++ b/html/examples/iup_dbuffer.wlua
@@ -14,7 +14,8 @@ dlg = iup.dialog{box; title="Example IUPLUA/CDLUA"}
function cnv:map_cb()
local canvas = cd.CreateCanvas(cd.IUP, self)
- local dbuffer = cdCreateCanvas(cd.DBUFFER, canvas);
+ local dbuffer = cd.CreateCanvas(cd.DBUFFERRGB, canvas);
+-- local dbuffer = cd.CreateCanvas(cd.DBUFFER, canvas);
self.canvas = canvas -- store the CD canvas in a IUP attribute
self.dbuffer = dbuffer
end