~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to doc/class_ipe_undo_stack.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Ipelib: IpeUndoStack Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.1 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li><a href="modules.html"><span>Modules</span></a></li>
12
 
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13
 
  </ul></div>
14
 
<div class="tabs">
15
 
  <ul>
16
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
17
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
18
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
19
 
  </ul></div>
20
 
<h1>IpeUndoStack Class Reference<br>
21
 
<small>
22
 
[<a class="el" href="group__high.html">Ipe Management</a>]</small>
23
 
</h1><!-- doxytag: class="IpeUndoStack" -->An undo stack for Ipe.  
24
 
<a href="#_details">More...</a>
25
 
<p>
26
 
<a href="class_ipe_undo_stack-members.html">List of all members.</a><h2>Public Member Functions</h2>
27
 
<ul>
28
 
<li><a class="el" href="class_ipe_undo_stack.html#b8c3a6522d7892476a0356cd838ad1fb">IpeUndoStack</a> ()
29
 
<li><a class="el" href="class_ipe_undo_stack.html#80f1e7c3bdcae755072fff1ebd4ebf07">~IpeUndoStack</a> ()
30
 
<li>void <a class="el" href="class_ipe_undo_stack.html#1b5e2b4e0137aec2f22083026163427e">Clear</a> ()
31
 
<li>void <a class="el" href="class_ipe_undo_stack.html#77575148c899bb81be4687d51c8b0b8b">Add</a> (<a class="el" href="class_ipe_undo_item.html">IpeUndoItem</a> *item)
32
 
<li>int <a class="el" href="class_ipe_undo_stack.html#abfe9247d2a6b788416fc0dc44dcc7d3">Undo</a> (<a class="el" href="class_ipe_document.html">IpeDocument</a> *doc)
33
 
<li>int <a class="el" href="class_ipe_undo_stack.html#ad4d9b8f7ded7d5a7c1adcbd268d18de">Redo</a> (<a class="el" href="class_ipe_document.html">IpeDocument</a> *doc)
34
 
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_undo_stack.html#bb5955ab813722ef73fc8850b2b01e88">UndoText</a> () const
35
 
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_undo_stack.html#8b6c88d41a7d69154e47ae1f3a04ff3d">RedoText</a> () const
36
 
<li>bool <a class="el" href="class_ipe_undo_stack.html#183f7d7ec2f26030b63f176558aa4882">CanUndo</a> () const
37
 
<li>bool <a class="el" href="class_ipe_undo_stack.html#e9cf411f5192ab64729206733ce22d61">CanRedo</a> () const
38
 
</ul>
39
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
40
 
An undo stack for Ipe. 
41
 
<p>
42
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
43
 
<a class="anchor" name="b8c3a6522d7892476a0356cd838ad1fb"></a><!-- doxytag: member="IpeUndoStack::IpeUndoStack" ref="b8c3a6522d7892476a0356cd838ad1fb" args="()" -->
44
 
<div class="memitem">
45
 
<div class="memproto">
46
 
      <table class="memname">
47
 
        <tr>
48
 
          <td class="memname">IpeUndoStack::IpeUndoStack           </td>
49
 
          <td>(</td>
50
 
          <td class="paramname">          </td>
51
 
          <td>&nbsp;)&nbsp;</td>
52
 
          <td width="100%"></td>
53
 
        </tr>
54
 
      </table>
55
 
</div>
56
 
<div class="memdoc">
57
 
 
58
 
<p>
59
 
Create empty undo stack. 
60
 
<p>
61
 
 
62
 
</div>
63
 
</div><p>
64
 
<a class="anchor" name="80f1e7c3bdcae755072fff1ebd4ebf07"></a><!-- doxytag: member="IpeUndoStack::~IpeUndoStack" ref="80f1e7c3bdcae755072fff1ebd4ebf07" args="()" -->
65
 
<div class="memitem">
66
 
<div class="memproto">
67
 
      <table class="memname">
68
 
        <tr>
69
 
          <td class="memname">IpeUndoStack::~IpeUndoStack           </td>
70
 
          <td>(</td>
71
 
          <td class="paramname">          </td>
72
 
          <td>&nbsp;)&nbsp;</td>
73
 
          <td width="100%"></td>
