Mercurial > projects > mde
view codeDoc/debugCodes.txt @ 159:b06b04c75e86
Finished last commit, rearranged code for the WidgetManager class.
There is now a GUI options section.
Created a third WidgetManager class called WidgetLoader to handle file loading/saving.
Moved most of the code in WMScreen's draw/clickEvent/motionEvent functions to WidgetManager.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 21 May 2009 20:55:10 +0200 |
parents | a86f8445ccc8 |
children |
line wrap: on
line source
Copyright © 2007-2008 Diggory Hardy License: GNU General Public License version 2 or later (see COPYING) General use of debug statement: Non-critical assertions (i.e. for bug-tracking, usually for conditions which _should_ be guaranteed by the code). Logging of all trace messages. Debug codes currently used in mde: - code - - purpose - mdeUnitTest Compile in unittest code (including extra imports, and a few other bits outside the unittest itself). drawGlyphCache Draw the font texture in the upper-left corner of the screen, with a pretty background. mdeWidgets Log trace messages for the creation of all widgets. SDLCalls Log a message before some SDL calls. mdeDrawEvents Log a message each time a draw occurs. Version identifies: - code - - purpose - mdeBenchmark Runs main loop as fast as possible forcing continual drawing, and prints framerate every 5 seconds.