\chapter{Files for creating the widget}

This chapter contains the files created in \cref{sec:creating_the_widget}, these
files aren't the real files added, but a slightly modified version; The
copyright headers are stripped to avoid taking up useless space. Some extra
comments are added to make referencing possible. This also means the files here
will get out of date with the real files when fixes are committed, that's also
fine since it doesn't change how the files are structured. The label still
mentions the original filename, but might over time differ from the listings
below.

\lstinputlisting[style=C++
	, caption={src/gui/auxiliary/widget\_definition/progress\_bar.hpp}
	, label=widget_definition.hpp]
	{gui2/widget_definition.hpp}

\pagebreak
\lstinputlisting[style=C++
	, caption={src/gui/auxiliary/widget\_definition/progress\_bar.cpp}
	, label=widget_definition.cpp]
	{gui2/widget_definition.cpp}

\pagebreak
\lstinputlisting[style=WML
	, caption={data/gui/default/widget/progress\_bar\_default.cfg}
	, label=progress_bar.cfg]
	{gui2/progress_bar.cfg}

\pagebreak
\lstinputlisting[style=C++
	, caption={src/gui/auxiliary/window\_builder/progress\_bar.hpp}
	, label=window_builder.hpp]
	{gui2/window_builder.hpp}

\lstinputlisting[style=C++
	, caption={src/gui/auxiliary/window\_builder/progress\_bar.cpp}
	, label=window_builder.cpp]
	{gui2/window_builder.cpp}

\lstinputlisting[style=C++
	, caption={src/gui/widgets/progress\_bar.hpp}
	, label=progress_bar.hpp]
	{gui2/progress_bar.hpp}

\pagebreak
\lstinputlisting[style=C++
	, caption={src/gui/widgets/progress\_bar.cpp}
	, label=progress_bar.cpp]
	{gui2/progress_bar.cpp}
