summaryrefslogtreecommitdiffstats
path: root/src/ui/view/README
blob: 9316f8bc37ff24d8c70a321933e38fb07ea07ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 base class for:

* SPDesktop
* SVGView  REMOVED

SPViewWidget is the base for:

* SPDocumentWidget
* SPSVGViewWidget  REMOVED

SPSVGViewWidget has been replaced by SVGViewWidget, see below.


SPViewWidget:
  Contains a GtkEventBox and holds a View.

SPDesktopWidget:
  Contains:
    VBox
      HBox
        GtkGrid
         GtkPaned
           GtkGrid
             SPCanvas
   Plus lots of other junk.


SVGViewWidget:
  Used many places as a convenient 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!

A DesktopViewWidget should contain:
  DesktopView (aka SPDesktop)
  SPCanvas