almost done

This commit is contained in:
mythsman
2016-11-19 14:42:34 +08:00
parent 567b255983
commit abbd810c02
304 changed files with 11 additions and 18167 deletions

View File

@@ -1604,7 +1604,7 @@ EXTRA_SEARCH_MAPPINGS =
# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
# The default value is: YES.
GENERATE_LATEX = YES
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of

View File

@@ -6,9 +6,9 @@
Guisan was forked from Guichan to create a simple GUI construction toolkit that is compatible with SDL 2.0.0+
It was originally forked from [![ORIGIN](https://github.com/kallisti5/guisan)](https://github.com/kallisti5/guisan).
It was originally forked from [https://github.com/kallisti5/guisan](https://github.com/kallisti5/guisan).
This version is modified by mythsman ,you can fork it from [![NEW](https://github.com/mythsman/guisan)](https://github.com/mythsman/guisan)
This version is modified by mythsman ,you can fork it from [https://github.com/mythsman/guisan](https://github.com/mythsman/guisan)
## New feature
* using makefile instead of scons

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -83,16 +83,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<img src="examples/guisan.png" alt="logo" title="GUISAN"/>
</div>
<h2>An SDL2 GUI construction toolkit</h2>
<p><a href="https://travis-ci.org/gbaudic/guisan"></a></p>
<p>Guisan was forked from Guichan to create a simple GUI construction toolkit that is compatible with SDL 2.0.0+</p>
<h2>Features:</h2>
<p>It was originally forked from <a href="https://github.com/kallisti5/guisan"></a>.</p>
<p>This version is modified by mythsman ,you can fork it from <a href="https://github.com/mythsman/guisan"></a></p>
<h2>New feature</h2>
<ul>
<li>Statically links to your applications to reduce runtime requirements</li>
<li>Small, but effective</li>
</ul>
<h2>Build requirements:</h2>
<ul>
<li>make</li>
<li>using makefile instead of scons</li>
<li>remove some useless files</li>
<li>add doxygen documentation</li>
<li>add windows support</li>
</ul>
<h2>Runtime requirements:</h2>
<ul>
@@ -102,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<li>SDL2_mixer</li>
</ul>
<h2>License:</h2>
<p>Released under the BSD license. See COPYING for more details </p><h1>guisan</h1>
<p>Released under the BSD license. See COPYING for more details </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>

View File

@@ -1,21 +0,0 @@
all: refman.pdf
pdf: refman.pdf
refman.pdf: clean refman.tex
pdflatex refman
makeindex refman.idx
pdflatex refman
latex_count=8 ; \
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
do \
echo "Rerunning latex...." ;\
pdflatex refman ;\
latex_count=`expr $$latex_count - 1` ;\
done
makeindex refman.idx
pdflatex refman
clean:
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf

View File

@@ -1,68 +0,0 @@
\section{Class List}
Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
\item\contentsline{section}{\hyperlink{classgcn_1_1ActionEvent}{gcn\+::\+Action\+Event} }{\pageref{classgcn_1_1ActionEvent}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ActionListener}{gcn\+::\+Action\+Listener} }{\pageref{classgcn_1_1ActionListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1BasicContainer}{gcn\+::\+Basic\+Container} }{\pageref{classgcn_1_1BasicContainer}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Button}{gcn\+::\+Button} }{\pageref{classgcn_1_1Button}}{}
\item\contentsline{section}{\hyperlink{classButtonActionListener}{Button\+Action\+Listener} }{\pageref{classButtonActionListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1CheckBox}{gcn\+::\+Check\+Box} }{\pageref{classgcn_1_1CheckBox}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ClipRectangle}{gcn\+::\+Clip\+Rectangle} }{\pageref{classgcn_1_1ClipRectangle}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Color}{gcn\+::\+Color} }{\pageref{classgcn_1_1Color}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Container}{gcn\+::\+Container} }{\pageref{classgcn_1_1Container}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1DeathListener}{gcn\+::\+Death\+Listener} }{\pageref{classgcn_1_1DeathListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1DefaultFont}{gcn\+::\+Default\+Font} }{\pageref{classgcn_1_1DefaultFont}}{}
\item\contentsline{section}{\hyperlink{classDemoListModel}{Demo\+List\+Model} }{\pageref{classDemoListModel}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1DropDown}{gcn\+::\+Drop\+Down} }{\pageref{classgcn_1_1DropDown}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Event}{gcn\+::\+Event} }{\pageref{classgcn_1_1Event}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Exception}{gcn\+::\+Exception} }{\pageref{classgcn_1_1Exception}}{}
\item\contentsline{section}{\hyperlink{classFFCharacterChooser}{F\+F\+Character\+Chooser} }{\pageref{classFFCharacterChooser}}{}
\item\contentsline{section}{\hyperlink{classFFContainer}{F\+F\+Container} }{\pageref{classFFContainer}}{}
\item\contentsline{section}{\hyperlink{classFFDemo}{F\+F\+Demo} }{\pageref{classFFDemo}}{}
\item\contentsline{section}{\hyperlink{classFFListBox}{F\+F\+List\+Box} }{\pageref{classFFListBox}}{}
\item\contentsline{section}{\hyperlink{classFFScrollArea}{F\+F\+Scroll\+Area} }{\pageref{classFFScrollArea}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1FocusHandler}{gcn\+::\+Focus\+Handler} }{\pageref{classgcn_1_1FocusHandler}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1FocusListener}{gcn\+::\+Focus\+Listener} }{\pageref{classgcn_1_1FocusListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Font}{gcn\+::\+Font} }{\pageref{classgcn_1_1Font}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1GenericInput}{gcn\+::\+Generic\+Input} }{\pageref{classgcn_1_1GenericInput}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Graphics}{gcn\+::\+Graphics} }{\pageref{classgcn_1_1Graphics}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Gui}{gcn\+::\+Gui} }{\pageref{classgcn_1_1Gui}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Icon}{gcn\+::\+Icon} }{\pageref{classgcn_1_1Icon}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Image}{gcn\+::\+Image} }{\pageref{classgcn_1_1Image}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ImageButton}{gcn\+::\+Image\+Button} }{\pageref{classgcn_1_1ImageButton}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ImageFont}{gcn\+::\+Image\+Font} }{\pageref{classgcn_1_1ImageFont}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ImageLoader}{gcn\+::\+Image\+Loader} }{\pageref{classgcn_1_1ImageLoader}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Input}{gcn\+::\+Input} }{\pageref{classgcn_1_1Input}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1InputEvent}{gcn\+::\+Input\+Event} }{\pageref{classgcn_1_1InputEvent}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Key}{gcn\+::\+Key} }{\pageref{classgcn_1_1Key}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1KeyEvent}{gcn\+::\+Key\+Event} }{\pageref{classgcn_1_1KeyEvent}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1KeyInput}{gcn\+::\+Key\+Input} }{\pageref{classgcn_1_1KeyInput}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1KeyListener}{gcn\+::\+Key\+Listener} }{\pageref{classgcn_1_1KeyListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Label}{gcn\+::\+Label} }{\pageref{classgcn_1_1Label}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ListBox}{gcn\+::\+List\+Box} }{\pageref{classgcn_1_1ListBox}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ListModel}{gcn\+::\+List\+Model} }{\pageref{classgcn_1_1ListModel}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1MouseEvent}{gcn\+::\+Mouse\+Event} }{\pageref{classgcn_1_1MouseEvent}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1MouseInput}{gcn\+::\+Mouse\+Input} }{\pageref{classgcn_1_1MouseInput}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1MouseListener}{gcn\+::\+Mouse\+Listener} }{\pageref{classgcn_1_1MouseListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1OpenGLGraphics}{gcn\+::\+Open\+G\+L\+Graphics} }{\pageref{classgcn_1_1OpenGLGraphics}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1OpenGLImage}{gcn\+::\+Open\+G\+L\+Image} }{\pageref{classgcn_1_1OpenGLImage}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1OpenGLSDLImageLoader}{gcn\+::\+Open\+G\+L\+S\+D\+L\+Image\+Loader} }{\pageref{classgcn_1_1OpenGLSDLImageLoader}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1RadioButton}{gcn\+::\+Radio\+Button} }{\pageref{classgcn_1_1RadioButton}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Rectangle}{gcn\+::\+Rectangle} }{\pageref{classgcn_1_1Rectangle}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1ScrollArea}{gcn\+::\+Scroll\+Area} }{\pageref{classgcn_1_1ScrollArea}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SDLGraphics}{gcn\+::\+S\+D\+L\+Graphics} }{\pageref{classgcn_1_1SDLGraphics}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SDLImage}{gcn\+::\+S\+D\+L\+Image} }{\pageref{classgcn_1_1SDLImage}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SDLImageLoader}{gcn\+::\+S\+D\+L\+Image\+Loader} }{\pageref{classgcn_1_1SDLImageLoader}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SDLInput}{gcn\+::\+S\+D\+L\+Input} }{\pageref{classgcn_1_1SDLInput}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SDLTrueTypeFont}{gcn\+::\+S\+D\+L\+True\+Type\+Font} }{\pageref{classgcn_1_1SDLTrueTypeFont}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SelectionEvent}{gcn\+::\+Selection\+Event} }{\pageref{classgcn_1_1SelectionEvent}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1SelectionListener}{gcn\+::\+Selection\+Listener} }{\pageref{classgcn_1_1SelectionListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Slider}{gcn\+::\+Slider} }{\pageref{classgcn_1_1Slider}}{}
\item\contentsline{section}{\hyperlink{classStringListModel}{String\+List\+Model} }{\pageref{classStringListModel}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Tab}{gcn\+::\+Tab} }{\pageref{classgcn_1_1Tab}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1TabbedArea}{gcn\+::\+Tabbed\+Area} }{\pageref{classgcn_1_1TabbedArea}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1TextBox}{gcn\+::\+Text\+Box} }{\pageref{classgcn_1_1TextBox}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1TextField}{gcn\+::\+Text\+Field} }{\pageref{classgcn_1_1TextField}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Widget}{gcn\+::\+Widget} }{\pageref{classgcn_1_1Widget}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1WidgetListener}{gcn\+::\+Widget\+Listener} }{\pageref{classgcn_1_1WidgetListener}}{}
\item\contentsline{section}{\hyperlink{classgcn_1_1Window}{gcn\+::\+Window} }{\pageref{classgcn_1_1Window}}{}
\end{DoxyCompactList}

View File

@@ -1,54 +0,0 @@
\hypertarget{classButtonActionListener}{}\section{Button\+Action\+Listener Class Reference}
\label{classButtonActionListener}\index{Button\+Action\+Listener@{Button\+Action\+Listener}}
Inheritance diagram for Button\+Action\+Listener\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{classButtonActionListener__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Button\+Action\+Listener\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{classButtonActionListener__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classButtonActionListener_af6e587e3bdc21b68493b303af2753483}{action} (const \hyperlink{classgcn_1_1ActionEvent}{gcn\+::\+Action\+Event} \&action\+Event)
\end{DoxyCompactItemize}
\subsection{Member Function Documentation}
\index{Button\+Action\+Listener@{Button\+Action\+Listener}!action@{action}}
\index{action@{action}!Button\+Action\+Listener@{Button\+Action\+Listener}}
\subsubsection[{\texorpdfstring{action(const gcn\+::\+Action\+Event \&action\+Event)}{action(const gcn::ActionEvent &actionEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void Button\+Action\+Listener\+::action (
\begin{DoxyParamCaption}
\item[{const {\bf gcn\+::\+Action\+Event} \&}]{action\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classButtonActionListener_af6e587e3bdc21b68493b303af2753483}{}\label{classButtonActionListener_af6e587e3bdc21b68493b303af2753483}
Called when an action is recieved from a Widget. It is used to be able to recieve a notification that an action has occured.
\begin{DoxyParams}{Parameters}
{\em action\+Event} & the event of the action. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Implements \hyperlink{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}{gcn\+::\+Action\+Listener}.
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
examples/sdlaction.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
28747143ecaf58354a25ff713867ac00

View File

@@ -1 +0,0 @@
28747143ecaf58354a25ff713867ac00

View File

@@ -1,114 +0,0 @@
\hypertarget{classDemoListModel}{}\section{Demo\+List\+Model Class Reference}
\label{classDemoListModel}\index{Demo\+List\+Model@{Demo\+List\+Model}}
Inheritance diagram for Demo\+List\+Model\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=165pt]{classDemoListModel__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Demo\+List\+Model\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=165pt]{classDemoListModel__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
int \hyperlink{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}{get\+Number\+Of\+Elements} ()
\item
std\+::string \hyperlink{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}{get\+Element\+At} (int i)
\item
int \hyperlink{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}{get\+Number\+Of\+Elements} ()
\item
std\+::string \hyperlink{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}{get\+Element\+At} (int i)
\end{DoxyCompactItemize}
\subsection{Member Function Documentation}
\index{Demo\+List\+Model@{Demo\+List\+Model}!get\+Element\+At@{get\+Element\+At}}
\index{get\+Element\+At@{get\+Element\+At}!Demo\+List\+Model@{Demo\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Element\+At(int i)}{getElementAt(int i)}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string Demo\+List\+Model\+::get\+Element\+At (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}{}\label{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}
Gets an element at a certain index in the list.
\begin{DoxyParams}{Parameters}
{\em i} & an index in the list. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an element as a string.
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_a60c9432c539666c3e2ac6a2bee91e87f}{gcn\+::\+List\+Model}.
\index{Demo\+List\+Model@{Demo\+List\+Model}!get\+Element\+At@{get\+Element\+At}}
\index{get\+Element\+At@{get\+Element\+At}!Demo\+List\+Model@{Demo\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Element\+At(int i)}{getElementAt(int i)}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string Demo\+List\+Model\+::get\+Element\+At (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}{}\label{classDemoListModel_a7df8cb4e14e5cf7b8859e91ab97ba8e7}
Gets an element at a certain index in the list.
\begin{DoxyParams}{Parameters}
{\em i} & an index in the list. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an element as a string.
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_a60c9432c539666c3e2ac6a2bee91e87f}{gcn\+::\+List\+Model}.
\index{Demo\+List\+Model@{Demo\+List\+Model}!get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}}
\index{get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}!Demo\+List\+Model@{Demo\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Number\+Of\+Elements()}{getNumberOfElements()}}]{\setlength{\rightskip}{0pt plus 5cm}int Demo\+List\+Model\+::get\+Number\+Of\+Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}{}\label{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}
Gets the number of elements in the List\+Model.
\begin{DoxyReturn}{Returns}
the number of elements in the List\+Model
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_afc92c70252b9888f22b0164bc28f452c}{gcn\+::\+List\+Model}.
\index{Demo\+List\+Model@{Demo\+List\+Model}!get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}}
\index{get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}!Demo\+List\+Model@{Demo\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Number\+Of\+Elements()}{getNumberOfElements()}}]{\setlength{\rightskip}{0pt plus 5cm}int Demo\+List\+Model\+::get\+Number\+Of\+Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}{}\label{classDemoListModel_a117af5914b15d9e2ed8350017a6e7b87}
Gets the number of elements in the List\+Model.
\begin{DoxyReturn}{Returns}
the number of elements in the List\+Model
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_afc92c70252b9888f22b0164bc28f452c}{gcn\+::\+List\+Model}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
examples/openglwidgets.\+cpp\item
examples/sdlwidgets.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
b2d7b9eb6ac09df98ec941ca8e3ea8de

View File

@@ -1 +0,0 @@
b2d7b9eb6ac09df98ec941ca8e3ea8de

View File

