Article: Code structure and layout

From DaevsGUI

Jump to: navigation, search

WARNING: This page is outdated

Code structure

The whole library is within the DaevsGUI namespace. All common and base classes reside in there. There's a couple of sub-namespaces, used for specialised / derived classes, these accompany the directory structure of the source / header files. So there's Containers, Components, Eventhandlers, Fonts (which even has a sub-namespace called FreeType2), Textureloaders, etc...

Furthermore, every container or component (that is, the base class, or any class derived from Container or Component) is derived from Elements. Each textureloader is derived from Textureloader, each font is derived from Font and each eventhandler is derived from Eventhandler.

Views
Personal tools
Other