Crazy Eddies GUI System  0.7.2
Coding Standards in use for CEGUI
Paul D Turner

This page details the coding standards and general style that should be employed when working on code for the CEGUI project. I am well aware that some of the existing code does not comply with these standards; though all new code should now be written to comply, and older code will be migrated over a period of time.


Here we describe the requirements relating to files; their naming, layout and arrangement on disk.

Naming and Directory Layout

This section contains some general guidelines on naming and arranging files.

General Structure and Layout

Code Style and Layout

The following details the general code style and layout that must be used.

Naming Conventions for Types, Variables, Members and Constants

Code Formatting Style and Other Tips