]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/stopwtch.tex
added IsEditable
[wxWidgets.git] / docs / latex / wx / stopwtch.tex
CommitLineData
9c824f29
JS
1\section{\class{wxStopWatch}}\label{wxstopwatch}
2
f6bcfd97 3The wxStopWatch class allow you to measure time intervals.
9c824f29
JS
4
5\wxheading{Include files}
6
7<wx/timer.h>
8
9\wxheading{See also}
10
11\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}, \helpref{wxTimer}{wxtimer}
12
13\latexignore{\rtfignore{\wxheading{Members}}}
14
15\membersection{wxStopWatch::wxStopWatch}
16
17\func{}{wxStopWatch}{\void}
18
19Constructor. This starts the stop watch.
20
21\membersection{wxStopWatch::Pause}\label{wxstopwatchpause}
22
23\func{void}{Pause}{\void}
24
25Pauses the stop watch. Call \helpref{wxStopWatch::Resume}{wxstopwatchresume} to resume
26time measuring again.
27
28\membersection{wxStopWatch::Start}
29
30\func{void}{Start}{\param{long}{ milliseconds = 0}}
31
32(Re)starts the stop watch with a given initial value.
33
34\membersection{wxStopWatch::Resume}\label{wxstopwatchresume}
35
36\func{void}{Resume}{\void}
37
38Resumes the stop watch after having been paused with \helpref{wxStopWatch::Pause}{wxstopwatchpause}.
39
40\membersection{wxStopWatch::Time}
41
42\func{long}{Time}{\void}\label{wxstopwatchtime}
43
44Returns the time in milliseconds since the start (or restart) or the last call of
45\helpref{wxStopWatch::Pause}{wxstopwatchpause}.
46