74
 
        </tr>
75
 
      </table>
76
 
</div>
77
 
<div class="memdoc">
78
 
 
79
 
<p>
80
 
Destructor destroys all items on stack. 
81
 
<p>
82
 
 
83
 
</div>
84
 
</div><p>
85
 
<hr><h2>Member Function Documentation</h2>
86
 
<a class="anchor" name="1b5e2b4e0137aec2f22083026163427e"></a><!-- doxytag: member="IpeUndoStack::Clear" ref="1b5e2b4e0137aec2f22083026163427e" args="()" -->
87
 
<div class="memitem">
88
 
<div class="memproto">
89
 
      <table class="memname">
90
 
        <tr>
91
 
          <td class="memname">void IpeUndoStack::Clear           </td>
92
 
          <td>(</td>
93
 
          <td class="paramname">          </td>
94
 
          <td>&nbsp;)&nbsp;</td>
95
 
          <td width="100%"></td>
96
 
        </tr>
97
 
      </table>
98
 
</div>
99
 
<div class="memdoc">
100
 
 
101
 
<p>
102
 
Clears the complete undo stack. 
103
 
<p>
104
 
 
105
 
</div>
106
 
</div><p>
107
 
<a class="anchor" name="77575148c899bb81be4687d51c8b0b8b"></a><!-- doxytag: member="IpeUndoStack::Add" ref="77575148c899bb81be4687d51c8b0b8b" args="(IpeUndoItem *item)" -->
108
 
<div class="memitem">
109
 
<div class="memproto">
110
 
      <table class="memname">
111
 
        <tr>
112
 
          <td class="memname">void IpeUndoStack::Add           </td>
113
 
          <td>(</td>
114
 
          <td class="paramtype"><a class="el" href="class_ipe_undo_item.html">IpeUndoItem</a> *&nbsp;</td>
115
 
          <td class="paramname"> <em>item</em>          </td>
116
 
          <td>&nbsp;)&nbsp;</td>
117
 
          <td width="100%"></td>
118
 
        </tr>
119
 
      </table>
120
 
</div>
121
 
<div class="memdoc">
122
 
 
123
 
<p>
124
 
Add an undo item to the stack. 
125
 
<p>
126
 
If the stack is not at the end, discard remaining items. Takes ownership of item. 
127
 
</div>
128
 
</div><p>
129
 
<a class="anchor" name="abfe9247d2a6b788416fc0dc44dcc7d3"></a><!-- doxytag: member="IpeUndoStack::Undo" ref="abfe9247d2a6b788416fc0dc44dcc7d3" args="(IpeDocument *doc)" -->
130
 
<div class="memitem">
131
 
<div class="memproto">
132
 
      <table class="memname">
133
 
        <tr>
134
 
          <td class="memname">int IpeUndoStack::Undo           </td>
135
 
          <td>(</td>
136
 
          <td class="paramtype"><a class="el" href="class_ipe_document.html">IpeDocument</a> *&nbsp;</td>
137
 
          <td class="paramname"> <em>doc</em>          </td>
138
 
          <td>&nbsp;)&nbsp;</td>
139
 
          <td width="100%"></td>
140
 
        </tr>
141
 
      </table>
142
 
</div>
143
 
<div class="memdoc">
144
 
 
145
 
<p>
146
 
Perform an undo operation. 
147
 
<p>
148
 
 
149
 
</div>
150
 
</div><p>
151
 
<a class="anchor" name="ad4d9b8f7ded7d5a7c1adcbd268d18de"></a><!-- doxytag: member="IpeUndoStack::Redo" ref="ad4d9b8f7ded7d5a7c1adcbd268d18de" args="(IpeDocument *doc)" -->
152
 
<div class="memitem">
153
 
<div class="memproto">
154
 
      <table class="memname">
155
 
        <tr>
156
 
          <td class="memname">int IpeUndoStack::Redo           </td>
157
 
          <td>(</td>
158
 
          <td class="paramtype"><a class="el" href="class_ipe_document.html">IpeDocument</a> *&nbsp;</td>
159
 
          <td class="paramname"> <em>doc</em>          </td>
160
 
          <td>&nbsp;)&nbsp;</td>
161
 
          <td width="100%"></td>
