From 35dd603cdde12ac49432f46a9bc66e623e3c164f Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 28 Nov 2018 13:46:49 +0100 Subject: Update/correct README. --- src/ui/view/README | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/ui/view/README b/src/ui/view/README index dad4e7242..cab0bf6f3 100644 --- a/src/ui/view/README +++ b/src/ui/view/README @@ -5,16 +5,16 @@ 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: +View is the base class for: -* SPDocument +* SPDesktop * SVGView -SPViewWidget is the "parent" for: +SPViewWidget is the base for: * SPDocumentWidget -(It was also parent for SPSVGViewWidget but that has been replaced by +(It was also base 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. @@ -28,9 +28,10 @@ SPDesktopWidget contains a SPCanvas Plus lots of other junk. -SVGViewWidget contains a - GtkScrolledWindow - SPCanvas. +SVGViewWidget is derived from Gtk::Scrollbar. It contains: + SPCanvas + SVGView + To do: @@ -39,3 +40,7 @@ To do: 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) + SPCanvas -- cgit v1.2.3