~ubuntu-branches/ubuntu/intrepid/tcm/intrepid

« back to all changes in this revision

Viewing changes to doc/sourcecode/Viewer.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>Viewer</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  Viewer  </H2><BLOCKQUOTE>
 
4
 (abstract) viewer class, responsible for the contents of the drawing area.
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
 
9
<param name=classes value="CViewer,MViewer.html,CTableViewer,MTableViewer.html,CDiagramViewer,MDiagramViewer.html">
 
10
<param name=before value="M,M|_,Mr_">
 
11
<param name=after value="M,M,M">
 
12
<param name=indent value="0,0,0">
 
13
<param name=arrowdir value="down">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.444.115"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>MIN_LINE_WIDTH</B> <br>
 
20
<I></I>
 
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.116"> <IMG BORDER=0 SRC=icon1.gif></A> static  const  int </TD><TD><B>MAX_LINE_WIDTH</B> <br>
 
22
<I></I>
 
23
</TD></TR></TABLE><TABLE>
 
24
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.444.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Viewer</B> (<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="DrawWindow.html">DrawWindow</A> *d)<br>
 
25
<I> </I>
 
26
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~Viewer</B> ()<br>
 
27
<I></I>
 
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.3"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Initialize</B> ()<br>
 
29
<I></I>
 
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.4"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Scaler.html">Scaler</A>* </TD><TD><B>GetScaler</B> () const <br>
 
31
<I></I>
 
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.5"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Command.html">Command</A>* </TD><TD><B>GetLastCmd</B> ()<br>
 
33
<I></I>
 
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="DrawWindow.html">DrawWindow</A>* </TD><TD><B>GetMainWindow</B> () const <br>
 
35
<I></I>
 
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.7"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Grafport.html">Grafport</A>* </TD><TD><B>GetGrafport</B> () const <br>
 
37
<I></I>
 
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.8"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Printer.html">Printer</A>* </TD><TD><B>GetPrinter</B> () const <br>
 
39
<I></I>
 
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPrinter</B> (<!1><A HREF="Printer.html">Printer</A> *p)<br>
 
41
<I></I>
 
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.10"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
 
43
<I></I>
 
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.11"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* </TD><TD><B>GetLineWidthDialog</B> ()<br>
 
45
<I></I>
 
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.12"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* </TD><TD><B>GetLineStyleDialog</B> ()<br>
 
47
<I></I>
 
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.13"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>* </TD><TD><B>GetTextAlignmentDialog</B> ()<br>
 
49
<I></I>
 
50
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.14"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="FontChooserDialog.html">FontChooserDialog</A>* </TD><TD><B>GetFontChooserDialog</B> ()<br>
 
51
<I></I>
 
52
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.15"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="FileSelectionDialog.html">FileSelectionDialog</A>* </TD><TD><B>GetPrintFileSelectionDialog</B> ()<br>
 
53
<I></I>
 
54
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.16"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="ColorChooserDialog.html">ColorChooserDialog</A>* </TD><TD><B>GetColorChooserDialog</B> ()<br>
 
55
<I></I>
 
56
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.17"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>Scale</B> (int x) const <br>
 
57
<I> forwarding to scaler object.</I>
 
58
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.18"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>Scale</B> (const <!1><A HREF="Point.html">Point</A> *p) const <br>
 
59
<I></I>
 
60
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.19"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>ScaleCorrect</B> (int x) const <br>
 
61
<I></I>
 
62
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.20"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A> </TD><TD><B>ScaleCorrect</B> (const <!1><A HREF="Point.html">Point</A> *p) const <br>
 
63
<I></I>
 
64
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.21"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Draw</B> ()<br>
 
65
<I> Draw all elements of the viewer in grafport.</I>
 
66
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.22"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Undraw</B> ()<br>
 
67
<I> Erase all elements from grafport.</I>
 
68
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.23"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Undo</B> ()<br>
 
69
<I> Undo last command.</I>
 
70
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.24"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Redo</B> ()<br>
 
71
<I> Redo last command.</I>
 
72
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Refresh</B> ()<br>
 
73
<I> Clear grafport contents, and redraw all viewer elements.</I>
 
74
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.26"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Redraw</B> ()<br>
 
75
<I> redraw contents of grafport.</I>
 
76
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.27"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>DeselectAll</B> ()<br>
 
77
<I> deselect all elements in viewer;</I>
 
78
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.28"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Select</B> (int x, int y)<br>
 
79
<I> Perform the function of the 1st button function of the mouse </I>
 
80
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.29"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Adjust</B> (int x, int y)<br>
 
81
<I> Perform the function of the 2nd button function of the mouse.</I>
 
82
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.30"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Activate</B> ()<br>
 
83
<I> show that viewer is active.</I>
 
84
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.31"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>Deactivate</B> ()<br>
 
85
<I> show that viewer is not active.</I>
 
86
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.32"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>TextModeOff</B> ()<br>
 
87
<I> stop being in editing mode.</I>
 
88
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.33"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultLineWidth</B> (unsigned d)<br>
 
89
<I></I>
 
90
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.34"> <IMG BORDER=0 SRC=icon1.gif></A> int </TD><TD><B>GetDefaultLineWidth</B> ()<br>
 
91
<I></I>
 
