summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-11-09 08:18:30 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-11-09 08:18:30 +0000
commit726914203f683f94afd5e72ee4dbbd139329c940 (patch)
tree0b2bc4617472484972088f0939d387defbe5bab2
parentLicense header check: ignore files in .gitignore (diff)
downloadinkscape-726914203f683f94afd5e72ee4dbbd139329c940.tar.gz
inkscape-726914203f683f94afd5e72ee4dbbd139329c940.zip
Add README to src/ui/view
-rw-r--r--src/ui/view/README41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/ui/view/README b/src/ui/view/README
new file mode 100644
index 000000000..dad4e7242
--- /dev/null
+++ b/src/ui/view/README
@@ -0,0 +1,41 @@
+
+This directory contains the class Inkscape::UI::View::View and related items.
+
+View is an abstract base class for all UI document views. Documents
+can be displayed by more than one window, each having its own view
+(e.g. zoom level, selection, etc.).
+
+View is the parent class for:
+
+* SPDocument
+* SVGView
+
+SPViewWidget is the "parent" for:
+
+* SPDocumentWidget
+
+(It was also parent for SPSVGViewWidget but that has been replaced by
+SVGViewWidget which is derived, rather uselessly, from Gtk::Scrollbar).
+
+SPViewWidget contains a GtkEventBox and holds a View.
+
+SPDesktopWidget contains a
+ VBox
+ HBox
+ GtkGrid
+ GtkPaned
+ GtkGrid
+ SPCanvas
+ Plus lots of other junk.
+
+SVGViewWidget contains a
+ GtkScrolledWindow
+ 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.