Dillo v3.1.1-98-g318d1f14
|
Related to the FLTK port, there have been many changes, this is a (hopefully complete) list:
Rendering abstraction, read Dillo Widget Overview and Layout and Views for details. Some important changes:
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.
Drawing is done via dw::core::View, a pointer is passed to dw::core::Widget::draw.
Cursors have been moved to dw::core::style, see dw::core::style::Style::cursor. dw::core::Widget::setCursor is now protected (and so only called by widget implementations).
World coordinates are now called canvas coordinates.
There is now a distinction between dw::core::style::StyleAttrs and dw::core::style::Style.
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).
DwPage is now called dw::Textblock, and DwAlignedPage dw::AlignedTextblock.
dw::Textblock, all sub classes of it, and dw::Table do not read "limit_text_width" from the preferences, but get it as an argument. (May change again.)
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.
Dw is now written C++, the transition should be obvious. All "Dw" prefixes have been removed, instead, namespaces are used now:
The old documentation has been moved to:
Old | New | |
---|---|---|
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 | |
DwImage.txt | signals | dw::core::Layout::LinkReceiver |
rest | dw::Image, Images and Backgrounds in Dw | |
Imgbuf.txt | dw::core::Imgbuf, Images and Backgrounds in Dw | |
DwPage.txt | dw::Textblock | |
DwRender.txt | Dillo Widget Overview, Layout and Views, dw::core::ui | |
DwStyle.txt | dw::core::style | |
DwTable.txt | dw::Table | |
DwWidget.txt | dw::core::Widget, Layout and Widgets, Sizes of Dillo Widgets | |
Selection.txt | dw::core::SelectionState |