92
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.35"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLineWidth</B> ()<br>
 
93
<I></I>
 
94
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.36"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultLineWidth</B> ()<br>
 
95
<I></I>
 
96
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.37"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultLineWidth</B> ()<br>
 
97
<I></I>
 
98
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.38"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigLineWidth</B> ()<br>
 
99
<I></I>
 
100
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.39"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateLineWidthSelection</B> (unsigned i)<br>
 
101
<I></I>
 
102
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.40"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultLineStyle</B> (<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)<br>
 
103
<I></I>
 
104
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.41"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> </TD><TD><B>GetDefaultLineStyle</B> ()<br>
 
105
<I></I>
 
106
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.42"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLineStyle</B> ()<br>
 
107
<I></I>
 
108
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.43"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultLineStyle</B> ()<br>
 
109
<I></I>
 
110
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.44"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultLineStyle</B> ()<br>
 
111
<I></I>
 
112
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.45"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigLineStyle</B> ()<br>
 
113
<I></I>
 
114
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.46"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateLineStyleSelection</B> (<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> s)<br>
 
115
<I></I>
 
116
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.47"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultLineColor</B> (const <!1><A HREF="string.html">string</A> *s)<br>
 
117
<I></I>
 
118
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.48"> <IMG BORDER=0 SRC=icon1.gif></A> const  <!1><A HREF="string.html">string</A>* </TD><TD><B>GetDefaultLineColor</B> ()<br>
 
119
<I></I>
 
120
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.49"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultTextColor</B> (const <!1><A HREF="string.html">string</A> *s)<br>
 
121
<I></I>
 
122
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.50"> <IMG BORDER=0 SRC=icon1.gif></A> const  <!1><A HREF="string.html">string</A>* </TD><TD><B>GetDefaultTextColor</B> ()<br>
 
123
<I></I>
 
124
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.51"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultFillColor</B> (const <!1><A HREF="string.html">string</A> *s)<br>
 
125
<I></I>
 
126
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.52"> <IMG BORDER=0 SRC=icon1.gif></A> const  <!1><A HREF="string.html">string</A>* </TD><TD><B>GetDefaultFillColor</B> ()<br>
 
127
<I></I>
 
128
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.53"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> </TD><TD><B>GetDefaultFillStyle</B> () const <br>
 
129
<I></I>
 
130
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.54"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultFillStyle</B> (<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> l)<br>
 
131
<I></I>
 
132
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.55"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateLineColorSelection</B> (const <!1><A HREF="string.html">string</A> *s)<br>
 
133
<I></I>
 
134
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.56"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateTextColorSelection</B> (const <!1><A HREF="string.html">string</A> *s)<br>
 
135
<I></I>
 
136
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.57"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateFillColorSelection</B> ( const <!1><A HREF="string.html">string</A> *s, <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)<br>
 
137
<I></I>
 
138
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.58"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLineColor</B> ()<br>
 
139
<I></I>
 
140
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.59"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultLineColor</B> ()<br>
 
141
<I></I>
 
142
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.60"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultLineColor</B> ()<br>
 
143
<I></I>
 
144
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.61"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigLineColor</B> ()<br>
 
145
<I></I>
 
146
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.62"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextColor</B> ()<br>
 
147
<I></I>
 
148
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.63"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultTextColor</B> ()<br>
 
149
<I></I>
 
150
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.64"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultTextColor</B> ()<br>
 
151
<I></I>
 
152
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.65"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigTextColor</B> ()<br>
 
153
<I></I>
 
154
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.66"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateFillColor</B> ()<br>
 
155
<I></I>
 
156
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.67"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultFillColor</B> ()<br>
 
157
<I></I>
 
158
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.68"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultFillColor</B> ()<br>
 
159
<I></I>
 
160
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.69"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigFillColor</B> ()<br>
 
161
<I></I>
 
162
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.70"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="XFont.html">XFont</A>* </TD><TD><B>GetDefaultFont</B> () const <br>
 
163
<I></I>
 
164
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.71"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultFontAttributes</B> (int f, int s, int p)<br>
 
165
<I></I>
 
166
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.72"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>SetDefaultFont</B> (<!1><A HREF="XFont.html">XFont</A> *ft)<br>
 
167
<I></I>
 
168
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.73"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateFont</B> ()<br>
 
169
<I></I>
 
170
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.74"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultFont</B> ()<br>
 
171
<I></I>
 
172
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.75"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultFont</B> ()<br>
 
173
<I></I>
 
174
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.76"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigFont</B> ()<br>
 
175
<I></I>
 
176
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.77"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateFontSelection</B> (int family, int style, int size)<br>
 
177
<I> </I>
 
178
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.78"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="XFont.html">XFont</A>* </TD><TD><B>GetFont</B> (int family, int style, int size)<br>
 
179
<I></I>
 
180
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.79"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="XFont.html">XFont</A>* </TD><TD><B>GetFont</B> (const char *description)<br>
 
181
<I></I>
 
182
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.80"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateTextAlignment</B> ()<br>
 
183
<I></I>
 
184
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.81"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DefaultTextAlignment</B> ()<br>
 
185
<I></I>
 
