Classes | Namespaces

gui/widgets/scrollbar_container_private.hpp File Reference

Helper for header for the scrollbar_container. More...

#include "gui/widgets/scrollbar_container.hpp"
#include "utils/const_clone.tpp"
Include dependency graph for scrollbar_container_private.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gui2::tscrollbar_container_implementation
 Helper to implement private functions without modifying the header. More...

Namespaces

namespace  gui2
 

A class inherited from ttext_box that displays its input as stars.



Detailed Description

Helper for header for the scrollbar_container.

Note:
This file should only be included by scrollbar_container.cpp.

This file is being used for a small experiment in which some private functions of tscrollbar_container are no longer in tscrollbar_container but moved in a friend class with static functions. The goal is to have less header recompilations, when there's a need to add or remove a private function. Also non-trivial functions like 'const foo& bar() const' and 'foo& bar()' are wrapped in a template to avoid code duplication (for typing not for the binary) to make maintenance easier.

Definition in file scrollbar_container_private.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:19 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs