\hypertarget{txt__desktop_8cpp}{
\section{textscreen/txt\_\-desktop.cpp File Reference}
\label{de/d4a/txt__desktop_8cpp}\index{textscreen/txt\_\-desktop.cpp@{textscreen/txt\_\-desktop.cpp}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{txt__desktop_8cpp_a8d79d69ec013c22c7fee901d7b6b0bac}{TXT\_\-AddDesktopWindow} (\hyperlink{structtxt__window__s}{txt\_\-window\_\-t} $\ast$win)
\item 
void \hyperlink{txt__desktop_8cpp_aef8cff477963cf0985fc25c2d0fd8958}{TXT\_\-RemoveDesktopWindow} (\hyperlink{structtxt__window__s}{txt\_\-window\_\-t} $\ast$win)
\item 
void \hyperlink{txt__desktop_8cpp_af1f0d8b3c9ca845edbc92829295624d0}{TXT\_\-SetDesktopTitle} (char $\ast$title)
\begin{DoxyCompactList}\small\item\em Set the title displayed at the top of the screen. \end{DoxyCompactList}\item 
void \hyperlink{txt__desktop_8cpp_ae042ce928ff3a88a75ac8b3106faf2d0}{TXT\_\-DrawDesktop} (void)
\item 
void \hyperlink{txt__desktop_8cpp_a7c45dcdd14e1463d5bea17ff1b704708}{TXT\_\-DispatchEvents} (void)
\item 
void \hyperlink{txt__desktop_8cpp_ad4d13d30b71dc6572c8143c5732b5e8f}{TXT\_\-ExitMainLoop} (void)
\begin{DoxyCompactList}\small\item\em Exit the currently-\/running main loop and return from the \hyperlink{txt__desktop_8h_ac2eabff3015fcc5754aab8379d51381d}{TXT\_\-GUIMainLoop} function. \end{DoxyCompactList}\item 
void \hyperlink{txt__desktop_8cpp_a12bcf34cf7fc6f799c9bfa35c1759e20}{TXT\_\-DrawASCIITable} (void)
\item 
void \hyperlink{txt__desktop_8cpp_ac2eabff3015fcc5754aab8379d51381d}{TXT\_\-GUIMainLoop} (void)
\begin{DoxyCompactList}\small\item\em Start the main event loop. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{txt__desktop_8cpp_a8d79d69ec013c22c7fee901d7b6b0bac}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-AddDesktopWindow@{TXT\_\-AddDesktopWindow}}
\index{TXT\_\-AddDesktopWindow@{TXT\_\-AddDesktopWindow}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-AddDesktopWindow}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-AddDesktopWindow (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-window\_\-t} $\ast$}]{win}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_a8d79d69ec013c22c7fee901d7b6b0bac}
\hypertarget{txt__desktop_8cpp_a7c45dcdd14e1463d5bea17ff1b704708}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-DispatchEvents@{TXT\_\-DispatchEvents}}
\index{TXT\_\-DispatchEvents@{TXT\_\-DispatchEvents}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-DispatchEvents}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-DispatchEvents (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_a7c45dcdd14e1463d5bea17ff1b704708}
\hypertarget{txt__desktop_8cpp_a12bcf34cf7fc6f799c9bfa35c1759e20}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-DrawASCIITable@{TXT\_\-DrawASCIITable}}
\index{TXT\_\-DrawASCIITable@{TXT\_\-DrawASCIITable}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-DrawASCIITable}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-DrawASCIITable (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_a12bcf34cf7fc6f799c9bfa35c1759e20}
\hypertarget{txt__desktop_8cpp_ae042ce928ff3a88a75ac8b3106faf2d0}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-DrawDesktop@{TXT\_\-DrawDesktop}}
\index{TXT\_\-DrawDesktop@{TXT\_\-DrawDesktop}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-DrawDesktop}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-DrawDesktop (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_ae042ce928ff3a88a75ac8b3106faf2d0}
\hypertarget{txt__desktop_8cpp_ad4d13d30b71dc6572c8143c5732b5e8f}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-ExitMainLoop@{TXT\_\-ExitMainLoop}}
\index{TXT\_\-ExitMainLoop@{TXT\_\-ExitMainLoop}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-ExitMainLoop}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-ExitMainLoop (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_ad4d13d30b71dc6572c8143c5732b5e8f}


Exit the currently-\/running main loop and return from the \hyperlink{txt__desktop_8h_ac2eabff3015fcc5754aab8379d51381d}{TXT\_\-GUIMainLoop} function. 

\hypertarget{txt__desktop_8cpp_ac2eabff3015fcc5754aab8379d51381d}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-GUIMainLoop@{TXT\_\-GUIMainLoop}}
\index{TXT\_\-GUIMainLoop@{TXT\_\-GUIMainLoop}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-GUIMainLoop}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-GUIMainLoop (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_ac2eabff3015fcc5754aab8379d51381d}


Start the main event loop. 

At least one window must have been opened prior to running this function. When no windows are left open, the event loop exits.

It is possible to trigger an exit from this function using the \hyperlink{txt__desktop_8h_ad4d13d30b71dc6572c8143c5732b5e8f}{TXT\_\-ExitMainLoop} function. \hypertarget{txt__desktop_8cpp_aef8cff477963cf0985fc25c2d0fd8958}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-RemoveDesktopWindow@{TXT\_\-RemoveDesktopWindow}}
\index{TXT\_\-RemoveDesktopWindow@{TXT\_\-RemoveDesktopWindow}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-RemoveDesktopWindow}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-RemoveDesktopWindow (
\begin{DoxyParamCaption}
\item[{{\bf txt\_\-window\_\-t} $\ast$}]{win}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_aef8cff477963cf0985fc25c2d0fd8958}
\hypertarget{txt__desktop_8cpp_af1f0d8b3c9ca845edbc92829295624d0}{
\index{txt\_\-desktop.cpp@{txt\_\-desktop.cpp}!TXT\_\-SetDesktopTitle@{TXT\_\-SetDesktopTitle}}
\index{TXT\_\-SetDesktopTitle@{TXT\_\-SetDesktopTitle}!txt_desktop.cpp@{txt\_\-desktop.cpp}}
\subsubsection[{TXT\_\-SetDesktopTitle}]{\setlength{\rightskip}{0pt plus 5cm}void TXT\_\-SetDesktopTitle (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{title}
\end{DoxyParamCaption}
)}}
\label{de/d4a/txt__desktop_8cpp_af1f0d8b3c9ca845edbc92829295624d0}


Set the title displayed at the top of the screen. 


\begin{DoxyParams}{Parameters}
{\em title} & The title to display. \\
\hline
\end{DoxyParams}