186
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.82"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowDefaultTextAlignment</B> ()<br>
 
187
<I></I>
 
188
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.83"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ShowConfigTextAlignment</B> ()<br>
 
189
<I></I>
 
190
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.84"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> </TD><TD><B>GetDefaultTextAlignment</B> () const <br>
 
191
<I></I>
 
192
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.85"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDefaultTextAlignment</B> (<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)<br>
 
193
<I></I>
 
194
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.86"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>UpdateTextAlignmentSelection</B> (<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)<br>
 
195
<I></I>
 
196
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.87"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>EditText</B> (int key)<br>
 
197
<I></I>
 
198
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.88"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsAutoResize</B> () const <br>
 
199
<I></I>
 
200
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.89"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetAutoResize</B> (bool s)<br>
 
201
<I></I>
 
202
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.90"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsInlineEdit</B> () const <br>
 
203
<I></I>
 
204
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.91"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetInlineEdit</B> (bool s)<br>
 
205
<I></I>
 
206
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.92"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsPasting</B> () const <br>
 
207
<I></I>
 
208
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.93"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPasting</B> (bool b)<br>
 
209
<I></I>
 
210
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.94"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsZigZag</B> () const <br>
 
211
<I></I>
 
212
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.95"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetZigZag</B> (bool b)<br>
 
213
<I></I>
 
214
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.96"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsEditing</B> () const <br>
 
215
<I></I>
 
216
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.97"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>MovingPointer</B> (int x, int y)<br>
 
217
<I> change cursor to show which command can be performed.</I>
 
218
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.98"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DoubleClick</B> ()<br>
 
219
<I> not yet implemented (double clicked button).</I>
 
220
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.99"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DoFunctionKey</B> (int)<br>
 
221
<I> not yet implemented (function keys). </I>
 
222
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.100"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>NewCommand</B> (<!1><A HREF="Command.html">Command</A> *newCmd)<br>
 
223
<I> enable execution of last command as newCmd.</I>
 
224
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.101"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AbortCommand</B> ()<br>
 
225
<I> abort execution of last command.</I>
 
226
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.102"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ExecuteCommand</B> ()<br>
 
227
<I> execute last command.</I>
 
228
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.103"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UndoCommand</B> ()<br>
 
229
<I> undo execution of last command.</I>
 
230
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.104"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>RedoCommand</B> ()<br>
 
231
<I> redo execution of last command.</I>
 
232
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.105"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DeleteCommands</B> ()<br>
 
233
<I> delete command history, make undo impossible.</I>
 
234
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.106"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  <!1><A HREF="Command.html">Command</A>* </TD><TD><B>Drag</B> (int x, int y)<br>
 
235
<I> Perform the function of 1st button drag.</I>
 
236
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.107"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  <!1><A HREF="Command.html">Command</A>* </TD><TD><B>Connect</B> (int x, int y)<br>
 
237
<I> Perform the function of 2nd button drag.</I>
 
238
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.108"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>KeyTyped</B> (int x, int y, int c)<br>
 
239
<I> Perform the function of keypress 'c'.</I>
 
240
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.109"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>CalcSizeElements</B> (<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)<br>
 
241
<I> calculate covered area of elements in grafport.</I>
 
242
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.110"> <IMG BORDER=0 SRC=icon1.gif></A> virtual  void </TD><TD><B>CalcSizeSelection</B> (<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)<br>
 
243
<I> calculate covered area of selected elements in grafport.</I>
 
244
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.111"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>GetPageSize</B> (double &width, double &height)<br>
 
245
<I> return page size (pixels).</I>
 
246
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.112"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Save</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
 
247
<I> Save view attributes to file.</I>
 
248
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.113"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Load</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
 
249
<I> Load view attributes from file.</I>
 
250
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.114"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Check</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
 
251
<I> Check but not load view attributes from file.</I>
 
252
</TD></TR></TABLE><TABLE>
 
253
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.444.117"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ClearGrafport</B> ()<br>
 
254
<I> Clear contents of grafport.</I>
 
255
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.118"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="InlineEditor.html">InlineEditor</A>* </TD><TD><B>GetInlineEditor</B> () const <br>
 
256
<I></I>
 
257
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.119"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetInlineEditor</B> (<!1><A HREF="InlineEditor.html">InlineEditor</A> *i)<br>
 
258
<I></I>
 
259
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.444.120"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetEditing</B> (bool b)<br>
 
260
<I></I>
 
261
</TD></TR></TABLE></DL>
 
262
<A NAME="DOC.DOCU">
 
263
<hr>
 
264
 <h2> Documentation </h2>
 
265
<BLOCKQUOTE>
 
266
 (abstract) viewer class, responsible for the contents of the drawing area.
 
267
 
 
268
</BLOCKQUOTE>
 
269
<DL>
 
270
 
 
271
<A NAME="Viewer">
 
272
<A NAME ="DOC.444.1">
 
273
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  Viewer(<!1><A HREF="Config.html">Config</A> *c, <!1><A HREF="DrawWindow.html">DrawWindow</A> *d)</B></TT>
 
274
<DD> 
 
275
<DL></DL><P>
 
276
<A NAME="~Viewer">
 
277
<A NAME ="DOC.444.2">
 
278
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~Viewer()</B></TT>
 
