\hypertarget{txt__spinctrl_8h}{
\section{textscreen/txt\_\-spinctrl.h File Reference}
\label{d6/d38/txt__spinctrl_8h}\index{textscreen/txt\_\-spinctrl.h@{textscreen/txt\_\-spinctrl.h}}
}


Spin control widget.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structtxt__spincontrol__s}{txt\_\-spincontrol\_\-s}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structtxt__spincontrol__s}{txt\_\-spincontrol\_\-s} \hyperlink{txt__spinctrl_8h_a7af595d56dc197fc2264ed2965df7678}{txt\_\-spincontrol\_\-t}
\begin{DoxyCompactList}\small\item\em Spin control widget. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3}{txt\_\-spincontrol\_\-type\_\-t} \{ \hyperlink{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3a2581673df3ca8459977015f6deb4d135}{TXT\_\-SPINCONTROL\_\-INT}, 
\hyperlink{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3aa784a52e49c836d37376e60cacf69c07}{TXT\_\-SPINCONTROL\_\-FLOAT}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structtxt__spincontrol__s}{txt\_\-spincontrol\_\-t} $\ast$ \hyperlink{txt__spinctrl_8h_a3c9366b2d896e11272e69c0d52ef37ac}{TXT\_\-NewSpinControl} (int $\ast$value, int min, int max)
\begin{DoxyCompactList}\small\item\em Create a new spin control widget tracking an integer value. \end{DoxyCompactList}\item 
\hyperlink{structtxt__spincontrol__s}{txt\_\-spincontrol\_\-t} $\ast$ \hyperlink{txt__spinctrl_8h_a2a389268aa3f5e6f914c65b953ded837}{TXT\_\-NewFloatSpinControl} (float $\ast$value, float min, float max)
\begin{DoxyCompactList}\small\item\em Create a new spin control widget tracking a float value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Spin control widget. 

\subsection{Typedef Documentation}
\hypertarget{txt__spinctrl_8h_a7af595d56dc197fc2264ed2965df7678}{
\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!txt\_\-spincontrol\_\-t@{txt\_\-spincontrol\_\-t}}
\index{txt\_\-spincontrol\_\-t@{txt\_\-spincontrol\_\-t}!txt_spinctrl.h@{txt\_\-spinctrl.h}}
\subsubsection[{txt\_\-spincontrol\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf txt\_\-spincontrol\_\-s} {\bf txt\_\-spincontrol\_\-t}}}
\label{d6/d38/txt__spinctrl_8h_a7af595d56dc197fc2264ed2965df7678}


Spin control widget. 

A spin control widget works as an input box that can be used to set numeric values, but also has buttons that allow its value to be increased or decreased. 

\subsection{Enumeration Type Documentation}
\hypertarget{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3}{
\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!txt\_\-spincontrol\_\-type\_\-t@{txt\_\-spincontrol\_\-type\_\-t}}
\index{txt\_\-spincontrol\_\-type\_\-t@{txt\_\-spincontrol\_\-type\_\-t}!txt_spinctrl.h@{txt\_\-spinctrl.h}}
\subsubsection[{txt\_\-spincontrol\_\-type\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf txt\_\-spincontrol\_\-type\_\-t}}}
\label{d6/d38/txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3}
\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{TXT\_\-SPINCONTROL\_\-INT@{TXT\_\-SPINCONTROL\_\-INT}!txt\_\-spinctrl.h@{txt\_\-spinctrl.h}}\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!TXT\_\-SPINCONTROL\_\-INT@{TXT\_\-SPINCONTROL\_\-INT}}\item[{\em 
\hypertarget{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3a2581673df3ca8459977015f6deb4d135}{
TXT\_\-SPINCONTROL\_\-INT}
\label{d6/d38/txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3a2581673df3ca8459977015f6deb4d135}
}]\index{TXT\_\-SPINCONTROL\_\-FLOAT@{TXT\_\-SPINCONTROL\_\-FLOAT}!txt\_\-spinctrl.h@{txt\_\-spinctrl.h}}\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!TXT\_\-SPINCONTROL\_\-FLOAT@{TXT\_\-SPINCONTROL\_\-FLOAT}}\item[{\em 
\hypertarget{txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3aa784a52e49c836d37376e60cacf69c07}{
TXT\_\-SPINCONTROL\_\-FLOAT}
\label{d6/d38/txt__spinctrl_8h_a3a3d938b264dc63c646d520a3e982bf3aa784a52e49c836d37376e60cacf69c07}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{txt__spinctrl_8h_a2a389268aa3f5e6f914c65b953ded837}{
\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!TXT\_\-NewFloatSpinControl@{TXT\_\-NewFloatSpinControl}}
\index{TXT\_\-NewFloatSpinControl@{TXT\_\-NewFloatSpinControl}!txt_spinctrl.h@{txt\_\-spinctrl.h}}
\subsubsection[{TXT\_\-NewFloatSpinControl}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-spincontrol\_\-t}$\ast$ TXT\_\-NewFloatSpinControl (
\begin{DoxyParamCaption}
\item[{float $\ast$}]{value, }
\item[{float}]{min, }
\item[{float}]{max}
\end{DoxyParamCaption}
)}}
\label{d6/d38/txt__spinctrl_8h_a2a389268aa3f5e6f914c65b953ded837}


Create a new spin control widget tracking a float value. 


\begin{DoxyParams}{Parameters}
{\em value} & Pointer to the variable containing the value displayed in the widget. \\
\hline
{\em min} & Minimum value that may be set. \\
\hline
{\em max} & Maximum value that may be set. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new spin control widget. 
\end{DoxyReturn}
\hypertarget{txt__spinctrl_8h_a3c9366b2d896e11272e69c0d52ef37ac}{
\index{txt\_\-spinctrl.h@{txt\_\-spinctrl.h}!TXT\_\-NewSpinControl@{TXT\_\-NewSpinControl}}
\index{TXT\_\-NewSpinControl@{TXT\_\-NewSpinControl}!txt_spinctrl.h@{txt\_\-spinctrl.h}}
\subsubsection[{TXT\_\-NewSpinControl}]{\setlength{\rightskip}{0pt plus 5cm}{\bf txt\_\-spincontrol\_\-t}$\ast$ TXT\_\-NewSpinControl (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{value, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}}
\label{d6/d38/txt__spinctrl_8h_a3c9366b2d896e11272e69c0d52ef37ac}


Create a new spin control widget tracking an integer value. 


\begin{DoxyParams}{Parameters}
{\em value} & Pointer to the variable containing the value displayed in the widget. \\
\hline
{\em min} & Minimum value that may be set. \\
\hline
{\em max} & Maximum value that may be set. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the new spin control widget. 
\end{DoxyReturn}
