summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorscuri <scuri>2010-04-23 14:27:10 +0000
committerscuri <scuri>2010-04-23 14:27:10 +0000
commit7baa004d4455a02826aee2aa460ea99030b294da (patch)
tree5ffd6facab10245715297d821cf7f4546c9cd534 /html
parentf97ac4b5898063b8befb17cd2c53394f99efcd21 (diff)
Fixed: missed implementation for CD_DEBUG, CD_PICTURE and CD_DBUFFERRGB in Lua.
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