279
<DL></DL><P>
 
280
<A NAME="Initialize">
 
281
<A NAME ="DOC.444.3">
 
282
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Initialize()</B></TT>
 
283
<DL></DL><P>
 
284
<A NAME="GetScaler">
 
285
<A NAME ="DOC.444.4">
 
286
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Scaler.html">Scaler</A>*  GetScaler() const </B></TT>
 
287
<DL></DL><P>
 
288
<A NAME="GetLastCmd">
 
289
<A NAME ="DOC.444.5">
 
290
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Command.html">Command</A>*  GetLastCmd()</B></TT>
 
291
<DL></DL><P>
 
292
<A NAME="GetMainWindow">
 
293
<A NAME ="DOC.444.6">
 
294
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="DrawWindow.html">DrawWindow</A>*  GetMainWindow() const </B></TT>
 
295
<DL></DL><P>
 
296
<A NAME="GetGrafport">
 
297
<A NAME ="DOC.444.7">
 
298
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Grafport.html">Grafport</A>*  GetGrafport() const </B></TT>
 
299
<DL></DL><P>
 
300
<A NAME="GetPrinter">
 
301
<A NAME ="DOC.444.8">
 
302
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Printer.html">Printer</A>*  GetPrinter() const </B></TT>
 
303
<DL></DL><P>
 
304
<A NAME="SetPrinter">
 
305
<A NAME ="DOC.444.9">
 
306
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetPrinter(<!1><A HREF="Printer.html">Printer</A> *p)</B></TT>
 
307
<DL></DL><P>
 
308
<A NAME="SetGrafport">
 
309
<A NAME ="DOC.444.10">
 
310
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
 
311
<DL></DL><P>
 
312
<A NAME="GetLineWidthDialog">
 
313
<A NAME ="DOC.444.11">
 
314
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  GetLineWidthDialog()</B></TT>
 
315
<DL></DL><P>
 
316
<A NAME="GetLineStyleDialog">
 
317
<A NAME ="DOC.444.12">
 
318
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  GetLineStyleDialog()</B></TT>
 
319
<DL></DL><P>
 
320
<A NAME="GetTextAlignmentDialog">
 
321
<A NAME ="DOC.444.13">
 
322
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="NToggleListDialog.html">NToggleListDialog</A>*  GetTextAlignmentDialog()</B></TT>
 
323
<DL></DL><P>
 
324
<A NAME="GetFontChooserDialog">
 
325
<A NAME ="DOC.444.14">
 
326
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="FontChooserDialog.html">FontChooserDialog</A>*  GetFontChooserDialog()</B></TT>
 
327
<DL></DL><P>
 
328
<A NAME="GetPrintFileSelectionDialog">
 
329
<A NAME ="DOC.444.15">
 
330
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="FileSelectionDialog.html">FileSelectionDialog</A>*  GetPrintFileSelectionDialog()</B></TT>
 
331
<DL></DL><P>
 
332
<A NAME="GetColorChooserDialog">
 
333
<A NAME ="DOC.444.16">
 
334
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="ColorChooserDialog.html">ColorChooserDialog</A>*  GetColorChooserDialog()</B></TT>
 
335
<DL></DL><P>
 
336
<A NAME="Scale">
 
337
<A NAME ="DOC.444.17">
 
338
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  Scale(int x) const </B></TT>
 
339
<DD> forwarding to scaler object.
 
340
<DL></DL><P>
 
341
<A NAME="Scale">
 
342
<A NAME ="DOC.444.18">
 
343
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  Scale(const <!1><A HREF="Point.html">Point</A> *p) const </B></TT>
 
344
<DL></DL><P>
 
345
<A NAME="ScaleCorrect">
 
346
<A NAME ="DOC.444.19">
 
347
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  ScaleCorrect(int x) const </B></TT>
 
348
<DL></DL><P>
 
349
<A NAME="ScaleCorrect">
 
350
<A NAME ="DOC.444.20">
 
351
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>  ScaleCorrect(const <!1><A HREF="Point.html">Point</A> *p) const </B></TT>
 
352
<DL></DL><P>
 
353
<A NAME="Draw">
 
354
<A NAME ="DOC.444.21">
 
355
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Draw()</B></TT>
 
356
<DD> Draw all elements of the viewer in grafport.
 
357
<DL></DL><P>
 
358
<A NAME="Undraw">
 
359
<A NAME ="DOC.444.22">
 
360
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Undraw()</B></TT>
 
361
<DD> Erase all elements from grafport.
 
362
<DL></DL><P>
 
363
<A NAME="Undo">
 
364
<A NAME ="DOC.444.23">
 
365
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Undo()</B></TT>
 
366
<DD> Undo last command.
 
367
<DL></DL><P>
 
368
<A NAME="Redo">
 
369
<A NAME ="DOC.444.24">
 
370
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Redo()</B></TT>
 
371
<DD> Redo last command.
 
372
<DL></DL><P>
 
373
<A NAME="Refresh">
 
374
<A NAME ="DOC.444.25">
 
375
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Refresh()</B></TT>
 
376
<DD> Clear grafport contents, and redraw all viewer elements.
 
377
<DL></DL><P>
 
378
<A NAME="Redraw">
 