@@ -1,82 +0,0 @@
\hypertarget{classFFCharacterChooser}{}\section{F\+F\+Character\+Chooser Class Reference}
\label{classFFCharacterChooser}\index{F\+F\+Character\+Chooser@{F\+F\+Character\+Chooser}}
Inheritance diagram for F\+F\+Character\+Chooser\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=258pt]{classFFCharacterChooser__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for F\+F\+Character\+Chooser\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFCharacterChooser__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classFFCharacterChooser_a5201030dd120d58eb0470269649a3541}{draw} (\hyperlink{classgcn_1_1Graphics}{gcn\+::\+Graphics} $\ast$graphics)
\item
int {\bfseries get\+Selected} ()\hypertarget{classFFCharacterChooser_a45a2b60a3a6e36b5f5ab8c482995f4ca}{}\label{classFFCharacterChooser_a45a2b60a3a6e36b5f5ab8c482995f4ca}
\item
void {\bfseries set\+Selected} (int selected)\hypertarget{classFFCharacterChooser_af195b46f2389b2a72d287344316fa795}{}\label{classFFCharacterChooser_af195b46f2389b2a72d287344316fa795}
\item
void {\bfseries set\+Distance} (int distance)\hypertarget{classFFCharacterChooser_a9f4cb567c877350287a85f8688f86e32}{}\label{classFFCharacterChooser_a9f4cb567c877350287a85f8688f86e32}
\item
void \hyperlink{classFFCharacterChooser_a34d12f0a5f7588ee8dc36da24a75c7df}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{gcn\+::\+Key\+Event} \&key\+Event)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\index{F\+F\+Character\+Chooser@{F\+F\+Character\+Chooser}!draw@{draw}}
\index{draw@{draw}!F\+F\+Character\+Chooser@{F\+F\+Character\+Chooser}}
\subsubsection[{\texorpdfstring{draw(gcn\+::\+Graphics $\ast$graphics)}{draw(gcn::Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Character\+Chooser\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFCharacterChooser_a5201030dd120d58eb0470269649a3541}{}\label{classFFCharacterChooser_a5201030dd120d58eb0470269649a3541}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a Graphics object to draw with. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Widget_acc595221d6a2d1afe1043c16dc37d212}{gcn\+::\+Widget}.
\index{F\+F\+Character\+Chooser@{F\+F\+Character\+Chooser}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!F\+F\+Character\+Chooser@{F\+F\+Character\+Chooser}}
\subsubsection[{\texorpdfstring{key\+Pressed(gcn\+::\+Key\+Event \&key\+Event)}{keyPressed(gcn::KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Character\+Chooser\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFCharacterChooser_a34d12f0a5f7588ee8dc36da24a75c7df}{}\label{classFFCharacterChooser_a34d12f0a5f7588ee8dc36da24a75c7df}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
demo/include/ffcharacterchooser.\+hpp\item
demo/src/ffcharacterchooser.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
b077de284f0c20254038d4851a49fca8

View File

@@ -1 +0,0 @@
09ece1013f0691d5f5aac1a30a1ba3de

View File

@@ -1,104 +0,0 @@
\hypertarget{classFFContainer}{}\section{F\+F\+Container Class Reference}
\label{classFFContainer}\index{F\+F\+Container@{F\+F\+Container}}
Inheritance diagram for F\+F\+Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=266pt]{classFFContainer__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for F\+F\+Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFContainer__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classFFContainer_a5d53541089f719665bfc2d689dab89c6}{logic} ()
\item
void \hyperlink{classFFContainer_a42352820e4ed070f831a84a8b51451c6}{draw} (\hyperlink{classgcn_1_1Graphics}{gcn\+::\+Graphics} $\ast$graphics)
\item
void {\bfseries set\+Visible} (bool visible)\hypertarget{classFFContainer_a7b79e941fd38a871b2b893858b786ce1}{}\label{classFFContainer_a7b79e941fd38a871b2b893858b786ce1}
\item
void {\bfseries set\+Width} (int width)\hypertarget{classFFContainer_a4f1f5ba45a48ecfba79e7ec88ee6b010}{}\label{classFFContainer_a4f1f5ba45a48ecfba79e7ec88ee6b010}
\item
void {\bfseries set\+Height} (int width)\hypertarget{classFFContainer_aa91986bab12d8ea8598d8b712959f40f}{}\label{classFFContainer_aa91986bab12d8ea8598d8b712959f40f}
\item
void {\bfseries set\+Dimension} (const \hyperlink{classgcn_1_1Rectangle}{gcn\+::\+Rectangle} \&dimension)\hypertarget{classFFContainer_a271182e93c5317594d5e71e4db3074ae}{}\label{classFFContainer_a271182e93c5317594d5e71e4db3074ae}
\item
void {\bfseries slide\+Content\+To} (int y)\hypertarget{classFFContainer_a551953811ba44c76aad11733897f7960}{}\label{classFFContainer_a551953811ba44c76aad11733897f7960}
\item
\hyperlink{classgcn_1_1Rectangle}{gcn\+::\+Rectangle} \hyperlink{classFFContainer_af509106f3e9c8d69e821d864abfa1f7d}{get\+Children\+Area} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\index{F\+F\+Container@{F\+F\+Container}!draw@{draw}}
\index{draw@{draw}!F\+F\+Container@{F\+F\+Container}}
\subsubsection[{\texorpdfstring{draw(gcn\+::\+Graphics $\ast$graphics)}{draw(gcn::Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Container\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFContainer_a42352820e4ed070f831a84a8b51451c6}{}\label{classFFContainer_a42352820e4ed070f831a84a8b51451c6}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a Graphics object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Container_a0bc3386f5564165fcb13e9d389a96432}{gcn\+::\+Container}.
\index{F\+F\+Container@{F\+F\+Container}!get\+Children\+Area@{get\+Children\+Area}}
\index{get\+Children\+Area@{get\+Children\+Area}!F\+F\+Container@{F\+F\+Container}}
\subsubsection[{\texorpdfstring{get\+Children\+Area()}{getChildrenArea()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf gcn\+::\+Rectangle} F\+F\+Container\+::get\+Children\+Area (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFContainer_af509106f3e9c8d69e821d864abfa1f7d}{}\label{classFFContainer_af509106f3e9c8d69e821d864abfa1f7d}
Gets the subarea of the widget that the children occupy.
\begin{DoxyReturn}{Returns}
the subarea as a Rectangle.
\end{DoxyReturn}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a8ed853146d726cb3bc5d109ad52203d6}{gcn\+::\+Basic\+Container}.
\index{F\+F\+Container@{F\+F\+Container}!logic@{logic}}
\index{logic@{logic}!F\+F\+Container@{F\+F\+Container}}
\subsubsection[{\texorpdfstring{logic()}{logic()}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Container\+::logic (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFContainer_a5d53541089f719665bfc2d689dab89c6}{}\label{classFFContainer_a5d53541089f719665bfc2d689dab89c6}
Called for all widgets in the gui each time Gui\+::logic is called. You can do logic stuff here like playing an animation.
\begin{DoxySeeAlso}{See also}
Gui
\end{DoxySeeAlso}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a65972968364c62bf244985b2900eaf25}{gcn\+::\+Basic\+Container}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
demo/include/ffcontainer.\+hpp\item
demo/src/ffcontainer.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
11187e68fa87b4c9a83a9bcf4fb78e64

View File

@@ -1 +0,0 @@
524844404c9d79556f09c2629a084bfc

View File

@@ -1,79 +0,0 @@
\hypertarget{classFFDemo}{}\section{F\+F\+Demo Class Reference}
\label{classFFDemo}\index{F\+F\+Demo@{F\+F\+Demo}}
Inheritance diagram for F\+F\+Demo\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=290pt]{classFFDemo__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for F\+F\+Demo\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=290pt]{classFFDemo__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void {\bfseries run} ()\hypertarget{classFFDemo_ae138571c8d71404ca992bb2d7b9ae658}{}\label{classFFDemo_ae138571c8d71404ca992bb2d7b9ae658}
\item
void \hyperlink{classFFDemo_ab7c02fe745edd2e4de4a9fd17b30abc2}{action} (const \hyperlink{classgcn_1_1ActionEvent}{gcn\+::\+Action\+Event} \&action\+Event)
\item
void \hyperlink{classFFDemo_a0307231911726663da3e9f641601ada5}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{gcn\+::\+Key\+Event} \&key\+Event)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\index{F\+F\+Demo@{F\+F\+Demo}!action@{action}}
\index{action@{action}!F\+F\+Demo@{F\+F\+Demo}}
\subsubsection[{\texorpdfstring{action(const gcn\+::\+Action\+Event \&action\+Event)}{action(const gcn::ActionEvent &actionEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Demo\+::action (
\begin{DoxyParamCaption}
\item[{const {\bf gcn\+::\+Action\+Event} \&}]{action\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFDemo_ab7c02fe745edd2e4de4a9fd17b30abc2}{}\label{classFFDemo_ab7c02fe745edd2e4de4a9fd17b30abc2}
Called when an action is recieved from a Widget. It is used to be able to recieve a notification that an action has occured.
\begin{DoxyParams}{Parameters}
{\em action\+Event} & the event of the action. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Implements \hyperlink{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}{gcn\+::\+Action\+Listener}.
\index{F\+F\+Demo@{F\+F\+Demo}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!F\+F\+Demo@{F\+F\+Demo}}
\subsubsection[{\texorpdfstring{key\+Pressed(gcn\+::\+Key\+Event \&key\+Event)}{keyPressed(gcn::KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Demo\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFDemo_a0307231911726663da3e9f641601ada5}{}\label{classFFDemo_a0307231911726663da3e9f641601ada5}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
demo/include/ffdemo.\+hpp\item
demo/src/ffdemo.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
d12e83fa01df8a753daf5e2eb25eb28c

View File

@@ -1 +0,0 @@
d12e83fa01df8a753daf5e2eb25eb28c

View File

@@ -1,58 +0,0 @@
\hypertarget{classFFListBox}{}\section{F\+F\+List\+Box Class Reference}
\label{classFFListBox}\index{F\+F\+List\+Box@{F\+F\+List\+Box}}
Inheritance diagram for F\+F\+List\+Box\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFListBox__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for F\+F\+List\+Box\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFListBox__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classFFListBox_a37cb82f6ca370d2065107079454b086d}{draw} (\hyperlink{classgcn_1_1Graphics}{gcn\+::\+Graphics} $\ast$graphics)
\item
void {\bfseries set\+Selected} (int i)\hypertarget{classFFListBox_ac1ed7a25db5b010b15918366756be2db}{}\label{classFFListBox_ac1ed7a25db5b010b15918366756be2db}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\index{F\+F\+List\+Box@{F\+F\+List\+Box}!draw@{draw}}
\index{draw@{draw}!F\+F\+List\+Box@{F\+F\+List\+Box}}
\subsubsection[{\texorpdfstring{draw(gcn\+::\+Graphics $\ast$graphics)}{draw(gcn::Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+List\+Box\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFListBox_a37cb82f6ca370d2065107079454b086d}{}\label{classFFListBox_a37cb82f6ca370d2065107079454b086d}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a Graphics object to draw with. \\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000001}{Todo}]Check cliprects so we do not have to iterate over elements in the list model \end{DoxyRefDesc}
Reimplemented from \hyperlink{classgcn_1_1ListBox_a6c12d3659318a214896f56ab704a78b6}{gcn\+::\+List\+Box}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
demo/include/fflistbox.\+hpp\item
demo/src/fflistbox.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
582ccc3498872f65fa6027cdb64d760c

View File

@@ -1 +0,0 @@
ae915be0b8ee0d165f42b6f8b97af0f2

View File

@@ -1,73 +0,0 @@
\hypertarget{classFFScrollArea}{}\section{F\+F\+Scroll\+Area Class Reference}
\label{classFFScrollArea}\index{F\+F\+Scroll\+Area@{F\+F\+Scroll\+Area}}
Inheritance diagram for F\+F\+Scroll\+Area\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFScrollArea__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for F\+F\+Scroll\+Area\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classFFScrollArea__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classFFScrollArea_a79b4d005445cb2909e355ad75c19021b}{draw} (\hyperlink{classgcn_1_1Graphics}{gcn\+::\+Graphics} $\ast$graphics)
\item
void \hyperlink{classFFScrollArea_ae66ca9f4f9e738fd30af79b2517ca95f}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{gcn\+::\+Key\+Event} \&key\+Event)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\index{F\+F\+Scroll\+Area@{F\+F\+Scroll\+Area}!draw@{draw}}
\index{draw@{draw}!F\+F\+Scroll\+Area@{F\+F\+Scroll\+Area}}
\subsubsection[{\texorpdfstring{draw(gcn\+::\+Graphics $\ast$graphics)}{draw(gcn::Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Scroll\+Area\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFScrollArea_a79b4d005445cb2909e355ad75c19021b}{}\label{classFFScrollArea_a79b4d005445cb2909e355ad75c19021b}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a Graphics object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1ScrollArea_a2bab40dcb6d851aec51104efb934744c}{gcn\+::\+Scroll\+Area}.
\index{F\+F\+Scroll\+Area@{F\+F\+Scroll\+Area}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!F\+F\+Scroll\+Area@{F\+F\+Scroll\+Area}}
\subsubsection[{\texorpdfstring{key\+Pressed(gcn\+::\+Key\+Event \&key\+Event)}{keyPressed(gcn::KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void F\+F\+Scroll\+Area\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf gcn\+::\+Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classFFScrollArea_ae66ca9f4f9e738fd30af79b2517ca95f}{}\label{classFFScrollArea_ae66ca9f4f9e738fd30af79b2517ca95f}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
demo/include/ffscrollarea.\+hpp\item
demo/src/ffscrollarea.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
f1a3bd9073bc090b335ddc952752ad40

View File

@@ -1 +0,0 @@
b5cc9c44a28fa80c7d1f9f5ebc2deb36

View File

@@ -1,75 +0,0 @@
\hypertarget{classStringListModel}{}\section{String\+List\+Model Class Reference}
\label{classStringListModel}\index{String\+List\+Model@{String\+List\+Model}}
Inheritance diagram for String\+List\+Model\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=164pt]{classStringListModel__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for String\+List\+Model\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=164pt]{classStringListModel__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
int \hyperlink{classStringListModel_a780110add6a7813db1e09458b0f64de4}{get\+Number\+Of\+Elements} ()
\item
std\+::string \hyperlink{classStringListModel_a39ff68874c8ebf82762de4ff6c56848d}{get\+Element\+At} (int i)
\item
void {\bfseries add} (std\+::string str)\hypertarget{classStringListModel_a017dd0a0979293d40309406413a21043}{}\label{classStringListModel_a017dd0a0979293d40309406413a21043}
\end{DoxyCompactItemize}
\subsection{Member Function Documentation}
\index{String\+List\+Model@{String\+List\+Model}!get\+Element\+At@{get\+Element\+At}}
\index{get\+Element\+At@{get\+Element\+At}!String\+List\+Model@{String\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Element\+At(int i)}{getElementAt(int i)}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string String\+List\+Model\+::get\+Element\+At (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classStringListModel_a39ff68874c8ebf82762de4ff6c56848d}{}\label{classStringListModel_a39ff68874c8ebf82762de4ff6c56848d}
Gets an element at a certain index in the list.
\begin{DoxyParams}{Parameters}
{\em i} & an index in the list. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an element as a string.
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_a60c9432c539666c3e2ac6a2bee91e87f}{gcn\+::\+List\+Model}.
\index{String\+List\+Model@{String\+List\+Model}!get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}}
\index{get\+Number\+Of\+Elements@{get\+Number\+Of\+Elements}!String\+List\+Model@{String\+List\+Model}}
\subsubsection[{\texorpdfstring{get\+Number\+Of\+Elements()}{getNumberOfElements()}}]{\setlength{\rightskip}{0pt plus 5cm}int String\+List\+Model\+::get\+Number\+Of\+Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classStringListModel_a780110add6a7813db1e09458b0f64de4}{}\label{classStringListModel_a780110add6a7813db1e09458b0f64de4}
Gets the number of elements in the List\+Model.
\begin{DoxyReturn}{Returns}
the number of elements in the List\+Model
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1ListModel_afc92c70252b9888f22b0164bc28f452c}{gcn\+::\+List\+Model}.
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
demo/include/stringlistmodel.\+hpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
65c5b02ed9a8fc7e0e413cf63fb201b6

View File

@@ -1 +0,0 @@
65c5b02ed9a8fc7e0e413cf63fb201b6

View File

@@ -1,98 +0,0 @@
\hypertarget{classgcn_1_1ActionEvent}{}\section{gcn\+:\+:Action\+Event Class Reference}
\label{classgcn_1_1ActionEvent}\index{gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}}
{\ttfamily \#include $<$actionevent.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Action\+Event\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=172pt]{classgcn_1_1ActionEvent__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Action\+Event\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1ActionEvent__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1ActionEvent_a7faee078e4958189de374050938a29d3}{Action\+Event} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$source, const std\+::string \&id)
\item
virtual \hyperlink{classgcn_1_1ActionEvent_a9a87295a8d0d8897ddf49e3d53c522f0}{$\sim$\+Action\+Event} ()
\item
const std\+::string \& \hyperlink{classgcn_1_1ActionEvent_a070935e55b7c64a8f1140dcba8d1391a}{get\+Id} () const
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
std\+::string {\bfseries m\+Id}\hypertarget{classgcn_1_1ActionEvent_ac566911bc28a3d4f8dffbd82548f3e6e}{}\label{classgcn_1_1ActionEvent_ac566911bc28a3d4f8dffbd82548f3e6e}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Represents an action event.
\begin{DoxyAuthor}{Author}
Olof Naess<73>n
\end{DoxyAuthor}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}!Action\+Event@{Action\+Event}}
\index{Action\+Event@{Action\+Event}!gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}}
\subsubsection[{\texorpdfstring{Action\+Event(\+Widget $\ast$source, const std\+::string \&id)}{ActionEvent(Widget *source, const std::string &id)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Action\+Event\+::\+Action\+Event (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{source, }
\item[{const std\+::string \&}]{id}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1ActionEvent_a7faee078e4958189de374050938a29d3}{}\label{classgcn_1_1ActionEvent_a7faee078e4958189de374050938a29d3}
Constructor.
\begin{DoxyParams}{Parameters}
{\em source} & the source widget of the event. \\
\hline
{\em id} & the identifier of the event. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}!````~Action\+Event@{$\sim$\+Action\+Event}}
\index{````~Action\+Event@{$\sim$\+Action\+Event}!gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}}
\subsubsection[{\texorpdfstring{$\sim$\+Action\+Event()}{~ActionEvent()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Action\+Event\+::$\sim$\+Action\+Event (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1ActionEvent_a9a87295a8d0d8897ddf49e3d53c522f0}{}\label{classgcn_1_1ActionEvent_a9a87295a8d0d8897ddf49e3d53c522f0}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}!get\+Id@{get\+Id}}
\index{get\+Id@{get\+Id}!gcn\+::\+Action\+Event@{gcn\+::\+Action\+Event}}
\subsubsection[{\texorpdfstring{get\+Id() const }{getId() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Action\+Event\+::get\+Id (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1ActionEvent_a070935e55b7c64a8f1140dcba8d1391a}{}\label{classgcn_1_1ActionEvent_a070935e55b7c64a8f1140dcba8d1391a}
Gets the id of the event.
\begin{DoxyReturn}{Returns}
the id of the event.
\end{DoxyReturn}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/actionevent.\+hpp\item
src/actionevent.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
69a7b214809e87460a9ee0fe28efd473

View File

@@ -1 +0,0 @@
833193cfb636d2a94cc87b759aee2cd6

View File

@@ -1,74 +0,0 @@
\hypertarget{classgcn_1_1ActionListener}{}\section{gcn\+:\+:Action\+Listener Class Reference}
\label{classgcn_1_1ActionListener}\index{gcn\+::\+Action\+Listener@{gcn\+::\+Action\+Listener}}
{\ttfamily \#include $<$actionlistener.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Action\+Listener\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1ActionListener__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
virtual \hyperlink{classgcn_1_1ActionListener_a15539005829890078792ce695260114b}{$\sim$\+Action\+Listener} ()
\item
virtual void \hyperlink{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}{action} (const \hyperlink{classgcn_1_1ActionEvent}{Action\+Event} \&action\+Event)=0
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Listener of action events from Widgets. To be able to listen for actions you must make a class which inherits from this class and implements the action function.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Widget_a2782a478efbb087830884d9f2dc8b487}{Widget\+::add\+Action\+Listener}
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Olof Naess<73>n
Per Larsson
\end{DoxyAuthor}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Action\+Listener@{gcn\+::\+Action\+Listener}!````~Action\+Listener@{$\sim$\+Action\+Listener}}
\index{````~Action\+Listener@{$\sim$\+Action\+Listener}!gcn\+::\+Action\+Listener@{gcn\+::\+Action\+Listener}}
\subsubsection[{\texorpdfstring{$\sim$\+Action\+Listener()}{~ActionListener()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual gcn\+::\+Action\+Listener\+::$\sim$\+Action\+Listener (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1ActionListener_a15539005829890078792ce695260114b}{}\label{classgcn_1_1ActionListener_a15539005829890078792ce695260114b}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Action\+Listener@{gcn\+::\+Action\+Listener}!action@{action}}
\index{action@{action}!gcn\+::\+Action\+Listener@{gcn\+::\+Action\+Listener}}
\subsubsection[{\texorpdfstring{action(const Action\+Event \&action\+Event)=0}{action(const ActionEvent &actionEvent)=0}}]{\setlength{\rightskip}{0pt plus 5cm}virtual void gcn\+::\+Action\+Listener\+::action (
\begin{DoxyParamCaption}
\item[{const {\bf Action\+Event} \&}]{action\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\hypertarget{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}{}\label{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}
Called when an action is recieved from a \hyperlink{classgcn_1_1Widget}{Widget}. It is used to be able to recieve a notification that an action has occured.
\begin{DoxyParams}{Parameters}
{\em action\+Event} & the event of the action. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Implemented in \hyperlink{classgcn_1_1DropDown_aed63325d931d3d9d3df7400bd3b89f3e}{gcn\+::\+Drop\+Down}, \hyperlink{classgcn_1_1TabbedArea_ae9e032989a974cee2f2410779d6b95c3}{gcn\+::\+Tabbed\+Area}, \hyperlink{classFFDemo_ab7c02fe745edd2e4de4a9fd17b30abc2}{F\+F\+Demo}, and \hyperlink{classButtonActionListener_af6e587e3bdc21b68493b303af2753483}{Button\+Action\+Listener}.
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
include/guisan/actionlistener.\+hpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
dc94cc26f53b7bdbd8ec89a827c90861

View File

@@ -1,396 +0,0 @@
\hypertarget{classgcn_1_1BasicContainer}{}\section{gcn\+:\+:Basic\+Container Class Reference}
\label{classgcn_1_1BasicContainer}\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
{\ttfamily \#include $<$basiccontainer.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Basic\+Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1BasicContainer__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Basic\+Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1BasicContainer__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
virtual \hyperlink{classgcn_1_1BasicContainer_ae70f53b73c7883b52105c714941c6052}{$\sim$\+Basic\+Container} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_aa7b839a750b130894a3cc0c3fcbfa616}{move\+To\+Top} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_af1cd1b60207ccb0ae7263f8a34cce6b3}{move\+To\+Bottom} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual \hyperlink{classgcn_1_1Rectangle}{Rectangle} \hyperlink{classgcn_1_1BasicContainer_a8ed853146d726cb3bc5d109ad52203d6}{get\+Children\+Area} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_abc34133a4451f7ffce91ac4fcb7c63c9}{focus\+Next} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a480e30833f2d7af7283ea5c7ea4bb1b0}{focus\+Previous} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a65972968364c62bf244985b2900eaf25}{logic} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a90e4cc263111652a8c50d5395945bb65}{\+\_\+set\+Focus\+Handler} (\hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} $\ast$focus\+Handler)
\item
void {\bfseries set\+Internal\+Focus\+Handler} (\hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} $\ast$focus\+Handler)\hypertarget{classgcn_1_1BasicContainer_a8d6ab7ef2f9a60d014783b712b9bca8f}{}\label{classgcn_1_1BasicContainer_a8d6ab7ef2f9a60d014783b712b9bca8f}
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a5843702859ccb407f308cbe5d8987d28}{show\+Widget\+Part} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget, \hyperlink{classgcn_1_1Rectangle}{Rectangle} area)
\item
virtual \hyperlink{classgcn_1_1Widget}{Widget} $\ast$ \hyperlink{classgcn_1_1BasicContainer_a99fd5e886776ec35d296c40755462a48}{get\+Widget\+At} (int x, int y)
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_ac6cf8760537dcd167e0f518f556bccf4}{death} (const \hyperlink{classgcn_1_1Event}{Event} \&event)
\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item
typedef std\+::list$<$ \hyperlink{classgcn_1_1Widget}{Widget} $\ast$ $>$ {\bfseries Widget\+List}\hypertarget{classgcn_1_1BasicContainer_a64f7237f6c610efba3e4928b09ee67d2}{}\label{classgcn_1_1BasicContainer_a64f7237f6c610efba3e4928b09ee67d2}
\item
typedef Widget\+List\+::iterator {\bfseries Widget\+List\+Iterator}\hypertarget{classgcn_1_1BasicContainer_ad3791ca5ff8504602eaa0110d36f4822}{}\label{classgcn_1_1BasicContainer_ad3791ca5ff8504602eaa0110d36f4822}
\item
typedef Widget\+List\+::reverse\+\_\+iterator {\bfseries Widget\+List\+Reverse\+Iterator}\hypertarget{classgcn_1_1BasicContainer_a6bda9a182a96ce1b7cad9e271c14cfb0}{}\label{classgcn_1_1BasicContainer_a6bda9a182a96ce1b7cad9e271c14cfb0}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{classgcn_1_1BasicContainer_a27d6058336a2573b6cea6e947c8d69bd}{add} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a1e834058961f0cf6d1eea415ca509b10}{remove} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a6b494b3e7c7369efcfc0e3f2f964bcf8}{clear} ()
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a0e16996a51b1364875e9c48fe5c12bae}{draw\+Children} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1BasicContainer_a2d29dcdef360e36a3061aafccb407f28}{logic\+Children} ()
\item
virtual \hyperlink{classgcn_1_1Widget}{Widget} $\ast$ \hyperlink{classgcn_1_1BasicContainer_a4c734912bb5342259dc7bd77d606bd7e}{find\+Widget\+By\+Id} (const std\+::string \&id)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
Widget\+List {\bfseries m\+Widgets}\hypertarget{classgcn_1_1BasicContainer_a8729f791ac1ce256f8058ba32645cd25}{}\label{classgcn_1_1BasicContainer_a8729f791ac1ce256f8058ba32645cd25}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Detailed Description}
Implements basic container behaviour. Most container will suffice by inheriting from this class.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container}{Container}
\end{DoxySeeAlso}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!````~Basic\+Container@{$\sim$\+Basic\+Container}}
\index{````~Basic\+Container@{$\sim$\+Basic\+Container}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{$\sim$\+Basic\+Container()}{~BasicContainer()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Basic\+Container\+::$\sim$\+Basic\+Container (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_ae70f53b73c7883b52105c714941c6052}{}\label{classgcn_1_1BasicContainer_ae70f53b73c7883b52105c714941c6052}
Destructor
\subsection{Member Function Documentation}
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!\+\_\+set\+Focus\+Handler@{\+\_\+set\+Focus\+Handler}}
\index{\+\_\+set\+Focus\+Handler@{\+\_\+set\+Focus\+Handler}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{\+\_\+set\+Focus\+Handler(\+Focus\+Handler $\ast$focus\+Handler)}{_setFocusHandler(FocusHandler *focusHandler)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::\+\_\+set\+Focus\+Handler (
\begin{DoxyParamCaption}
\item[{{\bf Focus\+Handler} $\ast$}]{focus\+Handler}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a90e4cc263111652a8c50d5395945bb65}{}\label{classgcn_1_1BasicContainer_a90e4cc263111652a8c50d5395945bb65}
Sets the \hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} to be used.
W\+A\+R\+N\+I\+NG\+: This function is used internally and should not be called or overloaded unless you know what you are doing.
\begin{DoxyParams}{Parameters}
{\em focus\+Handler} & the \hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} to use. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a6c3ec01422e51978a643ddd3ae09c26a}{gcn\+::\+Widget}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!add@{add}}
\index{add@{add}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{add(\+Widget $\ast$widget)}{add(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::add (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1BasicContainer_a27d6058336a2573b6cea6e947c8d69bd}{}\label{classgcn_1_1BasicContainer_a27d6058336a2573b6cea6e947c8d69bd}
Adds a widget to the basic container.
\begin{DoxyParams}{Parameters}
{\em widget} & the widget to add. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!clear@{clear}}
\index{clear@{clear}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{clear()}{clear()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a6b494b3e7c7369efcfc0e3f2f964bcf8}{}\label{classgcn_1_1BasicContainer_a6b494b3e7c7369efcfc0e3f2f964bcf8}
Clears the basic container from all widgets.
Reimplemented in \hyperlink{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{gcn\+::\+Container}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!death@{death}}
\index{death@{death}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{death(const Event \&event)}{death(const Event &event)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::death (
\begin{DoxyParamCaption}
\item[{const {\bf Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_ac6cf8760537dcd167e0f518f556bccf4}{}\label{classgcn_1_1BasicContainer_ac6cf8760537dcd167e0f518f556bccf4}
Called when a widget dies. It is used to be able to recieve a notification when a death of a widget occurs.
\begin{DoxyParams}{Parameters}
{\em event} & the event of the death. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1DeathListener_a526e786e21fcf1266a56f20617babf90}{gcn\+::\+Death\+Listener}.
Reimplemented in \hyperlink{classgcn_1_1DropDown_a8f6402e1ad3ac77b7db296bbd77a7494}{gcn\+::\+Drop\+Down}, and \hyperlink{classgcn_1_1TabbedArea_aacf206f5ea02e67b295b7b26ea2a6eac}{gcn\+::\+Tabbed\+Area}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!draw\+Children@{draw\+Children}}
\index{draw\+Children@{draw\+Children}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{draw\+Children(\+Graphics $\ast$graphics)}{drawChildren(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::draw\+Children (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a0e16996a51b1364875e9c48fe5c12bae}{}\label{classgcn_1_1BasicContainer_a0e16996a51b1364875e9c48fe5c12bae}
Draws children widgets.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!find\+Widget\+By\+Id@{find\+Widget\+By\+Id}}
\index{find\+Widget\+By\+Id@{find\+Widget\+By\+Id}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{find\+Widget\+By\+Id(const std\+::string \&id)}{findWidgetById(const std::string &id)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Widget} $\ast$ gcn\+::\+Basic\+Container\+::find\+Widget\+By\+Id (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a4c734912bb5342259dc7bd77d606bd7e}{}\label{classgcn_1_1BasicContainer_a4c734912bb5342259dc7bd77d606bd7e}
Finds a widget given an id.
\begin{DoxyParams}{Parameters}
{\em id} & the id to find a widget by. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the widget with the corrosponding id, N\+U\+LL of no widget is found.
\end{DoxyReturn}
Reimplemented in \hyperlink{classgcn_1_1Container_a7871002a444dba6ad82df1dcef61561b}{gcn\+::\+Container}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!focus\+Next@{focus\+Next}}
\index{focus\+Next@{focus\+Next}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{focus\+Next()}{focusNext()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::focus\+Next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_abc34133a4451f7ffce91ac4fcb7c63c9}{}\label{classgcn_1_1BasicContainer_abc34133a4451f7ffce91ac4fcb7c63c9}
Focuses the next widget in the widget.
Reimplemented from \hyperlink{classgcn_1_1Widget_a4e76bde153710a1ee52ce100053c30b5}{gcn\+::\+Widget}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!focus\+Previous@{focus\+Previous}}
\index{focus\+Previous@{focus\+Previous}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{focus\+Previous()}{focusPrevious()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::focus\+Previous (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a480e30833f2d7af7283ea5c7ea4bb1b0}{}\label{classgcn_1_1BasicContainer_a480e30833f2d7af7283ea5c7ea4bb1b0}
Focuses the previous widget in the widget.
Reimplemented from \hyperlink{classgcn_1_1Widget_ae7a95f4088a5763f2004fe31fa12e363}{gcn\+::\+Widget}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!get\+Children\+Area@{get\+Children\+Area}}
\index{get\+Children\+Area@{get\+Children\+Area}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{get\+Children\+Area()}{getChildrenArea()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Rectangle} gcn\+::\+Basic\+Container\+::get\+Children\+Area (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a8ed853146d726cb3bc5d109ad52203d6}{}\label{classgcn_1_1BasicContainer_a8ed853146d726cb3bc5d109ad52203d6}
Gets the subarea of the widget that the children occupy.
\begin{DoxyReturn}{Returns}
the subarea as a \hyperlink{classgcn_1_1Rectangle}{Rectangle}.
\end{DoxyReturn}
Reimplemented from \hyperlink{classgcn_1_1Widget_a7bf115e02c4f14144e5bd57372850e41}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1ScrollArea_a49333d5c588cf68aabe635f1cfd41543}{gcn\+::\+Scroll\+Area}, \hyperlink{classgcn_1_1DropDown_ad61f89e8985a3a3be217dd15e199633d}{gcn\+::\+Drop\+Down}, \hyperlink{classgcn_1_1Window_ae7022b52bb53543ff3cd366c124e15ff}{gcn\+::\+Window}, and \hyperlink{classFFContainer_af509106f3e9c8d69e821d864abfa1f7d}{F\+F\+Container}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!get\+Widget\+At@{get\+Widget\+At}}
\index{get\+Widget\+At@{get\+Widget\+At}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{get\+Widget\+At(int x, int y)}{getWidgetAt(int x, int y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Widget} $\ast$ gcn\+::\+Basic\+Container\+::get\+Widget\+At (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a99fd5e886776ec35d296c40755462a48}{}\label{classgcn_1_1BasicContainer_a99fd5e886776ec35d296c40755462a48}
Gets a widget from a certain position in the widget. This function is used to decide which gets mouse input, thus it can be overloaded to change that behaviour.
N\+O\+TE\+: This always returns N\+U\+LL if the widget is not a container.
\begin{DoxyParams}{Parameters}
{\em x} & the x coordinate. \\
\hline
{\em y} & the y coordinate. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the widget at the specified coodinate, or N\+U\+LL if no such widget exists.
\end{DoxyReturn}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1Widget_aa5a319f7a99a02176be790a0ea92be92}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1ScrollArea_afe0b59bef65e046032550dc76b5ba949}{gcn\+::\+Scroll\+Area}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!logic@{logic}}
\index{logic@{logic}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{logic()}{logic()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::logic (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a65972968364c62bf244985b2900eaf25}{}\label{classgcn_1_1BasicContainer_a65972968364c62bf244985b2900eaf25}
Called for all widgets in the gui each time \hyperlink{classgcn_1_1Gui_a66744ebd628213d574bb6a7010781b1f}{Gui\+::logic} is called. You can do logic stuff here like playing an animation.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Gui}{Gui}
\end{DoxySeeAlso}
Reimplemented from \hyperlink{classgcn_1_1Widget_aeb2e4c4751ef8666f48be1638ef8a48c}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1ScrollArea_a7e9085abfccf6ebed42484226b4b2aeb}{gcn\+::\+Scroll\+Area}, \hyperlink{classgcn_1_1TabbedArea_a4adbdd819c9af603b20728d6e4cd5ce9}{gcn\+::\+Tabbed\+Area}, and \hyperlink{classFFContainer_a5d53541089f719665bfc2d689dab89c6}{F\+F\+Container}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!logic\+Children@{logic\+Children}}
\index{logic\+Children@{logic\+Children}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{logic\+Children()}{logicChildren()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::logic\+Children (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a2d29dcdef360e36a3061aafccb407f28}{}\label{classgcn_1_1BasicContainer_a2d29dcdef360e36a3061aafccb407f28}
Calls logic for children widgets. \index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!move\+To\+Bottom@{move\+To\+Bottom}}
\index{move\+To\+Bottom@{move\+To\+Bottom}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{move\+To\+Bottom(\+Widget $\ast$widget)}{moveToBottom(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::move\+To\+Bottom (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_af1cd1b60207ccb0ae7263f8a34cce6b3}{}\label{classgcn_1_1BasicContainer_af1cd1b60207ccb0ae7263f8a34cce6b3}
Moves a widget in this widget to the bottom of this widget. The moved widget will be drawn below all other widgets in this widget.
\begin{DoxyParams}{Parameters}
{\em widget} & the widget to move. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a8e7a358c95db423ce9c4106d1985e875}{gcn\+::\+Widget}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!move\+To\+Top@{move\+To\+Top}}
\index{move\+To\+Top@{move\+To\+Top}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{move\+To\+Top(\+Widget $\ast$widget)}{moveToTop(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::move\+To\+Top (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_aa7b839a750b130894a3cc0c3fcbfa616}{}\label{classgcn_1_1BasicContainer_aa7b839a750b130894a3cc0c3fcbfa616}
Moves a widget to the top of this widget. The moved widget will be drawn above all other widgets in this widget.
\begin{DoxyParams}{Parameters}
{\em widget} & the widget to move. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_ad99dd66eb1b24911a73001f4bbdb1e39}{gcn\+::\+Widget}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!remove@{remove}}
\index{remove@{remove}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{remove(\+Widget $\ast$widget)}{remove(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::remove (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a1e834058961f0cf6d1eea415ca509b10}{}\label{classgcn_1_1BasicContainer_a1e834058961f0cf6d1eea415ca509b10}
Removes a widget from the basic container.
\begin{DoxyParams}{Parameters}
{\em widget} & the widget to remove. \\
\hline
\end{DoxyParams}
Reimplemented in \hyperlink{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{gcn\+::\+Container}.
\index{gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}!show\+Widget\+Part@{show\+Widget\+Part}}
\index{show\+Widget\+Part@{show\+Widget\+Part}!gcn\+::\+Basic\+Container@{gcn\+::\+Basic\+Container}}
\subsubsection[{\texorpdfstring{show\+Widget\+Part(\+Widget $\ast$widget, Rectangle area)}{showWidgetPart(Widget *widget, Rectangle area)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Basic\+Container\+::show\+Widget\+Part (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget, }
\item[{{\bf Rectangle}}]{area}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1BasicContainer_a5843702859ccb407f308cbe5d8987d28}{}\label{classgcn_1_1BasicContainer_a5843702859ccb407f308cbe5d8987d28}
Tries to show a specific part of a widget by moving it. Used if the widget should act as a container.
\begin{DoxyParams}{Parameters}
{\em widget} & the target widget. \\
\hline
{\em area} & the area to show. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_ad360f89bfa3c4de1c7919a01b99e9f28}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1ScrollArea_a44138b1de2eb2b0b5c6366f573fd15e6}{gcn\+::\+Scroll\+Area}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/basiccontainer.\+hpp\item
src/basiccontainer.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
21eae8d9c55c271816fd9c914335d8df

View File

@@ -1 +0,0 @@
8627c3ee3321d61baf6294a4d70ce2b8

View File

@@ -1,422 +0,0 @@
\hypertarget{classgcn_1_1Button}{}\section{gcn\+:\+:Button Class Reference}
\label{classgcn_1_1Button}\index{gcn\+::\+Button@{gcn\+::\+Button}}
{\ttfamily \#include $<$button.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Button\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1Button__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Button\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1Button__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Button_aaa7539ca928807770fcfa0ec8c028bb4}{Button} ()
\item
\hyperlink{classgcn_1_1Button_aedec0a418abf43eca568a90e1e5b1e9c}{Button} (const std\+::string \&caption)
\item
void \hyperlink{classgcn_1_1Button_a9f49ad1f0770a87a01fc77705f0b3a31}{set\+Caption} (const std\+::string \&caption)
\item
const std\+::string \& \hyperlink{classgcn_1_1Button_a9d3be2d0f07d965feeabd0da7a6acf28}{get\+Caption} () const
\item
void \hyperlink{classgcn_1_1Button_a04bcbfda4c5fbd2781a78b126ea6f0ce}{set\+Alignment} (unsigned int alignment)
\item
unsigned int \hyperlink{classgcn_1_1Button_aa8cbe52bc613600f60cb1cb292e3d56b}{get\+Alignment} () const
\item
void \hyperlink{classgcn_1_1Button_a2a04e95028ff614e90d9fbf0afb603e7}{set\+Spacing} (unsigned int spacing)
\item
unsigned int \hyperlink{classgcn_1_1Button_a7a12a9dc96a30561c013099e648b612e}{get\+Spacing} () const
\item
void \hyperlink{classgcn_1_1Button_aea7387d84dd3ab70fb047c9c08a15ea2}{adjust\+Size} ()
\item
bool \hyperlink{classgcn_1_1Button_a4a45119d1476b20834176ab8ffc95826}{is\+Pressed} () const
\item
virtual void \hyperlink{classgcn_1_1Button_a741dca35284e5155cd99c1e962e3d1e8}{draw} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1Button_a5d7f1dba36aa61524fb4c5b0ad47198b}{draw\+Border} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1Button_a6cee079024ffd4e8eeb8b682aade93c0}{focus\+Lost} (const \hyperlink{classgcn_1_1Event}{Event} \&event)
\item
virtual void \hyperlink{classgcn_1_1Button_a7fe61128288965a4ec81d7e30cd3eba7}{mouse\+Pressed} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_abd8ca8cb9535bbce7e93006b792bf7dd}{mouse\+Released} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_a92a5874befc40b262207a21af20ba128}{mouse\+Entered} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_aeca3e20be574004eb22894d1d520a8e1}{mouse\+Exited} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_a2e938791d6c856d3b1835fc7a579690a}{mouse\+Dragged} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_a187855ce592e907e7b2e148ee4972c62}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{Key\+Event} \&key\+Event)
\item
virtual void \hyperlink{classgcn_1_1Button_a84a8355acfd340b6c0d189c6951fc8a5}{key\+Released} (\hyperlink{classgcn_1_1KeyEvent}{Key\+Event} \&key\+Event)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
std\+::string {\bfseries m\+Caption}\hypertarget{classgcn_1_1Button_afa08738c837be849a98a375cfe09e8e1}{}\label{classgcn_1_1Button_afa08738c837be849a98a375cfe09e8e1}
\item
bool {\bfseries m\+Has\+Mouse}\hypertarget{classgcn_1_1Button_a7533c90be7d71a4e3839b47f0463a787}{}\label{classgcn_1_1Button_a7533c90be7d71a4e3839b47f0463a787}
\item
bool {\bfseries m\+Key\+Pressed}\hypertarget{classgcn_1_1Button_a54b4f3d1932a55d04b7e3c08857b529a}{}\label{classgcn_1_1Button_a54b4f3d1932a55d04b7e3c08857b529a}
\item
bool {\bfseries m\+Mouse\+Pressed}\hypertarget{classgcn_1_1Button_a61abf0e4767c641923ad55fa869bbaae}{}\label{classgcn_1_1Button_a61abf0e4767c641923ad55fa869bbaae}
\item
unsigned int {\bfseries m\+Alignment}\hypertarget{classgcn_1_1Button_ac31f520dfc7a3f72cf4f51c95ba4553f}{}\label{classgcn_1_1Button_ac31f520dfc7a3f72cf4f51c95ba4553f}
\item
unsigned int {\bfseries m\+Spacing}\hypertarget{classgcn_1_1Button_a23c252a33155ea383334b564db7a9da5}{}\label{classgcn_1_1Button_a23c252a33155ea383334b564db7a9da5}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Detailed Description}
A regular button. Add an \hyperlink{classgcn_1_1ActionListener}{Action\+Listener} to it to know when it has been clicked.
N\+O\+TE\+: You can only have text (a caption) on the button. If you want it to handle, for instance images, you can implement an \hyperlink{classgcn_1_1ImageButton}{Image\+Button} of your own and overload member functions from \hyperlink{classgcn_1_1Button}{Button}.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Button@{gcn\+::\+Button}!Button@{Button}}
\index{Button@{Button}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{Button()}{Button()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Button\+::\+Button (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_aaa7539ca928807770fcfa0ec8c028bb4}{}\label{classgcn_1_1Button_aaa7539ca928807770fcfa0ec8c028bb4}
Constructor. \index{gcn\+::\+Button@{gcn\+::\+Button}!Button@{Button}}
\index{Button@{Button}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{Button(const std\+::string \&caption)}{Button(const std::string &caption)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Button\+::\+Button (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{caption}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_aedec0a418abf43eca568a90e1e5b1e9c}{}\label{classgcn_1_1Button_aedec0a418abf43eca568a90e1e5b1e9c}
Constructor.
\begin{DoxyParams}{Parameters}
{\em caption} & the caption of the \hyperlink{classgcn_1_1Button}{Button}. \\
\hline
\end{DoxyParams}
\subsection{Member Function Documentation}
\index{gcn\+::\+Button@{gcn\+::\+Button}!adjust\+Size@{adjust\+Size}}
\index{adjust\+Size@{adjust\+Size}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{adjust\+Size()}{adjustSize()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::adjust\+Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_aea7387d84dd3ab70fb047c9c08a15ea2}{}\label{classgcn_1_1Button_aea7387d84dd3ab70fb047c9c08a15ea2}
Adjusts the buttons size to fit the content. \index{gcn\+::\+Button@{gcn\+::\+Button}!draw@{draw}}
\index{draw@{draw}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{draw(\+Graphics $\ast$graphics)}{draw(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a741dca35284e5155cd99c1e962e3d1e8}{}\label{classgcn_1_1Button_a741dca35284e5155cd99c1e962e3d1e8}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Widget_acc595221d6a2d1afe1043c16dc37d212}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1ImageButton_a067e502ef22fa2f443c575aca9cfe179}{gcn\+::\+Image\+Button}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!draw\+Border@{draw\+Border}}
\index{draw\+Border@{draw\+Border}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{draw\+Border(\+Graphics $\ast$graphics)}{drawBorder(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::draw\+Border (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a5d7f1dba36aa61524fb4c5b0ad47198b}{}\label{classgcn_1_1Button_a5d7f1dba36aa61524fb4c5b0ad47198b}
Draws the widget border. A border is drawn around a widget. The width and height of the border is therefore the widgets height+2$\ast$bordersize. Think of a painting that has a certain size, the border surrounds the painting.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a58c3b2f513d8e029e321fd88a974f5c4}{gcn\+::\+Widget}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!focus\+Lost@{focus\+Lost}}
\index{focus\+Lost@{focus\+Lost}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{focus\+Lost(const Event \&event)}{focusLost(const Event &event)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::focus\+Lost (
\begin{DoxyParamCaption}
\item[{const {\bf Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a6cee079024ffd4e8eeb8b682aade93c0}{}\label{classgcn_1_1Button_a6cee079024ffd4e8eeb8b682aade93c0}
Called when a widget loses focus.
\begin{DoxyParams}{Parameters}
{\em event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1FocusListener_a7523032b39888503179e8142d2433b45}{gcn\+::\+Focus\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!get\+Alignment@{get\+Alignment}}
\index{get\+Alignment@{get\+Alignment}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{get\+Alignment() const }{getAlignment() const }}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int gcn\+::\+Button\+::get\+Alignment (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Button_aa8cbe52bc613600f60cb1cb292e3d56b}{}\label{classgcn_1_1Button_aa8cbe52bc613600f60cb1cb292e3d56b}
Gets the alignment for the caption.
\begin{DoxyReturn}{Returns}
alignment of caption.
\end{DoxyReturn}
\index{gcn\+::\+Button@{gcn\+::\+Button}!get\+Caption@{get\+Caption}}
\index{get\+Caption@{get\+Caption}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{get\+Caption() const }{getCaption() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Button\+::get\+Caption (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Button_a9d3be2d0f07d965feeabd0da7a6acf28}{}\label{classgcn_1_1Button_a9d3be2d0f07d965feeabd0da7a6acf28}
Gets the \hyperlink{classgcn_1_1Button}{Button} caption.
\begin{DoxyReturn}{Returns}
the \hyperlink{classgcn_1_1Button}{Button} caption.
\end{DoxyReturn}
\index{gcn\+::\+Button@{gcn\+::\+Button}!get\+Spacing@{get\+Spacing}}
\index{get\+Spacing@{get\+Spacing}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{get\+Spacing() const }{getSpacing() const }}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int gcn\+::\+Button\+::get\+Spacing (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Button_a7a12a9dc96a30561c013099e648b612e}{}\label{classgcn_1_1Button_a7a12a9dc96a30561c013099e648b612e}
Gets the spacing between the border of this button and its caption.
\begin{DoxyReturn}{Returns}
spacing.
\end{DoxyReturn}
\index{gcn\+::\+Button@{gcn\+::\+Button}!is\+Pressed@{is\+Pressed}}
\index{is\+Pressed@{is\+Pressed}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{is\+Pressed() const }{isPressed() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Button\+::is\+Pressed (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Button_a4a45119d1476b20834176ab8ffc95826}{}\label{classgcn_1_1Button_a4a45119d1476b20834176ab8ffc95826}
Checks if the button is pressed down. Useful when drawing.
\begin{DoxyReturn}{Returns}
true if the button is pressed down.
\end{DoxyReturn}
\index{gcn\+::\+Button@{gcn\+::\+Button}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{key\+Pressed(\+Key\+Event \&key\+Event)}{keyPressed(KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a187855ce592e907e7b2e148ee4972c62}{}\label{classgcn_1_1Button_a187855ce592e907e7b2e148ee4972c62}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!key\+Released@{key\+Released}}
\index{key\+Released@{key\+Released}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{key\+Released(\+Key\+Event \&key\+Event)}{keyReleased(KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::key\+Released (
\begin{DoxyParamCaption}
\item[{{\bf Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a84a8355acfd340b6c0d189c6951fc8a5}{}\label{classgcn_1_1Button_a84a8355acfd340b6c0d189c6951fc8a5}
Called if a key is released when the widget has keyboard focus.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_a5cae3889ae71c19d3969b3b35bdf7f2e}{gcn\+::\+Key\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!mouse\+Dragged@{mouse\+Dragged}}
\index{mouse\+Dragged@{mouse\+Dragged}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{mouse\+Dragged(\+Mouse\+Event \&mouse\+Event)}{mouseDragged(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::mouse\+Dragged (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a2e938791d6c856d3b1835fc7a579690a}{}\label{classgcn_1_1Button_a2e938791d6c856d3b1835fc7a579690a}
Called when the mouse has moved and the mouse has previously been pressed on the widget.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_a5e2764977dd75e52d116f9ba6311a46b}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!mouse\+Entered@{mouse\+Entered}}
\index{mouse\+Entered@{mouse\+Entered}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{mouse\+Entered(\+Mouse\+Event \&mouse\+Event)}{mouseEntered(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::mouse\+Entered (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a92a5874befc40b262207a21af20ba128}{}\label{classgcn_1_1Button_a92a5874befc40b262207a21af20ba128}
Called when the mouse has entered into the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_a5d0fc52c1fd750eb76560fbc27672dac}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!mouse\+Exited@{mouse\+Exited}}
\index{mouse\+Exited@{mouse\+Exited}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{mouse\+Exited(\+Mouse\+Event \&mouse\+Event)}{mouseExited(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::mouse\+Exited (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_aeca3e20be574004eb22894d1d520a8e1}{}\label{classgcn_1_1Button_aeca3e20be574004eb22894d1d520a8e1}
Called when the mouse has exited the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_ac84dd820bbcf3bf9268776db69cbf114}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!mouse\+Pressed@{mouse\+Pressed}}
\index{mouse\+Pressed@{mouse\+Pressed}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{mouse\+Pressed(\+Mouse\+Event \&mouse\+Event)}{mousePressed(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::mouse\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_a7fe61128288965a4ec81d7e30cd3eba7}{}\label{classgcn_1_1Button_a7fe61128288965a4ec81d7e30cd3eba7}
Called when a mouse button has been pressed on the widget area.
N\+O\+TE\+: A mouse press is N\+OT equal to a mouse click. Use mouse\+Click\+Message to check for mouse clicks.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_af81ee6190a48a18585f6e738e381abd3}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!mouse\+Released@{mouse\+Released}}
\index{mouse\+Released@{mouse\+Released}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{mouse\+Released(\+Mouse\+Event \&mouse\+Event)}{mouseReleased(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::mouse\+Released (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Button_abd8ca8cb9535bbce7e93006b792bf7dd}{}\label{classgcn_1_1Button_abd8ca8cb9535bbce7e93006b792bf7dd}
Called when a mouse button has been released on the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_adf68ed80e1a3c027fbb5d0e575b20fc3}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Button@{gcn\+::\+Button}!set\+Alignment@{set\+Alignment}}
\index{set\+Alignment@{set\+Alignment}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{set\+Alignment(unsigned int alignment)}{setAlignment(unsigned int alignment)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::set\+Alignment (
\begin{DoxyParamCaption}
\item[{unsigned int}]{alignment}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_a04bcbfda4c5fbd2781a78b126ea6f0ce}{}\label{classgcn_1_1Button_a04bcbfda4c5fbd2781a78b126ea6f0ce}
Sets the alignment for the caption.
\begin{DoxyParams}{Parameters}
{\em alignment} & Graphics\+::\+L\+E\+FT, Graphics\+::\+C\+E\+N\+T\+ER or Graphics\+::\+R\+I\+G\+HT \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Graphics}{Graphics}
\end{DoxySeeAlso}
\index{gcn\+::\+Button@{gcn\+::\+Button}!set\+Caption@{set\+Caption}}
\index{set\+Caption@{set\+Caption}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{set\+Caption(const std\+::string \&caption)}{setCaption(const std::string &caption)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::set\+Caption (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{caption}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_a9f49ad1f0770a87a01fc77705f0b3a31}{}\label{classgcn_1_1Button_a9f49ad1f0770a87a01fc77705f0b3a31}
Sets the \hyperlink{classgcn_1_1Button}{Button} caption.
\begin{DoxyParams}{Parameters}
{\em caption} & the \hyperlink{classgcn_1_1Button}{Button} caption. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Button@{gcn\+::\+Button}!set\+Spacing@{set\+Spacing}}
\index{set\+Spacing@{set\+Spacing}!gcn\+::\+Button@{gcn\+::\+Button}}
\subsubsection[{\texorpdfstring{set\+Spacing(unsigned int spacing)}{setSpacing(unsigned int spacing)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Button\+::set\+Spacing (
\begin{DoxyParamCaption}
\item[{unsigned int}]{spacing}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Button_a2a04e95028ff614e90d9fbf0afb603e7}{}\label{classgcn_1_1Button_a2a04e95028ff614e90d9fbf0afb603e7}
Sets the spacing between the border of this button and its caption.
\begin{DoxyParams}{Parameters}
{\em spacing} & is a number between 0 and 255. The default value for spacing is 4 and can be changed using this method. \\
\hline
\end{DoxyParams}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/widgets/button.\+hpp\item
src/widgets/button.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
7169555edd347a3028d93aee463d350c

View File

@@ -1 +0,0 @@
1f8f623fef94cb60bc1e3cde0b423d63

View File

@@ -1,313 +0,0 @@
\hypertarget{classgcn_1_1CheckBox}{}\section{gcn\+:\+:Check\+Box Class Reference}
\label{classgcn_1_1CheckBox}\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
{\ttfamily \#include $<$checkbox.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Check\+Box\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1CheckBox__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Check\+Box\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1CheckBox__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1CheckBox_a0e81d7b6fd1e6b0d196c8d800a8e2610}{Check\+Box} ()
\item
\hyperlink{classgcn_1_1CheckBox_aab17607081d115e303b847b0e57338ec}{Check\+Box} (const std\+::string \&caption, bool selected=false)
\item
virtual \hyperlink{classgcn_1_1CheckBox_aec8d239efd70e47dcb4fdf7684d747e3}{$\sim$\+Check\+Box} ()
\item
bool \hyperlink{classgcn_1_1CheckBox_aa50cd949abb713529eb8fa60d85ead45}{is\+Selected} () const
\item
void \hyperlink{classgcn_1_1CheckBox_afc33cf5fe07bd1c121f76ecc2a6f0729}{set\+Selected} (bool selected)
\item
const std\+::string \& \hyperlink{classgcn_1_1CheckBox_ae8fa88932da62ef67d0d4f6b39bbaf15}{get\+Caption} () const
\item
void \hyperlink{classgcn_1_1CheckBox_a155f63ad8ffcf2f8200c3ffef274247d}{set\+Caption} (const std\+::string \&caption)
\item
void \hyperlink{classgcn_1_1CheckBox_a18dd39feee57e6bfcef69fc9f5b00d08}{adjust\+Size} ()
\item
virtual void \hyperlink{classgcn_1_1CheckBox_acd76dee289dcd7cc07ade85ce74c7d7c}{draw} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1CheckBox_a385eb0b9601f128646dc28b0e34c0293}{draw\+Border} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1CheckBox_a40a70ca664f54dd568b3522e6fb6e7ce}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{Key\+Event} \&key\+Event)
\item
virtual void \hyperlink{classgcn_1_1CheckBox_a968db12a9f01c70979ca06a179e8d565}{mouse\+Clicked} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1CheckBox_adedbb4f9840c41a9e6943d2757986dff}{mouse\+Dragged} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
virtual void \hyperlink{classgcn_1_1CheckBox_ab2aad0c0ee5a68d446aeb582143fac01}{draw\+Box} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1CheckBox_a65e7e1e0c924a2dc249131f7961aaeba}{toggle\+Selected} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
bool \hyperlink{classgcn_1_1CheckBox_a2d0b704f55081d3282730fd77660d9c1}{m\+Selected}
\item
std\+::string \hyperlink{classgcn_1_1CheckBox_a09a931daf166102f459b169d19840484}{m\+Caption}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Detailed Description}
An implementation of a check box where a user can select or deselect the check box and where the status of the check box is displayed to the user. A check box is capable of displaying a caption.
If a check box\textquotesingle{}s state changes an action event will be sent to all action listeners of the check box.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!Check\+Box@{Check\+Box}}
\index{Check\+Box@{Check\+Box}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{Check\+Box()}{CheckBox()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Check\+Box\+::\+Check\+Box (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1CheckBox_a0e81d7b6fd1e6b0d196c8d800a8e2610}{}\label{classgcn_1_1CheckBox_a0e81d7b6fd1e6b0d196c8d800a8e2610}
Contructor. \index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!Check\+Box@{Check\+Box}}
\index{Check\+Box@{Check\+Box}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{Check\+Box(const std\+::string \&caption, bool selected=false)}{CheckBox(const std::string &caption, bool selected=false)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Check\+Box\+::\+Check\+Box (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{caption, }
\item[{bool}]{selected = {\ttfamily false}}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1CheckBox_aab17607081d115e303b847b0e57338ec}{}\label{classgcn_1_1CheckBox_aab17607081d115e303b847b0e57338ec}
Constructor. The check box will be automatically resized to fit it\textquotesingle{}s caption.
\begin{DoxyParams}{Parameters}
{\em caption} & The caption of the check box. \\
\hline
{\em marked} & True if the check box is selected, false otherwise. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!````~Check\+Box@{$\sim$\+Check\+Box}}
\index{````~Check\+Box@{$\sim$\+Check\+Box}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{$\sim$\+Check\+Box()}{~CheckBox()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual gcn\+::\+Check\+Box\+::$\sim$\+Check\+Box (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_aec8d239efd70e47dcb4fdf7684d747e3}{}\label{classgcn_1_1CheckBox_aec8d239efd70e47dcb4fdf7684d747e3}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!adjust\+Size@{adjust\+Size}}
\index{adjust\+Size@{adjust\+Size}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{adjust\+Size()}{adjustSize()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::adjust\+Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1CheckBox_a18dd39feee57e6bfcef69fc9f5b00d08}{}\label{classgcn_1_1CheckBox_a18dd39feee57e6bfcef69fc9f5b00d08}
Adjusts the check box\textquotesingle{}s size to fit the caption. \index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!draw@{draw}}
\index{draw@{draw}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{draw(\+Graphics $\ast$graphics)}{draw(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_acd76dee289dcd7cc07ade85ce74c7d7c}{}\label{classgcn_1_1CheckBox_acd76dee289dcd7cc07ade85ce74c7d7c}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Widget_acc595221d6a2d1afe1043c16dc37d212}{gcn\+::\+Widget}.
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!draw\+Border@{draw\+Border}}
\index{draw\+Border@{draw\+Border}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{draw\+Border(\+Graphics $\ast$graphics)}{drawBorder(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::draw\+Border (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_a385eb0b9601f128646dc28b0e34c0293}{}\label{classgcn_1_1CheckBox_a385eb0b9601f128646dc28b0e34c0293}
Draws the widget border. A border is drawn around a widget. The width and height of the border is therefore the widgets height+2$\ast$bordersize. Think of a painting that has a certain size, the border surrounds the painting.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a58c3b2f513d8e029e321fd88a974f5c4}{gcn\+::\+Widget}.
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!draw\+Box@{draw\+Box}}
\index{draw\+Box@{draw\+Box}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{draw\+Box(\+Graphics $\ast$graphics)}{drawBox(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::draw\+Box (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_ab2aad0c0ee5a68d446aeb582143fac01}{}\label{classgcn_1_1CheckBox_ab2aad0c0ee5a68d446aeb582143fac01}
Draws the box of the check box.
\begin{DoxyParams}{Parameters}
{\em graphics} & A \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!get\+Caption@{get\+Caption}}
\index{get\+Caption@{get\+Caption}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{get\+Caption() const }{getCaption() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Check\+Box\+::get\+Caption (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1CheckBox_ae8fa88932da62ef67d0d4f6b39bbaf15}{}\label{classgcn_1_1CheckBox_ae8fa88932da62ef67d0d4f6b39bbaf15}
Gets the caption of the check box.
\begin{DoxyReturn}{Returns}
The caption of the check box.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1CheckBox_a155f63ad8ffcf2f8200c3ffef274247d}{set\+Caption}
\end{DoxySeeAlso}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!is\+Selected@{is\+Selected}}
\index{is\+Selected@{is\+Selected}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{is\+Selected() const }{isSelected() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Check\+Box\+::is\+Selected (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1CheckBox_aa50cd949abb713529eb8fa60d85ead45}{}\label{classgcn_1_1CheckBox_aa50cd949abb713529eb8fa60d85ead45}
Checks if the check box is selected.
\begin{DoxyReturn}{Returns}
True if the check box is selected, false otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1CheckBox_afc33cf5fe07bd1c121f76ecc2a6f0729}{set\+Selected}
\end{DoxySeeAlso}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{key\+Pressed(\+Key\+Event \&key\+Event)}{keyPressed(KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_a40a70ca664f54dd568b3522e6fb6e7ce}{}\label{classgcn_1_1CheckBox_a40a70ca664f54dd568b3522e6fb6e7ce}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!mouse\+Clicked@{mouse\+Clicked}}
\index{mouse\+Clicked@{mouse\+Clicked}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{mouse\+Clicked(\+Mouse\+Event \&mouse\+Event)}{mouseClicked(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::mouse\+Clicked (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_a968db12a9f01c70979ca06a179e8d565}{}\label{classgcn_1_1CheckBox_a968db12a9f01c70979ca06a179e8d565}
Called when a mouse button is pressed and released (clicked) on the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_ae1a2c416d10cc035bd941e99ac49a0f0}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!mouse\+Dragged@{mouse\+Dragged}}
\index{mouse\+Dragged@{mouse\+Dragged}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{mouse\+Dragged(\+Mouse\+Event \&mouse\+Event)}{mouseDragged(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::mouse\+Dragged (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_adedbb4f9840c41a9e6943d2757986dff}{}\label{classgcn_1_1CheckBox_adedbb4f9840c41a9e6943d2757986dff}
Called when the mouse has moved and the mouse has previously been pressed on the widget.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_a5e2764977dd75e52d116f9ba6311a46b}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!set\+Caption@{set\+Caption}}
\index{set\+Caption@{set\+Caption}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{set\+Caption(const std\+::string \&caption)}{setCaption(const std::string &caption)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::set\+Caption (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{caption}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1CheckBox_a155f63ad8ffcf2f8200c3ffef274247d}{}\label{classgcn_1_1CheckBox_a155f63ad8ffcf2f8200c3ffef274247d}
Sets the caption of the check box. It\textquotesingle{}s advisable to call adjust\+Size after setting of the caption to adjust the check box\textquotesingle{}s size to fit the caption.
\begin{DoxyParams}{Parameters}
{\em caption} & The caption of the check box. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1CheckBox_ae8fa88932da62ef67d0d4f6b39bbaf15}{get\+Caption}, \hyperlink{classgcn_1_1CheckBox_a18dd39feee57e6bfcef69fc9f5b00d08}{adjust\+Size}
\end{DoxySeeAlso}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!set\+Selected@{set\+Selected}}
\index{set\+Selected@{set\+Selected}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{set\+Selected(bool selected)}{setSelected(bool selected)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::set\+Selected (
\begin{DoxyParamCaption}
\item[{bool}]{selected}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1CheckBox_afc33cf5fe07bd1c121f76ecc2a6f0729}{}\label{classgcn_1_1CheckBox_afc33cf5fe07bd1c121f76ecc2a6f0729}
Sets the check box to be selected.
\begin{DoxyParams}{Parameters}
{\em selected} & True if the check box should be set as selected. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1CheckBox_aa50cd949abb713529eb8fa60d85ead45}{is\+Selected}
\end{DoxySeeAlso}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!toggle\+Selected@{toggle\+Selected}}
\index{toggle\+Selected@{toggle\+Selected}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{toggle\+Selected()}{toggleSelected()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Check\+Box\+::toggle\+Selected (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1CheckBox_a65e7e1e0c924a2dc249131f7961aaeba}{}\label{classgcn_1_1CheckBox_a65e7e1e0c924a2dc249131f7961aaeba}
Toggles the check box between being selected and not being selected.
\subsection{Member Data Documentation}
\index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!m\+Caption@{m\+Caption}}
\index{m\+Caption@{m\+Caption}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{m\+Caption}{mCaption}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string gcn\+::\+Check\+Box\+::m\+Caption\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1CheckBox_a09a931daf166102f459b169d19840484}{}\label{classgcn_1_1CheckBox_a09a931daf166102f459b169d19840484}
Holds the caption of the check box. \index{gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}!m\+Selected@{m\+Selected}}
\index{m\+Selected@{m\+Selected}!gcn\+::\+Check\+Box@{gcn\+::\+Check\+Box}}
\subsubsection[{\texorpdfstring{m\+Selected}{mSelected}}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Check\+Box\+::m\+Selected\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1CheckBox_a2d0b704f55081d3282730fd77660d9c1}{}\label{classgcn_1_1CheckBox_a2d0b704f55081d3282730fd77660d9c1}
True if the check box is selected, false otherwise.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/widgets/checkbox.\+hpp\item
src/widgets/checkbox.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
52e2f9da989339b4efd1614becb1998d

View File

@@ -1 +0,0 @@
52e0b1072cbe3c61f5b7d59001942d5a

View File

@@ -1,117 +0,0 @@
\hypertarget{classgcn_1_1ClipRectangle}{}\section{gcn\+:\+:Clip\+Rectangle Class Reference}
\label{classgcn_1_1ClipRectangle}\index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
{\ttfamily \#include $<$cliprectangle.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Clip\+Rectangle\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=180pt]{classgcn_1_1ClipRectangle__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Clip\+Rectangle\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=180pt]{classgcn_1_1ClipRectangle__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1ClipRectangle_af4b463769706f943b604ceaaf583d27c}{Clip\+Rectangle} ()
\item
\hyperlink{classgcn_1_1ClipRectangle_a64655edef4076373470ea6146063dd92}{Clip\+Rectangle} (int x, int y, int width, int height, int \hyperlink{classgcn_1_1ClipRectangle_afe946bf9f906a4f571c9a6bdbd9fb730}{x\+Offset}, int \hyperlink{classgcn_1_1ClipRectangle_a322306940b67c677e14cb0cab5b6eb3e}{y\+Offset})
\item
const \hyperlink{classgcn_1_1ClipRectangle}{Clip\+Rectangle} \& \hyperlink{classgcn_1_1ClipRectangle_af4d051916713471ee1025a5056b47a94}{operator=} (const \hyperlink{classgcn_1_1Rectangle}{Rectangle} \&other)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
int \hyperlink{classgcn_1_1ClipRectangle_afe946bf9f906a4f571c9a6bdbd9fb730}{x\+Offset}
\item
int \hyperlink{classgcn_1_1ClipRectangle_a322306940b67c677e14cb0cab5b6eb3e}{y\+Offset}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
A rectangle used when dealing with clipping. It is a regular \hyperlink{classgcn_1_1Rectangle}{Rectangle} extended with variables for x offsets and y offsets.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}!Clip\+Rectangle@{Clip\+Rectangle}}
\index{Clip\+Rectangle@{Clip\+Rectangle}!gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
\subsubsection[{\texorpdfstring{Clip\+Rectangle()}{ClipRectangle()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Clip\+Rectangle\+::\+Clip\+Rectangle (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1ClipRectangle_af4b463769706f943b604ceaaf583d27c}{}\label{classgcn_1_1ClipRectangle_af4b463769706f943b604ceaaf583d27c}
Constructor. \index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}!Clip\+Rectangle@{Clip\+Rectangle}}
\index{Clip\+Rectangle@{Clip\+Rectangle}!gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
\subsubsection[{\texorpdfstring{Clip\+Rectangle(int x, int y, int width, int height, int x\+Offset, int y\+Offset)}{ClipRectangle(int x, int y, int width, int height, int xOffset, int yOffset)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Clip\+Rectangle\+::\+Clip\+Rectangle (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{width, }
\item[{int}]{height, }
\item[{int}]{x\+Offset, }
\item[{int}]{y\+Offset}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1ClipRectangle_a64655edef4076373470ea6146063dd92}{}\label{classgcn_1_1ClipRectangle_a64655edef4076373470ea6146063dd92}
Constructor.
\begin{DoxyParams}{Parameters}
{\em x} & the rectangle x coordinate. \\
\hline
{\em y} & the rectangle y coordinate. \\
\hline
{\em width} & the rectangle width. \\
\hline
{\em height} & the rectangle height. \\
\hline
{\em x\+Offset} & origin of drawing (used by \hyperlink{classgcn_1_1Graphics}{Graphics}). \\
\hline
{\em y\+Offset} & origin of drawing (used by \hyperlink{classgcn_1_1Graphics}{Graphics}) . \\
\hline
\end{DoxyParams}
\subsection{Member Function Documentation}
\index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}!operator=@{operator=}}
\index{operator=@{operator=}!gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
\subsubsection[{\texorpdfstring{operator=(const Rectangle \&other)}{operator=(const Rectangle &other)}}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Clip\+Rectangle} \& gcn\+::\+Clip\+Rectangle\+::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Rectangle} \&}]{other}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1ClipRectangle_af4d051916713471ee1025a5056b47a94}{}\label{classgcn_1_1ClipRectangle_af4d051916713471ee1025a5056b47a94}
Copies x, y, width and height field from a \hyperlink{classgcn_1_1Rectangle}{Rectangle}.
\begin{DoxyParams}{Parameters}
{\em other} & the \hyperlink{classgcn_1_1Rectangle}{Rectangle} to copy from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a \hyperlink{classgcn_1_1ClipRectangle}{Clip\+Rectangle}.
\end{DoxyReturn}
\subsection{Member Data Documentation}
\index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}!x\+Offset@{x\+Offset}}
\index{x\+Offset@{x\+Offset}!gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
\subsubsection[{\texorpdfstring{x\+Offset}{xOffset}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Clip\+Rectangle\+::x\+Offset}\hypertarget{classgcn_1_1ClipRectangle_afe946bf9f906a4f571c9a6bdbd9fb730}{}\label{classgcn_1_1ClipRectangle_afe946bf9f906a4f571c9a6bdbd9fb730}
x-\/origin of drawing (used by \hyperlink{classgcn_1_1Graphics}{Graphics}). \index{gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}!y\+Offset@{y\+Offset}}
\index{y\+Offset@{y\+Offset}!gcn\+::\+Clip\+Rectangle@{gcn\+::\+Clip\+Rectangle}}
\subsubsection[{\texorpdfstring{y\+Offset}{yOffset}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Clip\+Rectangle\+::y\+Offset}\hypertarget{classgcn_1_1ClipRectangle_a322306940b67c677e14cb0cab5b6eb3e}{}\label{classgcn_1_1ClipRectangle_a322306940b67c677e14cb0cab5b6eb3e}
y-\/origin of drawing (used by \hyperlink{classgcn_1_1Graphics}{Graphics}).
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/cliprectangle.\+hpp\item
src/cliprectangle.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
89708536153a177afd3e5c7f2cd414fc

View File

@@ -1 +0,0 @@
89708536153a177afd3e5c7f2cd414fc

View File

@@ -1,189 +0,0 @@
\hypertarget{classgcn_1_1Color}{}\section{gcn\+:\+:Color Class Reference}
\label{classgcn_1_1Color}\index{gcn\+::\+Color@{gcn\+::\+Color}}
{\ttfamily \#include $<$color.\+hpp$>$}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Color_a6dc73fa971bdb60c9e00ae4a69d33275}{Color} ()
\item
\hyperlink{classgcn_1_1Color_a01d8582df017de59b0cf7c6585a4d345}{Color} (int color)
\item
\hyperlink{classgcn_1_1Color_ac95423f560a25af45f7910c3e9d57837}{Color} (int \hyperlink{classgcn_1_1Color_a03c8b8fd862f837b5295b3ce28c94a33}{r}, int \hyperlink{classgcn_1_1Color_a13947bb1b79574cfb71580896a311a33}{g}, int \hyperlink{classgcn_1_1Color_a92f745d8f763ef16dcda11a03c44437f}{b}, int \hyperlink{classgcn_1_1Color_a46e7ab30d365efc4314368e01ffd6dbf}{a}=255)
\item
\hyperlink{classgcn_1_1Color}{Color} \hyperlink{classgcn_1_1Color_a4414dab910cdf604db74fb49155136f7}{operator+} (const \hyperlink{classgcn_1_1Color}{Color} \&color) const
\item
\hyperlink{classgcn_1_1Color}{Color} \hyperlink{classgcn_1_1Color_a69b37321a4c87e8b3e0389a9abccfeff}{operator-\/} (const \hyperlink{classgcn_1_1Color}{Color} \&color) const
\item
\hyperlink{classgcn_1_1Color}{Color} \hyperlink{classgcn_1_1Color_a46103f408dfca5cf60b7f5b30a064139}{operator$\ast$} (float value) const
\item
bool \hyperlink{classgcn_1_1Color_aad86f1535915cf79442a9ed14c9f58ed}{operator==} (const \hyperlink{classgcn_1_1Color}{Color} \&color) const
\item
bool \hyperlink{classgcn_1_1Color_a0050e2fdab7df61d8c17e19cc2b9c4b3}{operator!=} (const \hyperlink{classgcn_1_1Color}{Color} \&color) const
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
int \hyperlink{classgcn_1_1Color_a03c8b8fd862f837b5295b3ce28c94a33}{r}
\item
int \hyperlink{classgcn_1_1Color_a13947bb1b79574cfb71580896a311a33}{g}
\item
int \hyperlink{classgcn_1_1Color_a92f745d8f763ef16dcda11a03c44437f}{b}
\item
int \hyperlink{classgcn_1_1Color_a46e7ab30d365efc4314368e01ffd6dbf}{a}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Represents a color with red, green, blue and alpha components.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Color@{gcn\+::\+Color}!Color@{Color}}
\index{Color@{Color}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{Color()}{Color()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Color\+::\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Color_a6dc73fa971bdb60c9e00ae4a69d33275}{}\label{classgcn_1_1Color_a6dc73fa971bdb60c9e00ae4a69d33275}
Constructor. Initializes the color to black. \index{gcn\+::\+Color@{gcn\+::\+Color}!Color@{Color}}
\index{Color@{Color}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{Color(int color)}{Color(int color)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Color\+::\+Color (
\begin{DoxyParamCaption}
\item[{int}]{color}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Color_a01d8582df017de59b0cf7c6585a4d345}{}\label{classgcn_1_1Color_a01d8582df017de59b0cf7c6585a4d345}
Constructs a color from the bytes in an integer. Call it with a hexadecimal constant for H\+T\+M\+L-\/style color representation. The alpha component will be set to 255.
E\+X\+A\+M\+P\+LE\+: Color(0xff50a0) constructs Gui-\/chan\textquotesingle{}s favourite color.
N\+O\+TE\+: Because of this constructor, integers will be automatically casted to a color by your compiler.
\begin{DoxyParams}{Parameters}
{\em color} & the color. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Color@{gcn\+::\+Color}!Color@{Color}}
\index{Color@{Color}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{Color(int r, int g, int b, int a=255)}{Color(int r, int g, int b, int a=255)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Color\+::\+Color (
\begin{DoxyParamCaption}
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a = {\ttfamily 255}}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Color_ac95423f560a25af45f7910c3e9d57837}{}\label{classgcn_1_1Color_ac95423f560a25af45f7910c3e9d57837}
Constructor.
\begin{DoxyParams}{Parameters}
{\em r} & Red color component (range 0-\/255). \\
\hline
{\em g} & Green color component (range 0-\/255). \\
\hline
{\em b} & Blue color component (range 0-\/255). \\
\hline
{\em a} & \hyperlink{classgcn_1_1Color}{Color} alpha, used for transparency. A value of 0 means totaly transparent, 255 is totaly opaque (the default). \\
\hline
\end{DoxyParams}
\subsection{Member Function Documentation}
\index{gcn\+::\+Color@{gcn\+::\+Color}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{operator"!=(const Color \&color) const }{operator!=(const Color &color) const }}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Color\+::operator!= (
\begin{DoxyParamCaption}
\item[{const {\bf Color} \&}]{color}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Color_a0050e2fdab7df61d8c17e19cc2b9c4b3}{}\label{classgcn_1_1Color_a0050e2fdab7df61d8c17e19cc2b9c4b3}
Compares two colors.
\begin{DoxyReturn}{Returns}
true if the two colors have different R\+G\+BA components.
\end{DoxyReturn}
\index{gcn\+::\+Color@{gcn\+::\+Color}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{operator$\ast$(float value) const }{operator*(float value) const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Color} gcn\+::\+Color\+::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{float}]{value}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Color_a46103f408dfca5cf60b7f5b30a064139}{}\label{classgcn_1_1Color_a46103f408dfca5cf60b7f5b30a064139}
Multiplies the R\+GB values of a color with a float value. The values will be clamped if they go out of range.
\begin{DoxyParams}{Parameters}
{\em value} & the value to multiply the color with. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the resulting color with alpha untouched.
\end{DoxyReturn}
\index{gcn\+::\+Color@{gcn\+::\+Color}!operator+@{operator+}}
\index{operator+@{operator+}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{operator+(const Color \&color) const }{operator+(const Color &color) const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Color} gcn\+::\+Color\+::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf Color} \&}]{color}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Color_a4414dab910cdf604db74fb49155136f7}{}\label{classgcn_1_1Color_a4414dab910cdf604db74fb49155136f7}
Adds the R\+GB values of two colors together. The values will be clamped if they go out of range.
\begin{DoxyParams}{Parameters}
{\em color} & a color to add to this color. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the resulting color with alpha set to 255.
\end{DoxyReturn}
\index{gcn\+::\+Color@{gcn\+::\+Color}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{operator-\/(const Color \&color) const }{operator-(const Color &color) const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Color} gcn\+::\+Color\+::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf Color} \&}]{color}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Color_a69b37321a4c87e8b3e0389a9abccfeff}{}\label{classgcn_1_1Color_a69b37321a4c87e8b3e0389a9abccfeff}
Subtracts the R\+GB values of one color from another. The values will be clamped if they go out of range.
\begin{DoxyParams}{Parameters}
{\em color} & a color to subtract from this color. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the resulting color with alpha set to 255.
\end{DoxyReturn}
\index{gcn\+::\+Color@{gcn\+::\+Color}!operator==@{operator==}}
\index{operator==@{operator==}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{operator==(const Color \&color) const }{operator==(const Color &color) const }}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Color\+::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf Color} \&}]{color}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Color_aad86f1535915cf79442a9ed14c9f58ed}{}\label{classgcn_1_1Color_aad86f1535915cf79442a9ed14c9f58ed}
Compares two colors.
\begin{DoxyReturn}{Returns}
true if the two colors have the same R\+G\+BA components.
\end{DoxyReturn}
\subsection{Member Data Documentation}
\index{gcn\+::\+Color@{gcn\+::\+Color}!a@{a}}
\index{a@{a}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{a}{a}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Color\+::a}\hypertarget{classgcn_1_1Color_a46e7ab30d365efc4314368e01ffd6dbf}{}\label{classgcn_1_1Color_a46e7ab30d365efc4314368e01ffd6dbf}
\hyperlink{classgcn_1_1Color}{Color} alpha, used for transparency. A value of 0 means totaly transparent, 255 is totaly opaque (the default) \index{gcn\+::\+Color@{gcn\+::\+Color}!b@{b}}
\index{b@{b}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{b}{b}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Color\+::b}\hypertarget{classgcn_1_1Color_a92f745d8f763ef16dcda11a03c44437f}{}\label{classgcn_1_1Color_a92f745d8f763ef16dcda11a03c44437f}
Blue color component (range 0-\/255). \index{gcn\+::\+Color@{gcn\+::\+Color}!g@{g}}
\index{g@{g}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{g}{g}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Color\+::g}\hypertarget{classgcn_1_1Color_a13947bb1b79574cfb71580896a311a33}{}\label{classgcn_1_1Color_a13947bb1b79574cfb71580896a311a33}
Green color component (range 0-\/255). \index{gcn\+::\+Color@{gcn\+::\+Color}!r@{r}}
\index{r@{r}!gcn\+::\+Color@{gcn\+::\+Color}}
\subsubsection[{\texorpdfstring{r}{r}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Color\+::r}\hypertarget{classgcn_1_1Color_a03c8b8fd862f837b5295b3ce28c94a33}{}\label{classgcn_1_1Color_a03c8b8fd862f837b5295b3ce28c94a33}
Red color component (range 0-\/255).
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/color.\+hpp\item
src/color.\+cpp\end{DoxyCompactItemize}

View File

@@ -1,284 +0,0 @@
\hypertarget{classgcn_1_1Container}{}\section{gcn\+:\+:Container Class Reference}
\label{classgcn_1_1Container}\index{gcn\+::\+Container@{gcn\+::\+Container}}
{\ttfamily \#include $<$container.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=266pt]{classgcn_1_1Container__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Container\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1Container__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Container_a9b7bc2cf017eb3ed6a855688cf57322a}{Container} ()
\item
virtual \hyperlink{classgcn_1_1Container_a3384a372ea00af8cce5b88dd614a9b30}{$\sim$\+Container} ()
\item
void \hyperlink{classgcn_1_1Container_ae98ebff48adcfc7f95ac44b28864f36a}{set\+Opaque} (bool opaque)
\item
bool \hyperlink{classgcn_1_1Container_a458c9f8e2a6dd5373e666a6fe62ec719}{is\+Opaque} () const
\item
virtual void \hyperlink{classgcn_1_1Container_a183a60d39fc503b7e37c71491105f766}{add} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual void \hyperlink{classgcn_1_1Container_aa78a475e596e8261d4187ef58338e5ab}{add} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget, int x, int y)
\item
virtual void \hyperlink{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{remove} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$widget)
\item
virtual void \hyperlink{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{clear} ()
\item
virtual \hyperlink{classgcn_1_1Widget}{Widget} $\ast$ \hyperlink{classgcn_1_1Container_a7871002a444dba6ad82df1dcef61561b}{find\+Widget\+By\+Id} (const std\+::string \&id)
\item
virtual void \hyperlink{classgcn_1_1Container_a0bc3386f5564165fcb13e9d389a96432}{draw} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1Container_a0bb6aecc841e06a887f32905b561180b}{draw\+Border} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
bool \hyperlink{classgcn_1_1Container_a4fd62e01a8196c69c83e751af45a5ade}{m\+Opaque}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Detailed Description}
An implementation of a container able to contain other widgets. A widget\textquotesingle{}s position in the container is relative to the container itself and not the screen. A container is the most common widget to use as the \hyperlink{classgcn_1_1Gui}{Gui}\textquotesingle{}s top widget as makes the \hyperlink{classgcn_1_1Gui}{Gui} able to contain more than one widget.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Gui_a69ce39ec8962ae93f428a01ffec677de}{Gui\+::set\+Top}
\end{DoxySeeAlso}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Container@{gcn\+::\+Container}!Container@{Container}}
\index{Container@{Container}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{Container()}{Container()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Container\+::\+Container (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Container_a9b7bc2cf017eb3ed6a855688cf57322a}{}\label{classgcn_1_1Container_a9b7bc2cf017eb3ed6a855688cf57322a}
Constructor. A container is opauqe as default, if you want a none opaque container call set\+Qpaque(false).
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_ae98ebff48adcfc7f95ac44b28864f36a}{set\+Opaque}, \hyperlink{classgcn_1_1Container_a458c9f8e2a6dd5373e666a6fe62ec719}{is\+Opaque}
\end{DoxySeeAlso}
\index{gcn\+::\+Container@{gcn\+::\+Container}!````~Container@{$\sim$\+Container}}
\index{````~Container@{$\sim$\+Container}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{$\sim$\+Container()}{~Container()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Container\+::$\sim$\+Container (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a3384a372ea00af8cce5b88dd614a9b30}{}\label{classgcn_1_1Container_a3384a372ea00af8cce5b88dd614a9b30}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Container@{gcn\+::\+Container}!add@{add}}
\index{add@{add}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{add(\+Widget $\ast$widget)}{add(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::add (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a183a60d39fc503b7e37c71491105f766}{}\label{classgcn_1_1Container_a183a60d39fc503b7e37c71491105f766}
Adds a widget to the container.
\begin{DoxyParams}{Parameters}
{\em widget} & The widget to add. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{remove}, \hyperlink{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{clear}
\end{DoxySeeAlso}
\index{gcn\+::\+Container@{gcn\+::\+Container}!add@{add}}
\index{add@{add}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{add(\+Widget $\ast$widget, int x, int y)}{add(Widget *widget, int x, int y)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::add (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_aa78a475e596e8261d4187ef58338e5ab}{}\label{classgcn_1_1Container_aa78a475e596e8261d4187ef58338e5ab}
Adds a widget to the container and also specifices the widget\textquotesingle{}s postion in the container. The position is relative to the container and not relative to the screen.
\begin{DoxyParams}{Parameters}
{\em widget} & The widget to add. \\
\hline
{\em x} & The x coordinat for the widget. \\
\hline
{\em y} & The y coordinat for the widget. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{remove}, \hyperlink{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{clear}
\end{DoxySeeAlso}
\index{gcn\+::\+Container@{gcn\+::\+Container}!clear@{clear}}
\index{clear@{clear}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{clear()}{clear()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{}\label{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}
Clears the container of all widgets.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_a183a60d39fc503b7e37c71491105f766}{add}, \hyperlink{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{remove}
\end{DoxySeeAlso}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a6b494b3e7c7369efcfc0e3f2f964bcf8}{gcn\+::\+Basic\+Container}.
\index{gcn\+::\+Container@{gcn\+::\+Container}!draw@{draw}}
\index{draw@{draw}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{draw(\+Graphics $\ast$graphics)}{draw(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a0bc3386f5564165fcb13e9d389a96432}{}\label{classgcn_1_1Container_a0bc3386f5564165fcb13e9d389a96432}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Widget_acc595221d6a2d1afe1043c16dc37d212}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1Window_a6d41ec33f8d4389510a9071067c919e5}{gcn\+::\+Window}, and \hyperlink{classFFContainer_a42352820e4ed070f831a84a8b51451c6}{F\+F\+Container}.
\index{gcn\+::\+Container@{gcn\+::\+Container}!draw\+Border@{draw\+Border}}
\index{draw\+Border@{draw\+Border}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{draw\+Border(\+Graphics $\ast$graphics)}{drawBorder(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::draw\+Border (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a0bb6aecc841e06a887f32905b561180b}{}\label{classgcn_1_1Container_a0bb6aecc841e06a887f32905b561180b}
Draws the widget border. A border is drawn around a widget. The width and height of the border is therefore the widgets height+2$\ast$bordersize. Think of a painting that has a certain size, the border surrounds the painting.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a58c3b2f513d8e029e321fd88a974f5c4}{gcn\+::\+Widget}.
Reimplemented in \hyperlink{classgcn_1_1Window_ae5564549656568a7932811e0f4025113}{gcn\+::\+Window}.
\index{gcn\+::\+Container@{gcn\+::\+Container}!find\+Widget\+By\+Id@{find\+Widget\+By\+Id}}
\index{find\+Widget\+By\+Id@{find\+Widget\+By\+Id}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{find\+Widget\+By\+Id(const std\+::string \&id)}{findWidgetById(const std::string &id)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Widget} $\ast$ gcn\+::\+Container\+::find\+Widget\+By\+Id (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a7871002a444dba6ad82df1dcef61561b}{}\label{classgcn_1_1Container_a7871002a444dba6ad82df1dcef61561b}
Finds a widget given an id.
\begin{DoxyParams}{Parameters}
{\em id} & The id to find a widget by. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A widget with a corrosponding id, N\+U\+LL if no widget is found.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Widget_a0f3484b135d2c21f1d779e37f7ee4cd3}{Widget\+::set\+Id}
\end{DoxySeeAlso}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a4c734912bb5342259dc7bd77d606bd7e}{gcn\+::\+Basic\+Container}.
\index{gcn\+::\+Container@{gcn\+::\+Container}!is\+Opaque@{is\+Opaque}}
\index{is\+Opaque@{is\+Opaque}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{is\+Opaque() const }{isOpaque() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Container\+::is\+Opaque (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Container_a458c9f8e2a6dd5373e666a6fe62ec719}{}\label{classgcn_1_1Container_a458c9f8e2a6dd5373e666a6fe62ec719}
Checks if the container is opaque or not.
\begin{DoxyReturn}{Returns}
true if the container is opaque, false otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_ae98ebff48adcfc7f95ac44b28864f36a}{set\+Opaque}
\end{DoxySeeAlso}
\index{gcn\+::\+Container@{gcn\+::\+Container}!remove@{remove}}
\index{remove@{remove}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{remove(\+Widget $\ast$widget)}{remove(Widget *widget)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::remove (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}{}\label{classgcn_1_1Container_a6ed5e946da5112c8b86d708c9000274e}
Removes a widget from the \hyperlink{classgcn_1_1Container}{Container}.
\begin{DoxyParams}{Parameters}
{\em widget} & The widget to remove. \\
\hline
\end{DoxyParams}
\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classgcn_1_1Exception}{Exception}} & when the widget has not been added to the container. \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_a183a60d39fc503b7e37c71491105f766}{add}, \hyperlink{classgcn_1_1Container_a561436ebcebc3419545a4db3397c6686}{clear}
\end{DoxySeeAlso}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a1e834058961f0cf6d1eea415ca509b10}{gcn\+::\+Basic\+Container}.
\index{gcn\+::\+Container@{gcn\+::\+Container}!set\+Opaque@{set\+Opaque}}
\index{set\+Opaque@{set\+Opaque}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{set\+Opaque(bool opaque)}{setOpaque(bool opaque)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Container\+::set\+Opaque (
\begin{DoxyParamCaption}
\item[{bool}]{opaque}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Container_ae98ebff48adcfc7f95ac44b28864f36a}{}\label{classgcn_1_1Container_ae98ebff48adcfc7f95ac44b28864f36a}
Sets the container to be opaque or not. If the container is opaque it\textquotesingle{}s background will be drawn, if it\textquotesingle{}s not opaque it\textquotesingle{}s background will not be drawn, and thus making the container completely transparent.
N\+O\+TE\+: This is not the same as to set visibility. A non visible container will not itself nor will it draw it\textquotesingle{}s content.
\begin{DoxyParams}{Parameters}
{\em opaque} & True if the container should be opaque, false otherwise. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Container_a458c9f8e2a6dd5373e666a6fe62ec719}{is\+Opaque}
\end{DoxySeeAlso}
\subsection{Member Data Documentation}
\index{gcn\+::\+Container@{gcn\+::\+Container}!m\+Opaque@{m\+Opaque}}
\index{m\+Opaque@{m\+Opaque}!gcn\+::\+Container@{gcn\+::\+Container}}
\subsubsection[{\texorpdfstring{m\+Opaque}{mOpaque}}]{\setlength{\rightskip}{0pt plus 5cm}bool gcn\+::\+Container\+::m\+Opaque\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1Container_a4fd62e01a8196c69c83e751af45a5ade}{}\label{classgcn_1_1Container_a4fd62e01a8196c69c83e751af45a5ade}
True if the container is opaque, false otherwise.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/widgets/container.\+hpp\item
src/widgets/container.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
14cac3db7bafaeff89f2c77a1bd44717

View File

@@ -1 +0,0 @@
a89236d24104ce7252fd2612b9c95f56

View File

@@ -1,72 +0,0 @@
\hypertarget{classgcn_1_1DeathListener}{}\section{gcn\+:\+:Death\+Listener Class Reference}
\label{classgcn_1_1DeathListener}\index{gcn\+::\+Death\+Listener@{gcn\+::\+Death\+Listener}}
{\ttfamily \#include $<$deathlistener.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Death\+Listener\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1DeathListener__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
virtual \hyperlink{classgcn_1_1DeathListener_a1372819e4a4a727d00ac32163fb620c4}{$\sim$\+Death\+Listener} ()
\item
virtual void \hyperlink{classgcn_1_1DeathListener_a526e786e21fcf1266a56f20617babf90}{death} (const \hyperlink{classgcn_1_1Event}{Event} \&event)=0
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Listener of death events from Widgets. To be able to listen for deaths you must make a class which inherits from this class and implements the death function.
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1Widget_a874a4f734daddf0fdc4d9d70ebb1ee26}{Widget\+::add\+Death\+Listener}
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Olof Naess<73>n
\end{DoxyAuthor}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Death\+Listener@{gcn\+::\+Death\+Listener}!````~Death\+Listener@{$\sim$\+Death\+Listener}}
\index{````~Death\+Listener@{$\sim$\+Death\+Listener}!gcn\+::\+Death\+Listener@{gcn\+::\+Death\+Listener}}
\subsubsection[{\texorpdfstring{$\sim$\+Death\+Listener()}{~DeathListener()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual gcn\+::\+Death\+Listener\+::$\sim$\+Death\+Listener (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1DeathListener_a1372819e4a4a727d00ac32163fb620c4}{}\label{classgcn_1_1DeathListener_a1372819e4a4a727d00ac32163fb620c4}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Death\+Listener@{gcn\+::\+Death\+Listener}!death@{death}}
\index{death@{death}!gcn\+::\+Death\+Listener@{gcn\+::\+Death\+Listener}}
\subsubsection[{\texorpdfstring{death(const Event \&event)=0}{death(const Event &event)=0}}]{\setlength{\rightskip}{0pt plus 5cm}virtual void gcn\+::\+Death\+Listener\+::death (
\begin{DoxyParamCaption}
\item[{const {\bf Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\hypertarget{classgcn_1_1DeathListener_a526e786e21fcf1266a56f20617babf90}{}\label{classgcn_1_1DeathListener_a526e786e21fcf1266a56f20617babf90}
Called when a widget dies. It is used to be able to recieve a notification when a death of a widget occurs.
\begin{DoxyParams}{Parameters}
{\em event} & the event of the death. \\
\hline
\end{DoxyParams}
Implemented in \hyperlink{classgcn_1_1DropDown_a8f6402e1ad3ac77b7db296bbd77a7494}{gcn\+::\+Drop\+Down}, \hyperlink{classgcn_1_1TabbedArea_aacf206f5ea02e67b295b7b26ea2a6eac}{gcn\+::\+Tabbed\+Area}, and \hyperlink{classgcn_1_1BasicContainer_ac6cf8760537dcd167e0f518f556bccf4}{gcn\+::\+Basic\+Container}.
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
include/guisan/deathlistener.\+hpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
7ec2cd763016765ee3788582ffd8f674

View File

@@ -1,172 +0,0 @@
\hypertarget{classgcn_1_1DefaultFont}{}\section{gcn\+:\+:Default\+Font Class Reference}
\label{classgcn_1_1DefaultFont}\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
{\ttfamily \#include $<$defaultfont.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Default\+Font\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=169pt]{classgcn_1_1DefaultFont__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Default\+Font\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=169pt]{classgcn_1_1DefaultFont__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
virtual \hyperlink{classgcn_1_1DefaultFont_ab606ee0708758b5fafd19cfc8938b624}{$\sim$\+Default\+Font} ()
\item
virtual int \hyperlink{classgcn_1_1DefaultFont_a5b6ab73374e18e7f22696b7b2a1afa08}{draw\+Glyph} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics, unsigned char glyph, int x, int y)
\item
virtual void \hyperlink{classgcn_1_1DefaultFont_a3cdd4f449bd2114312df6970c6ae2571}{draw\+String} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics, const std\+::string \&text, int x, int y)
\item
virtual int \hyperlink{classgcn_1_1DefaultFont_a62d609afe7f0d0dec90a0ae1cb4731ea}{get\+Width} (const std\+::string \&text) const
\item
virtual int \hyperlink{classgcn_1_1DefaultFont_a64f2f7bcce5d3780106634e36ac0a52a}{get\+Height} () const
\item
virtual int \hyperlink{classgcn_1_1DefaultFont_a10b802c51de668171c2255f2e11fc063}{get\+String\+Index\+At} (const std\+::string \&text, int x)
\end{DoxyCompactItemize}
\subsection{Detailed Description}
A font only capable of drawing rectangles. It is used by default merely to show that no font have been set.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!````~Default\+Font@{$\sim$\+Default\+Font}}
\index{````~Default\+Font@{$\sim$\+Default\+Font}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{$\sim$\+Default\+Font()}{~DefaultFont()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual gcn\+::\+Default\+Font\+::$\sim$\+Default\+Font (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_ab606ee0708758b5fafd19cfc8938b624}{}\label{classgcn_1_1DefaultFont_ab606ee0708758b5fafd19cfc8938b624}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!draw\+Glyph@{draw\+Glyph}}
\index{draw\+Glyph@{draw\+Glyph}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{draw\+Glyph(\+Graphics $\ast$graphics, unsigned char glyph, int x, int y)}{drawGlyph(Graphics *graphics, unsigned char glyph, int x, int y)}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Default\+Font\+::draw\+Glyph (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics, }
\item[{unsigned char}]{glyph, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_a5b6ab73374e18e7f22696b7b2a1afa08}{}\label{classgcn_1_1DefaultFont_a5b6ab73374e18e7f22696b7b2a1afa08}
Draws a glyph as a rectangle. The glyphs always be drawn as rectangles no matter the glyph.
N\+O\+TE\+: You normally won\textquotesingle{}t use this function to draw text since the \hyperlink{classgcn_1_1Graphics}{Graphics} class contains better functions for drawing text.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to be used for drawing. \\
\hline
{\em glyph} & a glyph to draw. \\
\hline
{\em x} & the x coordinate where to draw the glyph. \\
\hline
{\em y} & the y coordinate where to draw the glyph. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the width of the glyph in pixels.
\end{DoxyReturn}
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!draw\+String@{draw\+String}}
\index{draw\+String@{draw\+String}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{draw\+String(\+Graphics $\ast$graphics, const std\+::string \&text, int x, int y)}{drawString(Graphics *graphics, const std::string &text, int x, int y)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Default\+Font\+::draw\+String (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics, }
\item[{const std\+::string \&}]{text, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_a3cdd4f449bd2114312df6970c6ae2571}{}\label{classgcn_1_1DefaultFont_a3cdd4f449bd2114312df6970c6ae2571}
Draws a string.
N\+O\+TE\+: You normally won\textquotesingle{}t use this function to draw text since \hyperlink{classgcn_1_1Graphics}{Graphics} contains better functions for drawing text.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to use for drawing. \\
\hline
{\em text} & the string to draw. \\
\hline
{\em x} & the x coordinate where to draw the string. \\
\hline
{\em y} & the y coordinate where to draw the string. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Font_a055c403050f483cc2c67477443d98eee}{gcn\+::\+Font}.
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!get\+Height@{get\+Height}}
\index{get\+Height@{get\+Height}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{get\+Height() const }{getHeight() const }}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Default\+Font\+::get\+Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_a64f2f7bcce5d3780106634e36ac0a52a}{}\label{classgcn_1_1DefaultFont_a64f2f7bcce5d3780106634e36ac0a52a}
Gets the height of the glyphs in the font.
\begin{DoxyReturn}{Returns}
the height of the glyphs int the font.
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1Font_aa270d8934a16d4065143e3617b1fa926}{gcn\+::\+Font}.
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!get\+String\+Index\+At@{get\+String\+Index\+At}}
\index{get\+String\+Index\+At@{get\+String\+Index\+At}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{get\+String\+Index\+At(const std\+::string \&text, int x)}{getStringIndexAt(const std::string &text, int x)}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Default\+Font\+::get\+String\+Index\+At (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{text, }
\item[{int}]{x}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_a10b802c51de668171c2255f2e11fc063}{}\label{classgcn_1_1DefaultFont_a10b802c51de668171c2255f2e11fc063}
Gets a string index in a string providing an x coordinate. Used to retrive a string index (for a character in a string) at a certain x position. It is especially useful when a mouse clicks in a \hyperlink{classgcn_1_1TextField}{Text\+Field} and you want to know which character was clicked.
\begin{DoxyReturn}{Returns}
a string index in a string providing an x coordinate.
\end{DoxyReturn}
Reimplemented from \hyperlink{classgcn_1_1Font_a3210f4c53424ade4b188b8dfb1f686a4}{gcn\+::\+Font}.
\index{gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}!get\+Width@{get\+Width}}
\index{get\+Width@{get\+Width}!gcn\+::\+Default\+Font@{gcn\+::\+Default\+Font}}
\subsubsection[{\texorpdfstring{get\+Width(const std\+::string \&text) const }{getWidth(const std::string &text) const }}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Default\+Font\+::get\+Width (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{text}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DefaultFont_a62d609afe7f0d0dec90a0ae1cb4731ea}{}\label{classgcn_1_1DefaultFont_a62d609afe7f0d0dec90a0ae1cb4731ea}
Gets the width of a string. The width of a string is not necesserily the sum of all the widths of it\textquotesingle{}s glyphs.
\begin{DoxyParams}{Parameters}
{\em text} & the string to return the width of. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the width of a string.
\end{DoxyReturn}
Implements \hyperlink{classgcn_1_1Font_abb88894b1ebeda28edcac75c537f8e0f}{gcn\+::\+Font}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/defaultfont.\+hpp\item
src/defaultfont.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
dad4820311255855f8dc466a40435207

View File

@@ -1 +0,0 @@
dad4820311255855f8dc466a40435207

View File

@@ -1,602 +0,0 @@
\hypertarget{classgcn_1_1DropDown}{}\section{gcn\+:\+:Drop\+Down Class Reference}
\label{classgcn_1_1DropDown}\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
{\ttfamily \#include $<$dropdown.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Drop\+Down\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1DropDown__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Drop\+Down\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1DropDown__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1DropDown_a8cc1eaa43f21818e6a80606ce5543099}{Drop\+Down} (\hyperlink{classgcn_1_1ListModel}{List\+Model} $\ast$list\+Model=N\+U\+LL, \hyperlink{classgcn_1_1ScrollArea}{Scroll\+Area} $\ast$scroll\+Area=N\+U\+LL, \hyperlink{classgcn_1_1ListBox}{List\+Box} $\ast$list\+Box=N\+U\+LL)
\item
virtual \hyperlink{classgcn_1_1DropDown_afd2801677bd40fabb3dba5e28758fdf0}{$\sim$\+Drop\+Down} ()
\item
int \hyperlink{classgcn_1_1DropDown_aeefe59776b354441faa9cc396723e905}{get\+Selected} () const
\item
void \hyperlink{classgcn_1_1DropDown_a01042c330073ed25d7ec4629647bdf79}{set\+Selected} (int selected)
\item
void \hyperlink{classgcn_1_1DropDown_adc12528be39ab01791c71969a00e37c2}{set\+List\+Model} (\hyperlink{classgcn_1_1ListModel}{List\+Model} $\ast$list\+Model)
\item
\hyperlink{classgcn_1_1ListModel}{List\+Model} $\ast$ \hyperlink{classgcn_1_1DropDown_a3c2ab20b50c9421accb76b557e558054}{get\+List\+Model} ()
\item
void \hyperlink{classgcn_1_1DropDown_a39f06966d6236c7ead1a32c121dabcf9}{adjust\+Height} ()
\item
void \hyperlink{classgcn_1_1DropDown_a82a8e42e1a902e32e7d2917665039073}{add\+Selection\+Listener} (\hyperlink{classgcn_1_1SelectionListener}{Selection\+Listener} $\ast$selection\+Listener)
\item
void \hyperlink{classgcn_1_1DropDown_a44a2e345d02a70417398cbe52b6d3495}{remove\+Selection\+Listener} (\hyperlink{classgcn_1_1SelectionListener}{Selection\+Listener} $\ast$selection\+Listener)
\item
virtual void \hyperlink{classgcn_1_1DropDown_acf081df400b8dd2affac734122bfdc8c}{draw} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a0fd541dd030eab962d27c1488f0d0aac}{draw\+Border} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
void {\bfseries set\+Base\+Color} (const \hyperlink{classgcn_1_1Color}{Color} \&color)\hypertarget{classgcn_1_1DropDown_a2544d55f5bae9b499b2d29c8d0cf0ca6}{}\label{classgcn_1_1DropDown_a2544d55f5bae9b499b2d29c8d0cf0ca6}
\item
void {\bfseries set\+Background\+Color} (const \hyperlink{classgcn_1_1Color}{Color} \&color)\hypertarget{classgcn_1_1DropDown_ad6b921be74f7825f5370efe4ab6700ed}{}\label{classgcn_1_1DropDown_ad6b921be74f7825f5370efe4ab6700ed}
\item
void {\bfseries set\+Foreground\+Color} (const \hyperlink{classgcn_1_1Color}{Color} \&color)\hypertarget{classgcn_1_1DropDown_ab46dc804aab38d01a88ece5abb595261}{}\label{classgcn_1_1DropDown_ab46dc804aab38d01a88ece5abb595261}
\item
void {\bfseries set\+Font} (\hyperlink{classgcn_1_1Font}{Font} $\ast$font)\hypertarget{classgcn_1_1DropDown_accdcc834a12cd77ad74776606bf7dc50}{}\label{classgcn_1_1DropDown_accdcc834a12cd77ad74776606bf7dc50}
\item
void {\bfseries set\+Selection\+Color} (const \hyperlink{classgcn_1_1Color}{Color} \&color)\hypertarget{classgcn_1_1DropDown_a665aa223952505b6e974b762d0c49866}{}\label{classgcn_1_1DropDown_a665aa223952505b6e974b762d0c49866}
\item
virtual \hyperlink{classgcn_1_1Rectangle}{Rectangle} \hyperlink{classgcn_1_1DropDown_ad61f89e8985a3a3be217dd15e199633d}{get\+Children\+Area} ()
\item
virtual void \hyperlink{classgcn_1_1DropDown_a688cf78090ce646ea35e1ca00a441b12}{focus\+Lost} (const \hyperlink{classgcn_1_1Event}{Event} \&event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_aed63325d931d3d9d3df7400bd3b89f3e}{action} (const \hyperlink{classgcn_1_1ActionEvent}{Action\+Event} \&action\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a8f6402e1ad3ac77b7db296bbd77a7494}{death} (const \hyperlink{classgcn_1_1Event}{Event} \&event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a10e7ba776f5c93185c9c8a18b9c3bfa6}{key\+Pressed} (\hyperlink{classgcn_1_1KeyEvent}{Key\+Event} \&key\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a3865e886c7e7f475d49dbae1772805e9}{mouse\+Pressed} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_ac62161f8fc0cfb09d901a9376ae8d416}{mouse\+Released} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_aaee24c3f98bff6165b4fff5fd0a433c1}{mouse\+Wheel\+Moved\+Up} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_ae84a6afe8d813f32cafbf774eebae6b2}{mouse\+Wheel\+Moved\+Down} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a1cef091cc5cf19aa64171276e787ad72}{mouse\+Dragged} (\hyperlink{classgcn_1_1MouseEvent}{Mouse\+Event} \&mouse\+Event)
\item
virtual void \hyperlink{classgcn_1_1DropDown_a76129029923e0c520b1ade9f242c09e3}{value\+Changed} (const \hyperlink{classgcn_1_1SelectionEvent}{Selection\+Event} \&event)
\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item
typedef std\+::list$<$ \hyperlink{classgcn_1_1SelectionListener}{Selection\+Listener} $\ast$ $>$ \hyperlink{classgcn_1_1DropDown_a04c257fcc8360fdff851c66a8ada149e}{Selection\+Listener\+List}
\item
typedef Selection\+Listener\+List\+::iterator \hyperlink{classgcn_1_1DropDown_a836c8426a53976c1fbecad118ae72ea7}{Selection\+Listener\+Iterator}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
virtual void \hyperlink{classgcn_1_1DropDown_ae4dd73bd704e8801d25e858a19a5e5e4}{draw\+Button} (\hyperlink{classgcn_1_1Graphics}{Graphics} $\ast$graphics)
\item
virtual void \hyperlink{classgcn_1_1DropDown_aa26df3e489e7982446381c782578bbbb}{drop\+Down} ()
\item
virtual void \hyperlink{classgcn_1_1DropDown_a6fa979a9064a33f72f4bc7ca6733fe69}{fold\+Up} ()
\item
void \hyperlink{classgcn_1_1DropDown_abbb9a251110710fa2af114476c6a4c23}{distribute\+Value\+Changed\+Event} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
bool {\bfseries m\+Dropped\+Down}\hypertarget{classgcn_1_1DropDown_a6044d9242a012940b40f82aca990f1b1}{}\label{classgcn_1_1DropDown_a6044d9242a012940b40f82aca990f1b1}
\item
bool {\bfseries m\+Pushed}\hypertarget{classgcn_1_1DropDown_af2be6c53414e75bed1f7c26a04c162cd}{}\label{classgcn_1_1DropDown_af2be6c53414e75bed1f7c26a04c162cd}
\item
int \hyperlink{classgcn_1_1DropDown_a19582187e93e0c963ce131e4dda76ed0}{m\+Folded\+Up\+Height}
\item
\hyperlink{classgcn_1_1ScrollArea}{Scroll\+Area} $\ast$ \hyperlink{classgcn_1_1DropDown_ad993ee12246ec45ae933dc0b69120858}{m\+Scroll\+Area}
\item
\hyperlink{classgcn_1_1ListBox}{List\+Box} $\ast$ {\bfseries m\+List\+Box}\hypertarget{classgcn_1_1DropDown_a1931b17ba473552e48df708af1e4981b}{}\label{classgcn_1_1DropDown_a1931b17ba473552e48df708af1e4981b}
\item
\hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} {\bfseries m\+Internal\+Focus\+Handler}\hypertarget{classgcn_1_1DropDown_a53e3e591e6d368f4a51f8879d4f56873}{}\label{classgcn_1_1DropDown_a53e3e591e6d368f4a51f8879d4f56873}
\item
bool {\bfseries m\+Internal\+Scroll\+Area}\hypertarget{classgcn_1_1DropDown_afa6235ad0b7181c6d6e6c0f20de2df3d}{}\label{classgcn_1_1DropDown_afa6235ad0b7181c6d6e6c0f20de2df3d}
\item
bool {\bfseries m\+Internal\+List\+Box}\hypertarget{classgcn_1_1DropDown_ab77b80e2db20ca032c2e51fec24929b9}{}\label{classgcn_1_1DropDown_ab77b80e2db20ca032c2e51fec24929b9}
\item
bool {\bfseries m\+Is\+Dragged}\hypertarget{classgcn_1_1DropDown_a1360f37268fac8557b8711d299315e84}{}\label{classgcn_1_1DropDown_a1360f37268fac8557b8711d299315e84}
\item
\hyperlink{classgcn_1_1DropDown_a04c257fcc8360fdff851c66a8ada149e}{Selection\+Listener\+List} \hyperlink{classgcn_1_1DropDown_af75c84f875796ada546de4ee008f165e}{m\+Selection\+Listeners}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Detailed Description}
An implementation of a drop downable list from which an item can be selected. The drop down consists of an internal \hyperlink{classgcn_1_1ScrollArea}{Scroll\+Area} and an internal \hyperlink{classgcn_1_1ListBox}{List\+Box}. The drop down also uses an internal \hyperlink{classgcn_1_1FocusHandler}{Focus\+Handler} to handle the focus of the internal Scoll\+Area and the internal \hyperlink{classgcn_1_1ListBox}{List\+Box}. The scroll area and the list box can be passed to the drop down if a custom scroll area and or a custom list box is preferable.
To be able display a list the drop down uses a user provided list model. A list model can be any class that implements the \hyperlink{classgcn_1_1ListModel}{List\+Model} interface.
If an item is selected in the drop down a select event will be sent to all selection listeners of the drop down. If an item is selected by using a mouse click or by using the enter or space key an action event will be sent to all action listeners of the drop down.
\subsection{Member Typedef Documentation}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!Selection\+Listener\+Iterator@{Selection\+Listener\+Iterator}}
\index{Selection\+Listener\+Iterator@{Selection\+Listener\+Iterator}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{Selection\+Listener\+Iterator}{SelectionListenerIterator}}]{\setlength{\rightskip}{0pt plus 5cm}typedef Selection\+Listener\+List\+::iterator {\bf gcn\+::\+Drop\+Down\+::\+Selection\+Listener\+Iterator}\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_a836c8426a53976c1fbecad118ae72ea7}{}\label{classgcn_1_1DropDown_a836c8426a53976c1fbecad118ae72ea7}
Typedef. \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!Selection\+Listener\+List@{Selection\+Listener\+List}}
\index{Selection\+Listener\+List@{Selection\+Listener\+List}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{Selection\+Listener\+List}{SelectionListenerList}}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\+::list$<${\bf Selection\+Listener}$\ast$$>$ {\bf gcn\+::\+Drop\+Down\+::\+Selection\+Listener\+List}\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_a04c257fcc8360fdff851c66a8ada149e}{}\label{classgcn_1_1DropDown_a04c257fcc8360fdff851c66a8ada149e}
Typedef.
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!Drop\+Down@{Drop\+Down}}
\index{Drop\+Down@{Drop\+Down}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{Drop\+Down(\+List\+Model $\ast$list\+Model=\+N\+U\+L\+L, Scroll\+Area $\ast$scroll\+Area=\+N\+U\+L\+L, List\+Box $\ast$list\+Box=\+N\+U\+L\+L)}{DropDown(ListModel *listModel=NULL, ScrollArea *scrollArea=NULL, ListBox *listBox=NULL)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Drop\+Down\+::\+Drop\+Down (
\begin{DoxyParamCaption}
\item[{{\bf List\+Model} $\ast$}]{list\+Model = {\ttfamily NULL}, }
\item[{{\bf Scroll\+Area} $\ast$}]{scroll\+Area = {\ttfamily NULL}, }
\item[{{\bf List\+Box} $\ast$}]{list\+Box = {\ttfamily NULL}}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a8cc1eaa43f21818e6a80606ce5543099}{}\label{classgcn_1_1DropDown_a8cc1eaa43f21818e6a80606ce5543099}
Contructor.
\begin{DoxyParams}{Parameters}
{\em list\+Model} & the \hyperlink{classgcn_1_1ListModel}{List\+Model} to use. \\
\hline
{\em scroll\+Area} & the \hyperlink{classgcn_1_1ScrollArea}{Scroll\+Area} to use. \\
\hline
{\em list\+Box} & the list\+Box to use. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1ListModel}{List\+Model}, \hyperlink{classgcn_1_1ScrollArea}{Scroll\+Area}, \hyperlink{classgcn_1_1ListBox}{List\+Box}.
\end{DoxySeeAlso}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!````~Drop\+Down@{$\sim$\+Drop\+Down}}
\index{````~Drop\+Down@{$\sim$\+Drop\+Down}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{$\sim$\+Drop\+Down()}{~DropDown()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Drop\+Down\+::$\sim$\+Drop\+Down (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_afd2801677bd40fabb3dba5e28758fdf0}{}\label{classgcn_1_1DropDown_afd2801677bd40fabb3dba5e28758fdf0}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!action@{action}}
\index{action@{action}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{action(const Action\+Event \&action\+Event)}{action(const ActionEvent &actionEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::action (
\begin{DoxyParamCaption}
\item[{const {\bf Action\+Event} \&}]{action\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_aed63325d931d3d9d3df7400bd3b89f3e}{}\label{classgcn_1_1DropDown_aed63325d931d3d9d3df7400bd3b89f3e}
Called when an action is recieved from a \hyperlink{classgcn_1_1Widget}{Widget}. It is used to be able to recieve a notification that an action has occured.
\begin{DoxyParams}{Parameters}
{\em action\+Event} & the event of the action. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Implements \hyperlink{classgcn_1_1ActionListener_ae883112ab054a8589b5d82c47763a31d}{gcn\+::\+Action\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!add\+Selection\+Listener@{add\+Selection\+Listener}}
\index{add\+Selection\+Listener@{add\+Selection\+Listener}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{add\+Selection\+Listener(\+Selection\+Listener $\ast$selection\+Listener)}{addSelectionListener(SelectionListener *selectionListener)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::add\+Selection\+Listener (
\begin{DoxyParamCaption}
\item[{{\bf Selection\+Listener} $\ast$}]{selection\+Listener}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a82a8e42e1a902e32e7d2917665039073}{}\label{classgcn_1_1DropDown_a82a8e42e1a902e32e7d2917665039073}
Adds a selection listener to the drop down. When the selection changes an event will be sent to all selection listeners of the drop down.
\begin{DoxyParams}{Parameters}
{\em selection\+Listener} & the selection listener to add. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+8.\+0
\end{DoxySince}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!adjust\+Height@{adjust\+Height}}
\index{adjust\+Height@{adjust\+Height}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{adjust\+Height()}{adjustHeight()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::adjust\+Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a39f06966d6236c7ead1a32c121dabcf9}{}\label{classgcn_1_1DropDown_a39f06966d6236c7ead1a32c121dabcf9}
Adjusts the height of the drop down to fit the height of the drop down\textquotesingle{}s parent\textquotesingle{}s height. It\textquotesingle{}s used to not make the drop down draw itself outside of it\textquotesingle{}s parent if folded down. \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!death@{death}}
\index{death@{death}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{death(const Event \&event)}{death(const Event &event)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::death (
\begin{DoxyParamCaption}
\item[{const {\bf Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a8f6402e1ad3ac77b7db296bbd77a7494}{}\label{classgcn_1_1DropDown_a8f6402e1ad3ac77b7db296bbd77a7494}
Called when a widget dies. It is used to be able to recieve a notification when a death of a widget occurs.
\begin{DoxyParams}{Parameters}
{\em event} & the event of the death. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_ac6cf8760537dcd167e0f518f556bccf4}{gcn\+::\+Basic\+Container}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!distribute\+Value\+Changed\+Event@{distribute\+Value\+Changed\+Event}}
\index{distribute\+Value\+Changed\+Event@{distribute\+Value\+Changed\+Event}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{distribute\+Value\+Changed\+Event()}{distributeValueChangedEvent()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::distribute\+Value\+Changed\+Event (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_abbb9a251110710fa2af114476c6a4c23}{}\label{classgcn_1_1DropDown_abbb9a251110710fa2af114476c6a4c23}
Distributes a value changed event to all selection listeners of the drop down.
\begin{DoxySince}{Since}
0.\+8.\+0
\end{DoxySince}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!draw@{draw}}
\index{draw@{draw}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{draw(\+Graphics $\ast$graphics)}{draw(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_acf081df400b8dd2affac734122bfdc8c}{}\label{classgcn_1_1DropDown_acf081df400b8dd2affac734122bfdc8c}
Draws the widget. It is called by the parent widget when it is time for the widget to draw itself. The graphics object is set up so that all drawing is relative to the widget, i.\+e coordinate (0,0) is the top-\/left corner of the widget. It is not possible to draw outside of a widgets dimension.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Implements \hyperlink{classgcn_1_1Widget_acc595221d6a2d1afe1043c16dc37d212}{gcn\+::\+Widget}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!draw\+Border@{draw\+Border}}
\index{draw\+Border@{draw\+Border}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{draw\+Border(\+Graphics $\ast$graphics)}{drawBorder(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::draw\+Border (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a0fd541dd030eab962d27c1488f0d0aac}{}\label{classgcn_1_1DropDown_a0fd541dd030eab962d27c1488f0d0aac}
Draws the widget border. A border is drawn around a widget. The width and height of the border is therefore the widgets height+2$\ast$bordersize. Think of a painting that has a certain size, the border surrounds the painting.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1Widget_a58c3b2f513d8e029e321fd88a974f5c4}{gcn\+::\+Widget}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!draw\+Button@{draw\+Button}}
\index{draw\+Button@{draw\+Button}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{draw\+Button(\+Graphics $\ast$graphics)}{drawButton(Graphics *graphics)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::draw\+Button (
\begin{DoxyParamCaption}
\item[{{\bf Graphics} $\ast$}]{graphics}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_ae4dd73bd704e8801d25e858a19a5e5e4}{}\label{classgcn_1_1DropDown_ae4dd73bd704e8801d25e858a19a5e5e4}
Draws the button with the little down arrow.
\begin{DoxyParams}{Parameters}
{\em graphics} & a \hyperlink{classgcn_1_1Graphics}{Graphics} object to draw with. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!drop\+Down@{drop\+Down}}
\index{drop\+Down@{drop\+Down}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{drop\+Down()}{dropDown()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::drop\+Down (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_aa26df3e489e7982446381c782578bbbb}{}\label{classgcn_1_1DropDown_aa26df3e489e7982446381c782578bbbb}
Sets the \hyperlink{classgcn_1_1DropDown}{Drop\+Down} \hyperlink{classgcn_1_1Widget}{Widget} to dropped-\/down mode. \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!focus\+Lost@{focus\+Lost}}
\index{focus\+Lost@{focus\+Lost}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{focus\+Lost(const Event \&event)}{focusLost(const Event &event)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::focus\+Lost (
\begin{DoxyParamCaption}
\item[{const {\bf Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a688cf78090ce646ea35e1ca00a441b12}{}\label{classgcn_1_1DropDown_a688cf78090ce646ea35e1ca00a441b12}
Called when a widget loses focus.
\begin{DoxyParams}{Parameters}
{\em event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1FocusListener_a7523032b39888503179e8142d2433b45}{gcn\+::\+Focus\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!fold\+Up@{fold\+Up}}
\index{fold\+Up@{fold\+Up}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{fold\+Up()}{foldUp()}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::fold\+Up (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a6fa979a9064a33f72f4bc7ca6733fe69}{}\label{classgcn_1_1DropDown_a6fa979a9064a33f72f4bc7ca6733fe69}
Sets the \hyperlink{classgcn_1_1DropDown}{Drop\+Down} \hyperlink{classgcn_1_1Widget}{Widget} to folded-\/up mode. \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!get\+Children\+Area@{get\+Children\+Area}}
\index{get\+Children\+Area@{get\+Children\+Area}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{get\+Children\+Area()}{getChildrenArea()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Rectangle} gcn\+::\+Drop\+Down\+::get\+Children\+Area (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_ad61f89e8985a3a3be217dd15e199633d}{}\label{classgcn_1_1DropDown_ad61f89e8985a3a3be217dd15e199633d}
Gets the subarea of the widget that the children occupy.
\begin{DoxyReturn}{Returns}
the subarea as a \hyperlink{classgcn_1_1Rectangle}{Rectangle}.
\end{DoxyReturn}
Reimplemented from \hyperlink{classgcn_1_1BasicContainer_a8ed853146d726cb3bc5d109ad52203d6}{gcn\+::\+Basic\+Container}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!get\+List\+Model@{get\+List\+Model}}
\index{get\+List\+Model@{get\+List\+Model}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{get\+List\+Model()}{getListModel()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf List\+Model} $\ast$ gcn\+::\+Drop\+Down\+::get\+List\+Model (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a3c2ab20b50c9421accb76b557e558054}{}\label{classgcn_1_1DropDown_a3c2ab20b50c9421accb76b557e558054}
Gets the list model used.
\begin{DoxyReturn}{Returns}
the \hyperlink{classgcn_1_1ListModel}{List\+Model} used.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1DropDown_adc12528be39ab01791c71969a00e37c2}{set\+List\+Model}
\end{DoxySeeAlso}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!get\+Selected@{get\+Selected}}
\index{get\+Selected@{get\+Selected}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{get\+Selected() const }{getSelected() const }}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Drop\+Down\+::get\+Selected (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1DropDown_aeefe59776b354441faa9cc396723e905}{}\label{classgcn_1_1DropDown_aeefe59776b354441faa9cc396723e905}
Gets the selected item as an index in the list model.
\begin{DoxyReturn}{Returns}
the selected item as an index in the list model.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1DropDown_a01042c330073ed25d7ec4629647bdf79}{set\+Selected}
\end{DoxySeeAlso}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!key\+Pressed@{key\+Pressed}}
\index{key\+Pressed@{key\+Pressed}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{key\+Pressed(\+Key\+Event \&key\+Event)}{keyPressed(KeyEvent &keyEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::key\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf Key\+Event} \&}]{key\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a10e7ba776f5c93185c9c8a18b9c3bfa6}{}\label{classgcn_1_1DropDown_a10e7ba776f5c93185c9c8a18b9c3bfa6}
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
\begin{DoxyParams}{Parameters}
{\em key\+Event} & discribes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1KeyListener_ada6c0d038340d6ee674702268b2d2c67}{gcn\+::\+Key\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!mouse\+Dragged@{mouse\+Dragged}}
\index{mouse\+Dragged@{mouse\+Dragged}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{mouse\+Dragged(\+Mouse\+Event \&mouse\+Event)}{mouseDragged(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::mouse\+Dragged (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a1cef091cc5cf19aa64171276e787ad72}{}\label{classgcn_1_1DropDown_a1cef091cc5cf19aa64171276e787ad72}
Called when the mouse has moved and the mouse has previously been pressed on the widget.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_a5e2764977dd75e52d116f9ba6311a46b}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!mouse\+Pressed@{mouse\+Pressed}}
\index{mouse\+Pressed@{mouse\+Pressed}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{mouse\+Pressed(\+Mouse\+Event \&mouse\+Event)}{mousePressed(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::mouse\+Pressed (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a3865e886c7e7f475d49dbae1772805e9}{}\label{classgcn_1_1DropDown_a3865e886c7e7f475d49dbae1772805e9}
Called when a mouse button has been pressed on the widget area.
N\+O\+TE\+: A mouse press is N\+OT equal to a mouse click. Use mouse\+Click\+Message to check for mouse clicks.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_af81ee6190a48a18585f6e738e381abd3}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!mouse\+Released@{mouse\+Released}}
\index{mouse\+Released@{mouse\+Released}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{mouse\+Released(\+Mouse\+Event \&mouse\+Event)}{mouseReleased(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::mouse\+Released (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_ac62161f8fc0cfb09d901a9376ae8d416}{}\label{classgcn_1_1DropDown_ac62161f8fc0cfb09d901a9376ae8d416}
Called when a mouse button has been released on the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_adf68ed80e1a3c027fbb5d0e575b20fc3}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!mouse\+Wheel\+Moved\+Down@{mouse\+Wheel\+Moved\+Down}}
\index{mouse\+Wheel\+Moved\+Down@{mouse\+Wheel\+Moved\+Down}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{mouse\+Wheel\+Moved\+Down(\+Mouse\+Event \&mouse\+Event)}{mouseWheelMovedDown(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::mouse\+Wheel\+Moved\+Down (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_ae84a6afe8d813f32cafbf774eebae6b2}{}\label{classgcn_1_1DropDown_ae84a6afe8d813f32cafbf774eebae6b2}
Called when the mouse wheel has moved down on the widget area.
\begin{DoxyParams}{Parameters}
{\em mous\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_ab177e069d747626bcf228149c4391320}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!mouse\+Wheel\+Moved\+Up@{mouse\+Wheel\+Moved\+Up}}
\index{mouse\+Wheel\+Moved\+Up@{mouse\+Wheel\+Moved\+Up}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{mouse\+Wheel\+Moved\+Up(\+Mouse\+Event \&mouse\+Event)}{mouseWheelMovedUp(MouseEvent &mouseEvent)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::mouse\+Wheel\+Moved\+Up (
\begin{DoxyParamCaption}
\item[{{\bf Mouse\+Event} \&}]{mouse\+Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_aaee24c3f98bff6165b4fff5fd0a433c1}{}\label{classgcn_1_1DropDown_aaee24c3f98bff6165b4fff5fd0a433c1}
Called when the mouse wheel has moved up on the widget area.
\begin{DoxyParams}{Parameters}
{\em mouse\+Event} & describes the event. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1MouseListener_ab3cb0eb9b771656461d3e0248127721d}{gcn\+::\+Mouse\+Listener}.
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!remove\+Selection\+Listener@{remove\+Selection\+Listener}}
\index{remove\+Selection\+Listener@{remove\+Selection\+Listener}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{remove\+Selection\+Listener(\+Selection\+Listener $\ast$selection\+Listener)}{removeSelectionListener(SelectionListener *selectionListener)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::remove\+Selection\+Listener (
\begin{DoxyParamCaption}
\item[{{\bf Selection\+Listener} $\ast$}]{selection\+Listener}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a44a2e345d02a70417398cbe52b6d3495}{}\label{classgcn_1_1DropDown_a44a2e345d02a70417398cbe52b6d3495}
Removes a selection listener from the drop down.
\begin{DoxyParams}{Parameters}
{\em selection\+Listener} & the selection listener to remove. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+8.\+0
\end{DoxySince}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!set\+List\+Model@{set\+List\+Model}}
\index{set\+List\+Model@{set\+List\+Model}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{set\+List\+Model(\+List\+Model $\ast$list\+Model)}{setListModel(ListModel *listModel)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::set\+List\+Model (
\begin{DoxyParamCaption}
\item[{{\bf List\+Model} $\ast$}]{list\+Model}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_adc12528be39ab01791c71969a00e37c2}{}\label{classgcn_1_1DropDown_adc12528be39ab01791c71969a00e37c2}
Sets the list model to use when displaying the list.
\begin{DoxyParams}{Parameters}
{\em list\+Model} & the list model to use. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1DropDown_a3c2ab20b50c9421accb76b557e558054}{get\+List\+Model}
\end{DoxySeeAlso}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!set\+Selected@{set\+Selected}}
\index{set\+Selected@{set\+Selected}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{set\+Selected(int selected)}{setSelected(int selected)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::set\+Selected (
\begin{DoxyParamCaption}
\item[{int}]{selected}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1DropDown_a01042c330073ed25d7ec4629647bdf79}{}\label{classgcn_1_1DropDown_a01042c330073ed25d7ec4629647bdf79}
Sets the selected item. The selected item is represented by an index from the list model.
\begin{DoxyParams}{Parameters}
{\em selected} & the selected item as an index from the list model. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classgcn_1_1DropDown_aeefe59776b354441faa9cc396723e905}{get\+Selected}
\end{DoxySeeAlso}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!value\+Changed@{value\+Changed}}
\index{value\+Changed@{value\+Changed}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{value\+Changed(const Selection\+Event \&event)}{valueChanged(const SelectionEvent &event)}}]{\setlength{\rightskip}{0pt plus 5cm}void gcn\+::\+Drop\+Down\+::value\+Changed (
\begin{DoxyParamCaption}
\item[{const {\bf Selection\+Event} \&}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1DropDown_a76129029923e0c520b1ade9f242c09e3}{}\label{classgcn_1_1DropDown_a76129029923e0c520b1ade9f242c09e3}
Called when a value has been changed in a \hyperlink{classgcn_1_1Widget}{Widget}. It is used to be able to recieve a notification that a value has been changed.
\begin{DoxyParams}{Parameters}
{\em event} & the event of the value change. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
0.\+8.\+0
\end{DoxySince}
Reimplemented from \hyperlink{classgcn_1_1SelectionListener_aafd2dda5f5e38d45bdd7c4fc788798e1}{gcn\+::\+Selection\+Listener}.
\subsection{Member Data Documentation}
\index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!m\+Folded\+Up\+Height@{m\+Folded\+Up\+Height}}
\index{m\+Folded\+Up\+Height@{m\+Folded\+Up\+Height}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{m\+Folded\+Up\+Height}{mFoldedUpHeight}}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Drop\+Down\+::m\+Folded\+Up\+Height\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_a19582187e93e0c963ce131e4dda76ed0}{}\label{classgcn_1_1DropDown_a19582187e93e0c963ce131e4dda76ed0}
Holds what the height is if the drop down is folded up. Used when checking if the list of the drop down was clicked or if the upper part of the drop down was clicked on a mouse click \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!m\+Scroll\+Area@{m\+Scroll\+Area}}
\index{m\+Scroll\+Area@{m\+Scroll\+Area}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{m\+Scroll\+Area}{mScrollArea}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Scroll\+Area}$\ast$ gcn\+::\+Drop\+Down\+::m\+Scroll\+Area\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_ad993ee12246ec45ae933dc0b69120858}{}\label{classgcn_1_1DropDown_ad993ee12246ec45ae933dc0b69120858}
The scroll area used. \index{gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}!m\+Selection\+Listeners@{m\+Selection\+Listeners}}
\index{m\+Selection\+Listeners@{m\+Selection\+Listeners}!gcn\+::\+Drop\+Down@{gcn\+::\+Drop\+Down}}
\subsubsection[{\texorpdfstring{m\+Selection\+Listeners}{mSelectionListeners}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Selection\+Listener\+List} gcn\+::\+Drop\+Down\+::m\+Selection\+Listeners\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classgcn_1_1DropDown_af75c84f875796ada546de4ee008f165e}{}\label{classgcn_1_1DropDown_af75c84f875796ada546de4ee008f165e}
The selection listener\textquotesingle{}s of the drop down.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/widgets/dropdown.\+hpp\item
src/widgets/dropdown.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
fb60fd12f258be0ea4767b745f562ef5

View File

@@ -1 +0,0 @@
42d1bb15f3289d42eb3e2ffa088a59f8

View File

@@ -1,98 +0,0 @@
\hypertarget{classgcn_1_1Event}{}\section{gcn\+:\+:Event Class Reference}
\label{classgcn_1_1Event}\index{gcn\+::\+Event@{gcn\+::\+Event}}
{\ttfamily \#include $<$event.\+hpp$>$}
Inheritance diagram for gcn\+:\+:Event\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1Event__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for gcn\+:\+:Event\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgcn_1_1Event__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Event_ac5db3ce7ebdd2fc5db389b2b14c36098}{Event} (\hyperlink{classgcn_1_1Widget}{Widget} $\ast$source)
\item
virtual \hyperlink{classgcn_1_1Event_a4bf34f457c9cea588c82986908946303}{$\sim$\+Event} ()
\item
\hyperlink{classgcn_1_1Widget}{Widget} $\ast$ \hyperlink{classgcn_1_1Event_a21baeb35af32aa708b8438cef922d425}{get\+Source} () const
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Widget}{Widget} $\ast$ {\bfseries m\+Source}\hypertarget{classgcn_1_1Event_a062ca3ddb88caba29439543b9b0e95ee}{}\label{classgcn_1_1Event_a062ca3ddb88caba29439543b9b0e95ee}
\item
unsigned int {\bfseries m\+Type}\hypertarget{classgcn_1_1Event_acffabdf114e116a2dec0fb9ece570b5a}{}\label{classgcn_1_1Event_acffabdf114e116a2dec0fb9ece570b5a}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
Base class for all events.
\begin{DoxyAuthor}{Author}
Olof Naess<73>n
\end{DoxyAuthor}
\begin{DoxySince}{Since}
0.\+6.\+0
\end{DoxySince}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Event@{gcn\+::\+Event}!Event@{Event}}
\index{Event@{Event}!gcn\+::\+Event@{gcn\+::\+Event}}
\subsubsection[{\texorpdfstring{Event(\+Widget $\ast$source)}{Event(Widget *source)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Event\+::\+Event (
\begin{DoxyParamCaption}
\item[{{\bf Widget} $\ast$}]{source}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Event_ac5db3ce7ebdd2fc5db389b2b14c36098}{}\label{classgcn_1_1Event_ac5db3ce7ebdd2fc5db389b2b14c36098}
Constructor.
\begin{DoxyParams}{Parameters}
{\em source} & the source widget of the event. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Event@{gcn\+::\+Event}!````~Event@{$\sim$\+Event}}
\index{````~Event@{$\sim$\+Event}!gcn\+::\+Event@{gcn\+::\+Event}}
\subsubsection[{\texorpdfstring{$\sim$\+Event()}{~Event()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Event\+::$\sim$\+Event (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classgcn_1_1Event_a4bf34f457c9cea588c82986908946303}{}\label{classgcn_1_1Event_a4bf34f457c9cea588c82986908946303}
Destructor.
\subsection{Member Function Documentation}
\index{gcn\+::\+Event@{gcn\+::\+Event}!get\+Source@{get\+Source}}
\index{get\+Source@{get\+Source}!gcn\+::\+Event@{gcn\+::\+Event}}
\subsubsection[{\texorpdfstring{get\+Source() const }{getSource() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Widget} $\ast$ gcn\+::\+Event\+::get\+Source (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Event_a21baeb35af32aa708b8438cef922d425}{}\label{classgcn_1_1Event_a21baeb35af32aa708b8438cef922d425}
Gets the source widget of the event.
\begin{DoxyReturn}{Returns}
the source widget of the event.
\end{DoxyReturn}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/event.\+hpp\item
src/event.\+cpp\end{DoxyCompactItemize}

View File

@@ -1 +0,0 @@
083060e009a30593bfb3cf7b11a4bed4

View File

@@ -1 +0,0 @@
1000075f1d8bd09e529d87390b897d8d

View File

@@ -1,153 +0,0 @@
\hypertarget{classgcn_1_1Exception}{}\section{gcn\+:\+:Exception Class Reference}
\label{classgcn_1_1Exception}\index{gcn\+::\+Exception@{gcn\+::\+Exception}}
{\ttfamily \#include $<$exception.\+hpp$>$}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classgcn_1_1Exception_ac6c412a3c4d4f1727b8c847b5dd63bf2}{Exception} ()
\item
\hyperlink{classgcn_1_1Exception_a4f475350e88e0538f51ec91fb357c729}{Exception} (const std\+::string \&message)
\item
\hyperlink{classgcn_1_1Exception_ac3bae5d8753050442871681b59b63773}{Exception} (const std\+::string \&message, const std\+::string \&function, const std\+::string \&filename, int line)
\item
const std\+::string \& \hyperlink{classgcn_1_1Exception_ac409ab0094bd0e9e341f01a532e2fe96}{get\+Function} () const
\item
const std\+::string \& \hyperlink{classgcn_1_1Exception_a7c1ca793f383c6dd92eb7fb1694260de}{get\+Message} () const
\item
const std\+::string \& \hyperlink{classgcn_1_1Exception_a7918049e3407ace4a59361c1a29b81ac}{get\+Filename} () const
\item
int \hyperlink{classgcn_1_1Exception_a93a217b190df8d70405e9feb09c18c00}{get\+Line} () const
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
std\+::string {\bfseries m\+Function}\hypertarget{classgcn_1_1Exception_ac4cecdef532e30f82d9095789732cfaa}{}\label{classgcn_1_1Exception_ac4cecdef532e30f82d9095789732cfaa}
\item
std\+::string {\bfseries m\+Message}\hypertarget{classgcn_1_1Exception_a1337ec9291e5587eb2a544212aaa1355}{}\label{classgcn_1_1Exception_a1337ec9291e5587eb2a544212aaa1355}
\item
std\+::string {\bfseries m\+Filename}\hypertarget{classgcn_1_1Exception_a698a27a1b9d2fba424141d228f5a97a0}{}\label{classgcn_1_1Exception_a698a27a1b9d2fba424141d228f5a97a0}
\item
int {\bfseries m\+Line}\hypertarget{classgcn_1_1Exception_aaac5868e205d6e89d1546e18ac244daf}{}\label{classgcn_1_1Exception_aaac5868e205d6e89d1546e18ac244daf}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
An exception containing a message, a file and a line number. Guichan will only throw exceptions of this class. You can use this class for your own exceptions. A nifty feature of the excpetion class is that it can tell you from which line and file it was thrown. To make things easier when throwing exceptions there exists a macro for creating exceptions which automatically sets the filename and line number.
E\+X\+A\+M\+P\+LE\+:
\begin{DoxyCode}
\textcolor{keywordflow}{throw} GCN\_EXCEPTION(\textcolor{stringliteral}{"my error message"});
\end{DoxyCode}
\subsection{Constructor \& Destructor Documentation}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{Exception()}{Exception()}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Exception\+::\+Exception (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Exception_ac6c412a3c4d4f1727b8c847b5dd63bf2}{}\label{classgcn_1_1Exception_ac6c412a3c4d4f1727b8c847b5dd63bf2}
Constructor. \index{gcn\+::\+Exception@{gcn\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{Exception(const std\+::string \&message)}{Exception(const std::string &message)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Exception\+::\+Exception (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{message}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Exception_a4f475350e88e0538f51ec91fb357c729}{}\label{classgcn_1_1Exception_a4f475350e88e0538f51ec91fb357c729}
Constructor.
\begin{DoxyParams}{Parameters}
{\em message} & the error message. \\
\hline
\end{DoxyParams}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!Exception@{Exception}}
\index{Exception@{Exception}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{Exception(const std\+::string \&message, const std\+::string \&function, const std\+::string \&filename, int line)}{Exception(const std::string &message, const std::string &function, const std::string &filename, int line)}}]{\setlength{\rightskip}{0pt plus 5cm}gcn\+::\+Exception\+::\+Exception (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{message, }
\item[{const std\+::string \&}]{function, }
\item[{const std\+::string \&}]{filename, }
\item[{int}]{line}
\end{DoxyParamCaption}
)}\hypertarget{classgcn_1_1Exception_ac3bae5d8753050442871681b59b63773}{}\label{classgcn_1_1Exception_ac3bae5d8753050442871681b59b63773}
Constructor.
N\+O\+TE\+: Don\textquotesingle{}t use this constructor. Use the G\+C\+N\+\_\+\+E\+X\+C\+E\+P\+T\+I\+ON macro instead.
\begin{DoxyParams}{Parameters}
{\em message} & the error message. \\
\hline
{\em function} & the function name. \\
\hline
{\em filename} & the name of the file. \\
\hline
{\em line} & the line number. \\
\hline
\end{DoxyParams}
\subsection{Member Function Documentation}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!get\+Filename@{get\+Filename}}
\index{get\+Filename@{get\+Filename}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{get\+Filename() const }{getFilename() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Exception\+::get\+Filename (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Exception_a7918049e3407ace4a59361c1a29b81ac}{}\label{classgcn_1_1Exception_a7918049e3407ace4a59361c1a29b81ac}
Gets the filename in which the exceptions was thrown.
\begin{DoxyReturn}{Returns}
the filename in which the exception was thrown.
\end{DoxyReturn}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!get\+Function@{get\+Function}}
\index{get\+Function@{get\+Function}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{get\+Function() const }{getFunction() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Exception\+::get\+Function (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Exception_ac409ab0094bd0e9e341f01a532e2fe96}{}\label{classgcn_1_1Exception_ac409ab0094bd0e9e341f01a532e2fe96}
Gets the function name in which the exception was thrown.
\begin{DoxyReturn}{Returns}
the function name in which the exception was thrown.
\end{DoxyReturn}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!get\+Line@{get\+Line}}
\index{get\+Line@{get\+Line}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{get\+Line() const }{getLine() const }}]{\setlength{\rightskip}{0pt plus 5cm}int gcn\+::\+Exception\+::get\+Line (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Exception_a93a217b190df8d70405e9feb09c18c00}{}\label{classgcn_1_1Exception_a93a217b190df8d70405e9feb09c18c00}
Gets the line number of the line where the exception was thrown.
\begin{DoxyReturn}{Returns}
the line number of the line where the exception was thrown.
\end{DoxyReturn}
\index{gcn\+::\+Exception@{gcn\+::\+Exception}!get\+Message@{get\+Message}}
\index{get\+Message@{get\+Message}!gcn\+::\+Exception@{gcn\+::\+Exception}}
\subsubsection[{\texorpdfstring{get\+Message() const }{getMessage() const }}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string \& gcn\+::\+Exception\+::get\+Message (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classgcn_1_1Exception_a7c1ca793f383c6dd92eb7fb1694260de}{}\label{classgcn_1_1Exception_a7c1ca793f383c6dd92eb7fb1694260de}
Gets the error message of the exception.
\begin{DoxyReturn}{Returns}
the error message.
\end{DoxyReturn}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
include/guisan/exception.\+hpp\item
src/exception.\+cpp\end{DoxyCompactItemize}

Some files were not shown because too many files have changed in this diff Show More