summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-12-03 19:53:43 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-12-03 19:53:43 +0000
commit6772646217dd6c865916b44704470e2c773ae1c0 (patch)
tree69b861986a927d00f9e96c229cc510bae1b0ed63 /src
parentFix failed cast in ColorWheel. (diff)
downloadinkscape-6772646217dd6c865916b44704470e2c773ae1c0.tar.gz
inkscape-6772646217dd6c865916b44704470e2c773ae1c0.zip
Update View README.
Diffstat (limited to 'src')
-rw-r--r--src/ui/view/README38
1 files changed, 22 insertions, 16 deletions
diff --git a/src/ui/view/README b/src/ui/view/README
index b8092910a..a2091cb2f 100644
--- a/src/ui/view/README
+++ b/src/ui/view/README
@@ -13,32 +13,38 @@ View is the base class for:
SPViewWidget is the base for:
* SPDocumentWidget
+* SPSVGViewWidget REMOVED
-(It was also base for SPSVGViewWidget but that has been replaced by
-SVGViewWidget which is derived, rather uselessly, from Gtk::Scrollbar).
+SPSVGViewWidget has been replaced by SVGViewWidget, see below.
-SPViewWidget contains a GtkEventBox and holds a View.
-SPDesktopWidget contains a
- VBox
- HBox
- GtkGrid
- GtkPaned
- GtkGrid
- SPCanvas
- Plus lots of other junk.
+SPViewWidget:
+ Contains a GtkEventBox and holds a View.
-SVGViewWidget is derived from Gtk::Scrollbar. It no longer is dependent
-on View (and really doesn't belong here anymore). It contains:
- SPCanvas
+SPDesktopWidget:
+ Contains:
+ VBox
+ HBox
+ GtkGrid
+ GtkPaned
+ GtkGrid
+ SPCanvas
+ Plus lots of other junk.
+
+
+SVGViewWidget:
+ Used many places as a convienient way to show an SVG (file dialog, Inkview).
+ Derived, rather uselessly, from Gtk::Scrollbar.
+ It no longer is dependent on View (and really doesn't belong here anymore).
+
+ It contains: SPCanvas
To do:
+
* Convert everything to C++.
* Evaluate moving SPDesktopWidget down the widget stack.
It doesn't use the EventBox of SPViewWidget!
-* Get rid of SPViewWidget, integrating it directly into a
- new C++ Desktop widget.
A DesktopViewWidget should contain:
DesktopView (aka SPDesktop)