Mercurial > projects > mde
diff mde/setup/InitStage.d @ 111:1655693702fc
Resolved ticket #4, allowing widgets to reload strings and recalculate sizes mid-run.
Removed prefinalize and finalize and added setup as the new second initialization phase, which can be re-run.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 06 Dec 2008 17:41:42 +0000 |
parents | 2a364c7d82c9 |
children | 264028f4115a |
line wrap: on
line diff
--- a/mde/setup/InitStage.d Fri Dec 05 11:29:39 2008 +0000 +++ b/mde/setup/InitStage.d Sat Dec 06 17:41:42 2008 +0000 @@ -27,7 +27,7 @@ // use as hash type for better performance than char[] alias uint StageName; StageName toStageName (char[4] x) { - return *cast(uint*) x.ptr; // NOTE - little hack to read as a uint + return *cast(uint*) x.ptr; // convert to a unique uint } /** Initialization and cleanup functions for one stage.