diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-11-09 19:24:02 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-11-09 19:24:02 +1300 |
commit | 50d362b0a8f4aee69b20c78c41b3bda6b06a5359 (patch) | |
tree | 2e359607d2a63f6120f7b643c83b5c2edcc1a89b /project/templates | |
parent | 6580116a3eebcb8ab6463d96e397b99690e31af0 (diff) |
Bugfix update to FLTK Ada article
Diffstat (limited to 'project/templates')
-rw-r--r-- | project/templates/fltkada.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/project/templates/fltkada.html b/project/templates/fltkada.html index f7f88a6..a1c8bf4 100644 --- a/project/templates/fltkada.html +++ b/project/templates/fltkada.html @@ -15,6 +15,23 @@ Estimated status: 80% complete</p> +<h5>9/11/2021</h5> + +<p>A few noteworthy bugfixes have been applied to the binding.</p> + +<p>First, unbeknownst to me the Fl_Widget constructor doesn't copy the given label string inside +FLTK and merely stores a pointer. This meant that declaring several Widgets in a row each with their +own different label could have unexpected and erratic results. Easily fixed by ensuring the binding +constructor also calls copy_label() afterwards.<p> + +<p>And second, somehow I had made an oversight with the type assigned to Color, using a signed +Integer when it really needed an unsigned modular type with 32 bits of range. Again, easily fixed +but even more annoying since it was my fault to begin with.</p> + +<p>I'm sure the other guy aside from me who takes an interest in this binding will be happy about +these. You know who you are.</p> + + <h5>21/5/2018</h5> <p>This binding is now complete enough for most purposes. It certainly took more effort than |