379
<A NAME ="DOC.444.26">
 
380
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Redraw()</B></TT>
 
381
<DD> redraw contents of grafport.
 
382
<DL></DL><P>
 
383
<A NAME="DeselectAll">
 
384
<A NAME ="DOC.444.27">
 
385
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  DeselectAll()</B></TT>
 
386
<DD> deselect all elements in viewer;
 
387
<DL></DL><P>
 
388
<A NAME="Select">
 
389
<A NAME ="DOC.444.28">
 
390
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Select(int x, int y)</B></TT>
 
391
<DD> Perform the function of the 1st button function of the mouse 
 
392
<DL></DL><P>
 
393
<A NAME="Adjust">
 
394
<A NAME ="DOC.444.29">
 
395
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Adjust(int x, int y)</B></TT>
 
396
<DD> Perform the function of the 2nd button function of the mouse.
 
397
<DL></DL><P>
 
398
<A NAME="Activate">
 
399
<A NAME ="DOC.444.30">
 
400
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Activate()</B></TT>
 
401
<DD> show that viewer is active.
 
402
<DL></DL><P>
 
403
<A NAME="Deactivate">
 
404
<A NAME ="DOC.444.31">
 
405
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  Deactivate()</B></TT>
 
406
<DD> show that viewer is not active.
 
407
<DL></DL><P>
 
408
<A NAME="TextModeOff">
 
409
<A NAME ="DOC.444.32">
 
410
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  TextModeOff()</B></TT>
 
411
<DD> stop being in editing mode.
 
412
<DL></DL><P>
 
413
<A NAME="SetDefaultLineWidth">
 
414
<A NAME ="DOC.444.33">
 
415
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultLineWidth(unsigned d)</B></TT>
 
416
<DL></DL><P>
 
417
<A NAME="GetDefaultLineWidth">
 
418
<A NAME ="DOC.444.34">
 
419
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> int  GetDefaultLineWidth()</B></TT>
 
420
<DL></DL><P>
 
421
<A NAME="UpdateLineWidth">
 
422
<A NAME ="DOC.444.35">
 
423
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateLineWidth()</B></TT>
 
424
<DL></DL><P>
 
425
<A NAME="DefaultLineWidth">
 
426
<A NAME ="DOC.444.36">
 
427
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultLineWidth()</B></TT>
 
428
<DL></DL><P>
 
429
<A NAME="ShowDefaultLineWidth">
 
430
<A NAME ="DOC.444.37">
 
431
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultLineWidth()</B></TT>
 
432
<DL></DL><P>
 
433
<A NAME="ShowConfigLineWidth">
 
434
<A NAME ="DOC.444.38">
 
435
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigLineWidth()</B></TT>
 
436
<DL></DL><P>
 
437
<A NAME="UpdateLineWidthSelection">
 
438
<A NAME ="DOC.444.39">
 
439
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateLineWidthSelection(unsigned i)</B></TT>
 
440
<DL></DL><P>
 
441
<A NAME="SetDefaultLineStyle">
 
442
<A NAME ="DOC.444.40">
 
443
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultLineStyle(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> l)</B></TT>
 
444
<DL></DL><P>
 
445
<A NAME="GetDefaultLineStyle">
 
446
<A NAME ="DOC.444.41">
 
447
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  GetDefaultLineStyle()</B></TT>
 
448
<DL></DL><P>
 
449
<A NAME="UpdateLineStyle">
 
450
<A NAME ="DOC.444.42">
 
451
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateLineStyle()</B></TT>
 
452
<DL></DL><P>
 
453
<A NAME="DefaultLineStyle">
 
454
<A NAME ="DOC.444.43">
 
455
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultLineStyle()</B></TT>
 
456
<DL></DL><P>
 
457
<A NAME="ShowDefaultLineStyle">
 
458
<A NAME ="DOC.444.44">
 
459
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultLineStyle()</B></TT>
 
460
<DL></DL><P>
 
461
<A NAME="ShowConfigLineStyle">
 
462
<A NAME ="DOC.444.45">
 
463
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigLineStyle()</B></TT>
 
464
<DL></DL><P>
 
465
<A NAME="UpdateLineStyleSelection">
 
466
<A NAME ="DOC.444.46">
 
467
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateLineStyleSelection(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> s)</B></TT>
 
468
<DL></DL><P>
 
469
<A NAME="SetDefaultLineColor">
 
470
<A NAME ="DOC.444.47">
 
471
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultLineColor(const <!1><A HREF="string.html">string</A> *s)</B></TT>
 
472
<DL></DL><P>
 
473
<A NAME="GetDefaultLineColor">
 
474
<A NAME ="DOC.444.48">
 
475
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const  <!1><A HREF="string.html">string</A>*  GetDefaultLineColor()</B></TT>
 
476
<DL></DL><P>
 
477
<A NAME="SetDefaultTextColor">
 
478
<A NAME ="DOC.444.49">
 
479
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultTextColor(const <!1><A HREF="string.html">string</A> *s)</B></TT>
 
480
<DL></DL><P>
 
481
<A NAME="GetDefaultTextColor">
 
482
<A NAME ="DOC.444.50">
 
483
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const  <!1><A HREF="string.html">string</A>*  GetDefaultTextColor()</B></TT>
 