162
 
        </tr>
163
 
      </table>
164
 
</div>
165
 
<div class="memdoc">
166
 
 
167
 
<p>
168
 
Perform a redo operation. 
169
 
<p>
170
 
 
171
 
</div>
172
 
</div><p>
173
 
<a class="anchor" name="bb5955ab813722ef73fc8850b2b01e88"></a><!-- doxytag: member="IpeUndoStack::UndoText" ref="bb5955ab813722ef73fc8850b2b01e88" args="() const" -->
174
 
<div class="memitem">
175
 
<div class="memproto">
176
 
      <table class="memname">
177
 
        <tr>
178
 
          <td class="memname"><a class="el" href="class_ipe_string.html">IpeString</a> IpeUndoStack::UndoText           </td>
179
 
          <td>(</td>
180
 
          <td class="paramname">          </td>
181
 
          <td>&nbsp;)&nbsp;</td>
182
 
          <td width="100%"> const</td>
183
 
        </tr>
184
 
      </table>
185
 
</div>
186
 
<div class="memdoc">
187
 
 
188
 
<p>
189
 
Return text for possible undo operation. 
190
 
<p>
191
 
 
192
 
</div>
193
 
</div><p>
194
 
<a class="anchor" name="8b6c88d41a7d69154e47ae1f3a04ff3d"></a><!-- doxytag: member="IpeUndoStack::RedoText" ref="8b6c88d41a7d69154e47ae1f3a04ff3d" args="() const" -->
195
 
<div class="memitem">
196
 
<div class="memproto">
197
 
      <table class="memname">
198
 
        <tr>
199
 
          <td class="memname"><a class="el" href="class_ipe_string.html">IpeString</a> IpeUndoStack::RedoText           </td>
200
 
          <td>(</td>
201
 
          <td class="paramname">          </td>
202
 
          <td>&nbsp;)&nbsp;</td>
203
 
          <td width="100%"> const</td>
204
 
        </tr>
205
 
      </table>
206
 
</div>
207
 
<div class="memdoc">
208
 
 
209
 
<p>
210
 
Return text for possible redo operation. 
211
 
<p>
212
 
 
213
 
</div>
214
 
</div><p>
215
 
<a class="anchor" name="183f7d7ec2f26030b63f176558aa4882"></a><!-- doxytag: member="IpeUndoStack::CanUndo" ref="183f7d7ec2f26030b63f176558aa4882" args="() const" -->
216
 
<div class="memitem">
217
 
<div class="memproto">
218
 
      <table class="memname">
219
 
        <tr>
220
 
          <td class="memname">bool IpeUndoStack::CanUndo           </td>
221
 
          <td>(</td>
222
 
          <td class="paramname">          </td>
223
 
          <td>&nbsp;)&nbsp;</td>
224
 
          <td width="100%"> const<code> [inline]</code></td>
225
 
        </tr>
226
 
      </table>
227
 
</div>
228
 
<div class="memdoc">
229
 
 
230
 
<p>
231
 
Is an Undo action available? 
232
 
<p>
233
 
 
234
 
</div>
235
 
</div><p>
236
 
<a class="anchor" name="e9cf411f5192ab64729206733ce22d61"></a><!-- doxytag: member="IpeUndoStack::CanRedo" ref="e9cf411f5192ab64729206733ce22d61" args="() const" -->
237
 
<div class="memitem">
238
 
<div class="memproto">
239
 
      <table class="memname">
240
 
        <tr>
241
 
          <td class="memname">bool IpeUndoStack::CanRedo           </td>
242
 
          <td>(</td>
243
 
          <td class="paramname">          </td>
244
 
          <td>&nbsp;)&nbsp;</td>
245
 
          <td width="100%"> const<code> [inline]</code></td>
246
 
        </tr>
247
 
      </table>
248
 
</div>
249
 
<div class="memdoc">
250
 
 
251
 
<p>
252
 
Is a Redo action available? 
253
 
<p>
254
 
 
255
 
</div>
256
 
</div><p>
257
 
<hr>The documentation for this class was generated from the following files:<ul>
258
 
<li>ipeundo.h<li>ipeundo.cpp</ul>
259
 
<hr>
260
 
</body></html>