]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/timer.tex
changed wxImage::Rescale() to return wxImage& and not void
[wxWidgets.git] / docs / latex / wx / timer.tex
index a3d297137c6198de04ebb697468ff89dcafb9859..4560342c9d2cf7ca6581aa6178979d663f4a0427 100644 (file)
@@ -15,7 +15,7 @@ Stop}, it's as simple as that.
 
 \wxheading{See also}
 
-\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}
+\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}, \helpref{wxStopWatch}{wxstopwatch}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
@@ -60,4 +60,48 @@ called. If TRUE, Notify will be called only once.
 
 Stops the timer.
 
+\section{\class{wxStopWatch}}\label{wxstopwatch}
 
+The wxStopWatch class allow you to measure time intervalls. 
+
+\wxheading{Include files}
+
+<wx/timer.h>
+
+\wxheading{See also}
+
+\helpref{::wxStartTimer}{wxstarttimer}, \helpref{::wxGetElapsedTime}{wxgetelapsedtime}, \helpref{wxTimer}{wxtimer}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxStopWatch::wxStopWatch}
+
+\func{}{wxStopWatch}{\void}
+
+Constructor. This starts the stop watch.
+
+\membersection{wxStopWatch::Pause}\label{wxstopwatchpause}
+
+\func{void}{Pause}{\void}
+
+Pauses the stop watch. Call \helpref{wxStopWatch::Resume}{wxstopwatchresume} to resume 
+time measuring again.
+
+\membersection{wxStopWatch::Start}
+
+\func{void}{Start}{\param{long}{ milliseconds = 0}}
+
+(Re)starts the stop watch with a given initial value.
+
+\membersection{wxStopWatch::Resume}\label{wxstopwatchresume}
+
+\func{void}{Resume}{\void}
+
+Resumes the stop watch after having been paused with \helpref{wxStopWatch::Pause}{wxstopwatchpause}.
+
+\membersection{wxStopWatch::Time}
+
+\func{long}{Time}{\void}\label{wxstopwatchtime}
+
+Returns the time in milliseconds since the start (or restart) or the last call of 
+\helpref{wxStopWatch::Pause}{wxstopwatchpause}.