view codeDoc/debugCodes.txt @ 179:1f9d00f392bd default tip

Fixed a bug where (non-resizible) widgets wouldn't get shrunk when minimal size decreases, meaning optional context menus are hiden properly now. Optimised when ServiceContentList.opCall is called, I think without breaking anything.
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 15 Sep 2009 20:09:59 +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.