484
<DL></DL><P>
 
485
<A NAME="SetDefaultFillColor">
 
486
<A NAME ="DOC.444.51">
 
487
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultFillColor(const <!1><A HREF="string.html">string</A> *s)</B></TT>
 
488
<DL></DL><P>
 
489
<A NAME="GetDefaultFillColor">
 
490
<A NAME ="DOC.444.52">
 
491
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> const  <!1><A HREF="string.html">string</A>*  GetDefaultFillColor()</B></TT>
 
492
<DL></DL><P>
 
493
<A NAME="GetDefaultFillStyle">
 
494
<A NAME ="DOC.444.53">
 
495
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A>  GetDefaultFillStyle() const </B></TT>
 
496
<DL></DL><P>
 
497
<A NAME="SetDefaultFillStyle">
 
498
<A NAME ="DOC.444.54">
 
499
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultFillStyle(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> l)</B></TT>
 
500
<DL></DL><P>
 
501
<A NAME="UpdateLineColorSelection">
 
502
<A NAME ="DOC.444.55">
 
503
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateLineColorSelection(const <!1><A HREF="string.html">string</A> *s)</B></TT>
 
504
<DL></DL><P>
 
505
<A NAME="UpdateTextColorSelection">
 
506
<A NAME ="DOC.444.56">
 
507
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateTextColorSelection(const <!1><A HREF="string.html">string</A> *s)</B></TT>
 
508
<DL></DL><P>
 
509
<A NAME="UpdateFillColorSelection">
 
510
<A NAME ="DOC.444.57">
 
511
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateFillColorSelection( const <!1><A HREF="string.html">string</A> *s, <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> f)</B></TT>
 
512
<DL></DL><P>
 
513
<A NAME="UpdateLineColor">
 
514
<A NAME ="DOC.444.58">
 
515
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateLineColor()</B></TT>
 
516
<DL></DL><P>
 
517
<A NAME="DefaultLineColor">
 
518
<A NAME ="DOC.444.59">
 
519
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultLineColor()</B></TT>
 
520
<DL></DL><P>
 
521
<A NAME="ShowDefaultLineColor">
 
522
<A NAME ="DOC.444.60">
 
523
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultLineColor()</B></TT>
 
524
<DL></DL><P>
 
525
<A NAME="ShowConfigLineColor">
 
526
<A NAME ="DOC.444.61">
 
527
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigLineColor()</B></TT>
 
528
<DL></DL><P>
 
529
<A NAME="UpdateTextColor">
 
530
<A NAME ="DOC.444.62">
 
531
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTextColor()</B></TT>
 
532
<DL></DL><P>
 
533
<A NAME="DefaultTextColor">
 
534
<A NAME ="DOC.444.63">
 
535
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultTextColor()</B></TT>
 
536
<DL></DL><P>
 
537
<A NAME="ShowDefaultTextColor">
 
538
<A NAME ="DOC.444.64">
 
539
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultTextColor()</B></TT>
 
540
<DL></DL><P>
 
541
<A NAME="ShowConfigTextColor">
 
542
<A NAME ="DOC.444.65">
 
543
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigTextColor()</B></TT>
 
544
<DL></DL><P>
 
545
<A NAME="UpdateFillColor">
 
546
<A NAME ="DOC.444.66">
 
547
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateFillColor()</B></TT>
 
548
<DL></DL><P>
 
549
<A NAME="DefaultFillColor">
 
550
<A NAME ="DOC.444.67">
 
551
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultFillColor()</B></TT>
 
552
<DL></DL><P>
 
553
<A NAME="ShowDefaultFillColor">
 
554
<A NAME ="DOC.444.68">
 
555
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultFillColor()</B></TT>
 
556
<DL></DL><P>
 
557
<A NAME="ShowConfigFillColor">
 
558
<A NAME ="DOC.444.69">
 
559
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigFillColor()</B></TT>
 
560
<DL></DL><P>
 
561
<A NAME="GetDefaultFont">
 
562
<A NAME ="DOC.444.70">
 
563
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="XFont.html">XFont</A>*  GetDefaultFont() const </B></TT>
 
564
<DL></DL><P>
 
565
<A NAME="SetDefaultFontAttributes">
 
566
<A NAME ="DOC.444.71">
 
567
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultFontAttributes(int f, int s, int p)</B></TT>
 
568
<DL></DL><P>
 
569
<A NAME="SetDefaultFont">
 
570
<A NAME ="DOC.444.72">
 
571
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  SetDefaultFont(<!1><A HREF="XFont.html">XFont</A> *ft)</B></TT>
 
572
<DL></DL><P>
 
573
<A NAME="UpdateFont">
 
574
<A NAME ="DOC.444.73">
 
575
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateFont()</B></TT>
 
576
<DL></DL><P>
 
577
<A NAME="DefaultFont">
 
578
<A NAME ="DOC.444.74">
 
579
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultFont()</B></TT>
 
580
<DL></DL><P>
 
581
<A NAME="ShowDefaultFont">
 
582
<A NAME ="DOC.444.75">
 
583
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultFont()</B></TT>
 
584
<DL></DL><P>
 
585
<A NAME="ShowConfigFont">
 
