blob: cab0bf6f3aabb99bcde56db7de8c063ded8abc66 (
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
|
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
SPViewWidget is the base for:
* SPDocumentWidget
(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.
SPDesktopWidget contains a
VBox
HBox
GtkGrid
GtkPaned
GtkGrid
SPCanvas
Plus lots of other junk.
SVGViewWidget is derived from Gtk::Scrollbar. It contains:
SPCanvas
SVGView
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)
SPCanvas
|