|
Revision 116:5ee69b3ed9c9, 0.7 kB
(checked in by Diggory Hardy <diggory.hardy@gmail.com>, 3 weeks ago)
|
Partial implementation of infinite widget recursion protection; some cleanup.
Implemented recursion protection which only allowed unsafe widgets to be instantiated once; realised this was far too restrictive (multiple sibling instances are needed) and a check against parent widgets would be needed. Could be implemented by passing widgets a reference to parents.
Removed ButtonWidget? aka First interactible widget.
|
| Line | |
|---|
| 1 |
Copyright © 2007-2008 Diggory Hardy |
|---|
| 2 |
License: GNU General Public License version 2 or later (see COPYING) |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
General use of debug statement: |
|---|
| 6 |
Non-critical assertions (i.e. for bug-tracking, usually for conditions which _should_ be guaranteed by the code). |
|---|
| 7 |
Logging of all trace messages. |
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
Debug codes currently used in mde: |
|---|
| 11 |
|
|---|
| 12 |
- code - - purpose - |
|---|
| 13 |
mdeUnitTest Compile in unittest code (including extra imports, and a few other bits outside the unittest itself). |
|---|
| 14 |
drawGlyphCache Draw the font texture in the upper-left corner of the screen, with a pretty background. |
|---|
| 15 |
mdeWidgets Log trace messages for the creation of all widgets. |
|---|
| 16 |
SDLCalls Log a message before some SDL calls. |
|---|