586
<A NAME ="DOC.444.76">
 
587
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigFont()</B></TT>
 
588
<DL></DL><P>
 
589
<A NAME="UpdateFontSelection">
 
590
<A NAME ="DOC.444.77">
 
591
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateFontSelection(int family, int style, int size)</B></TT>
 
592
<DD> 
 
593
<DL></DL><P>
 
594
<A NAME="GetFont">
 
595
<A NAME ="DOC.444.78">
 
596
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="XFont.html">XFont</A>*  GetFont(int family, int style, int size)</B></TT>
 
597
<DL></DL><P>
 
598
<A NAME="GetFont">
 
599
<A NAME ="DOC.444.79">
 
600
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="XFont.html">XFont</A>*  GetFont(const char *description)</B></TT>
 
601
<DL></DL><P>
 
602
<A NAME="UpdateTextAlignment">
 
603
<A NAME ="DOC.444.80">
 
604
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateTextAlignment()</B></TT>
 
605
<DL></DL><P>
 
606
<A NAME="DefaultTextAlignment">
 
607
<A NAME ="DOC.444.81">
 
608
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DefaultTextAlignment()</B></TT>
 
609
<DL></DL><P>
 
610
<A NAME="ShowDefaultTextAlignment">
 
611
<A NAME ="DOC.444.82">
 
612
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowDefaultTextAlignment()</B></TT>
 
613
<DL></DL><P>
 
614
<A NAME="ShowConfigTextAlignment">
 
615
<A NAME ="DOC.444.83">
 
616
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ShowConfigTextAlignment()</B></TT>
 
617
<DL></DL><P>
 
618
<A NAME="GetDefaultTextAlignment">
 
619
<A NAME ="DOC.444.84">
 
620
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A>  GetDefaultTextAlignment() const </B></TT>
 
621
<DL></DL><P>
 
622
<A NAME="SetDefaultTextAlignment">
 
623
<A NAME ="DOC.444.85">
 
624
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetDefaultTextAlignment(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)</B></TT>
 
625
<DL></DL><P>
 
626
<A NAME="UpdateTextAlignmentSelection">
 
627
<A NAME ="DOC.444.86">
 
628
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  UpdateTextAlignmentSelection(<!2><A HREF="TextAlign.html#DOC.374.1">TextAlign::Type</A> a)</B></TT>
 
629
<DL></DL><P>
 
630
<A NAME="EditText">
 
631
<A NAME ="DOC.444.87">
 
632
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  EditText(int key)</B></TT>
 
633
<DL></DL><P>
 
634
<A NAME="IsAutoResize">
 
635
<A NAME ="DOC.444.88">
 
636
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsAutoResize() const </B></TT>
 
637
<DL></DL><P>
 
638
<A NAME="SetAutoResize">
 
639
<A NAME ="DOC.444.89">
 
640
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetAutoResize(bool s)</B></TT>
 
641
<DL></DL><P>
 
642
<A NAME="IsInlineEdit">
 
643
<A NAME ="DOC.444.90">
 
644
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsInlineEdit() const </B></TT>
 
645
<DL></DL><P>
 
646
<A NAME="SetInlineEdit">
 
647
<A NAME ="DOC.444.91">
 
648
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetInlineEdit(bool s)</B></TT>
 
649
<DL></DL><P>
 
650
<A NAME="IsPasting">
 
651
<A NAME ="DOC.444.92">
 
652
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsPasting() const </B></TT>
 
653
<DL></DL><P>
 
654
<A NAME="SetPasting">
 
655
<A NAME ="DOC.444.93">
 
656
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetPasting(bool b)</B></TT>
 
657
<DL></DL><P>
 
658
<A NAME="IsZigZag">
 
659
<A NAME ="DOC.444.94">
 
660
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsZigZag() const </B></TT>
 
661
<DL></DL><P>
 
662
<A NAME="SetZigZag">
 
663
<A NAME ="DOC.444.95">
 
664
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetZigZag(bool b)</B></TT>
 
665
<DL></DL><P>
 
666
<A NAME="IsEditing">
 
667
<A NAME ="DOC.444.96">
 
668
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsEditing() const </B></TT>
 
669
<DL></DL><P>
 
670
<A NAME="MovingPointer">
 
671
<A NAME ="DOC.444.97">
 
672
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  MovingPointer(int x, int y)</B></TT>
 
673
<DD> change cursor to show which command can be performed.
 
674
<DL></DL><P>
 
675
<A NAME="DoubleClick">
 
676
<A NAME ="DOC.444.98">
 
677
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DoubleClick()</B></TT>
 
678
<DD> not yet implemented (double clicked button).
 
679
<DL></DL><P>
 
680
<A NAME="DoFunctionKey">
 
681
<A NAME ="DOC.444.99">
 
682
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DoFunctionKey(int)</B></TT>
 
683
<DD> not yet implemented (function keys). 
 
684
<DL></DL><P>
 
685
<A NAME="NewCommand">
 
686
<A NAME ="DOC.444.100">
 
687
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  NewCommand(<!1><A HREF="Command.html">Command</A> *newCmd)</B></TT>
 
688
<DD> enable execution of last command as newCmd.
 
689
<DL></DL><P>
 
