]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxUpdateIterator}}\label{wxupdateiterator} | |
2 | ||
3 | This class is used to iterate through all damaged regions of a window, within an OnPaint call. | |
4 | ||
5 | To use it, construct an iterator object on the stack and loop through the | |
6 | regions, testing the object and incrementing the iterator at the end of the loop. | |
7 | ||
8 | See \helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint} for an example of use. | |
9 | ||
10 | \wxheading{Derived from} | |
11 | ||
12 | \helpref{wxObject}{wxobject} | |
13 | ||
14 | \wxheading{See also} | |
15 | ||
16 | \helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint} | |
17 | ||
18 | \latexignore{\rtfignore{\wxheading{Members}}} | |
19 | ||
20 | \membersection{wxUpdateIterator::wxUpdateIterator} | |
21 | ||
22 | \func{}{wxUpdateIterator}{\param{wxWindow* }{window}} | |
23 | ||
24 | Creates an iterator object. | |
25 | ||
26 | \membersection{wxUpdateIterator::GetX} | |
27 | ||
28 | \func{int}{GetX}{\void} | |
29 | ||
30 | Returns the x value for the current region. | |
31 | ||
32 | \membersection{wxUpdateIterator::GetY} | |
33 | ||
34 | \func{int}{GetY}{\void} | |
35 | ||
36 | Returns the y value for the current region. | |
37 | ||
38 | \membersection{wxUpdateIterator::GetWidth} | |
39 | ||
40 | \func{int}{GetWidth}{\void} | |
41 | ||
42 | Returns the width value for the current region. | |
43 | ||
44 | \membersection{wxUpdateIterator::GetHeight} | |
45 | ||
46 | \func{int}{GetWidth}{\void} | |
47 | ||
48 | Returns the width value for the current region. | |
49 | ||
50 | \membersection{wxUpdateIterator::operator $++$} | |
51 | ||
52 | \func{void}{operator $++$}{\void} | |
53 | ||
54 | Increments the iterator to the next region. | |
55 | ||
56 |