Changes in Dw
Related to the FLTK port, there have been many changes, this is a (hopefully complete) list:
The underlying platform (e.g. the UI toolkit) is fully abstract, there are several platform independent structures replacing GTK+ structures, e.g. dw::core::Event.
The central class managing the widget tree is not anymore GtkDwViewport, but dw::core::Layout.
- The distinction between viewport coordinates and canvas coordinates (formerly world coordinates) has been mostly removed. (Only for views, it sometimes plays a role, see Layout and Views).
World coordinates are now called canvas coordinates.
There is no base class for container widgets anymore. The former DwContainer::for_all has been removed, instead this functionality is now done via iterators (dw::core::Widget::iterator, dw::core::Iterator).
dw::Table has been rewritten.
Instead of border_spacing in the old DwStyle, there are two attributes, dw::core::style::Style::hBorderSpacing and dw::core::style::Style::vBorderSpacing, since CSS allowes to specify two values. Without CSS, both attributes should have the same value.
Images are handled differently, see Images and Backgrounds in Dw.
Embedded UI widgets (formerly GtkWidget’s) are handled differently, see dw::core::ui.
- DwButton has been removed, instead, embedded UI widgets are used. See dw::core::ui and dw::core::ui::ComplexButtonResource.
Dw is now written C++, the transition should be obvious. All “Dw” prefixes have been removed, instead, namespaces are used now:
- dw::core contains the core,
- dw::core::style styles,
- dw::core::ui embedded UI resources,
- dw::fltk classes related to FLTK, and
- dw the widgets.
The old documentation has been moved to:
|Dw.txt||general part||Dillo Widget Overview, Dillo Widget Usage, Layout and Widgets, Sizes of Dillo Widgets|
|remarks on specific widgets||respective source files: dw::Bullet, dw::core::ui::Embed|
|rest||dw::Image, Images and Backgrounds in Dw|
|Imgbuf.txt||dw::core::Imgbuf, Images and Backgrounds in Dw|
|DwRender.txt||Dillo Widget Overview, Layout and Views, dw::core::ui|
|DwWidget.txt||dw::core::Widget, Layout and Widgets, Sizes of Dillo Widgets|
Generated on Sat May 28 2016 11:47:43 for Dillo by 1.8.8