690
<A NAME="AbortCommand">
 
691
<A NAME ="DOC.444.101">
 
692
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  AbortCommand()</B></TT>
 
693
<DD> abort execution of last command.
 
694
<DL></DL><P>
 
695
<A NAME="ExecuteCommand">
 
696
<A NAME ="DOC.444.102">
 
697
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ExecuteCommand()</B></TT>
 
698
<DD> execute last command.
 
699
<DL></DL><P>
 
700
<A NAME="UndoCommand">
 
701
<A NAME ="DOC.444.103">
 
702
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UndoCommand()</B></TT>
 
703
<DD> undo execution of last command.
 
704
<DL></DL><P>
 
705
<A NAME="RedoCommand">
 
706
<A NAME ="DOC.444.104">
 
707
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  RedoCommand()</B></TT>
 
708
<DD> redo execution of last command.
 
709
<DL></DL><P>
 
710
<A NAME="DeleteCommands">
 
711
<A NAME ="DOC.444.105">
 
712
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  DeleteCommands()</B></TT>
 
713
<DD> delete command history, make undo impossible.
 
714
<DL></DL><P>
 
715
<A NAME="Drag">
 
716
<A NAME ="DOC.444.106">
 
717
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  <!1><A HREF="Command.html">Command</A>*  Drag(int x, int y)</B></TT>
 
718
<DD> Perform the function of 1st button drag.
 
719
<DL></DL><P>
 
720
<A NAME="Connect">
 
721
<A NAME ="DOC.444.107">
 
722
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  <!1><A HREF="Command.html">Command</A>*  Connect(int x, int y)</B></TT>
 
723
<DD> Perform the function of 2nd button drag.
 
724
<DL></DL><P>
 
725
<A NAME="KeyTyped">
 
726
<A NAME ="DOC.444.108">
 
727
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  KeyTyped(int x, int y, int c)</B></TT>
 
728
<DD> Perform the function of keypress 'c'.
 
729
<DL></DL><P>
 
730
<A NAME="CalcSizeElements">
 
731
<A NAME ="DOC.444.109">
 
732
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  CalcSizeElements(<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)</B></TT>
 
733
<DD> calculate covered area of elements in grafport.
 
734
<DL></DL><P>
 
735
<A NAME="CalcSizeSelection">
 
736
<A NAME ="DOC.444.110">
 
737
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  void  CalcSizeSelection(<!1><A HREF="Point.html">Point</A> &topLeft, <!1><A HREF="Point.html">Point</A> &bottomRight)</B></TT>
 
738
<DD> calculate covered area of selected elements in grafport.
 
739
<DL></DL><P>
 
740
<A NAME="GetPageSize">
 
741
<A NAME ="DOC.444.111">
 
742
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  GetPageSize(double &width, double &height)</B></TT>
 
743
<DD> return page size (pixels).
 
744
<DL></DL><P>
 
745
<A NAME="Save">
 
746
<A NAME ="DOC.444.112">
 
747
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Save(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
 
748
<DD> Save view attributes to file.
 
749
<DL></DL><P>
 
750
<A NAME="Load">
 
751
<A NAME ="DOC.444.113">
 
752
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  Load(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
 
753
<DD> Load view attributes from file.
 
754
<DL></DL><P>
 
755
<A NAME="Check">
 
756
<A NAME ="DOC.444.114">
 
757
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  Check(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
 
758
<DD> Check but not load view attributes from file.
 
759
<DL></DL><P>
 
760
<A NAME="MIN_LINE_WIDTH">
 
761
<A NAME ="DOC.444.115">
 
762
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  MIN_LINE_WIDTH</B></TT>
 
763
<DL></DL><P>
 
764
<A NAME="MAX_LINE_WIDTH">
 
765
<A NAME ="DOC.444.116">
 
766
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static  const  int  MAX_LINE_WIDTH</B></TT>
 
767
<DL></DL><P>
 
768
<A NAME="ClearGrafport">
 
769
<A NAME ="DOC.444.117">
 
770
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  ClearGrafport()</B></TT>
 
771
<DD> Clear contents of grafport.
 
772
<DL></DL><P>
 
773
<A NAME="GetInlineEditor">
 
774
<A NAME ="DOC.444.118">
 
775
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="InlineEditor.html">InlineEditor</A>*  GetInlineEditor() const </B></TT>
 
776
<DL></DL><P>
 
777
<A NAME="SetInlineEditor">
 
778
<A NAME ="DOC.444.119">
 
779
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetInlineEditor(<!1><A HREF="InlineEditor.html">InlineEditor</A> *i)</B></TT>
 
780
<DL></DL><P>
 
781
<A NAME="SetEditing">
 
782
<A NAME ="DOC.444.120">
 
783
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetEditing(bool b)</B></TT>
 
784
<DL></DL><P></DL>
 
785
<hr>
 
786
<DL><DT><B>Direct child classes:
 
787
</B><DD><A HREF="TableViewer.html"> TableViewer </A><br>
 
788
<A HREF="DiagramViewer.html"> DiagramViewer </A><br>
 
789
</DL>
 
790
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
 
791
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
 
792
<P Align=Center><I>this page has been generated automatically by doc++</I>
 
793
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte  Z&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
 
794
</BODY>