Mercurial > projects > mde
comparison mde/gui/WidgetManager.d @ 84:e0f1ec7fe73a
Merge plus a few tweaks.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 31 Aug 2008 15:59:17 +0100 |
parents | d8fccaa45d5f |
children | 56c0ddd90193 |
comparison
equal
deleted
inserted
replaced
82:ac1e3fd07275 | 84:e0f1ec7fe73a |
---|---|
60 * params: | 60 * params: |
61 * fileName = Name of file specifying the gui, excluding path and extension. | 61 * fileName = Name of file specifying the gui, excluding path and extension. |
62 */ | 62 */ |
63 this (char[] file) { | 63 this (char[] file) { |
64 super(file); | 64 super(file); |
65 | 65 } |
66 | |
67 // NOTE - temporarily here to allow CTOR to run safely during static this | |
68 // called during init | |
69 void init () { | |
66 // Events we want to know about: | 70 // Events we want to know about: |
67 imde.input.addMouseClickCallback(&clickEvent); | 71 imde.input.addMouseClickCallback(&clickEvent); |
68 imde.input.addMouseMotionCallback(&motionEvent); | 72 imde.input.addMouseMotionCallback(&motionEvent); |
69 } | 73 } |
70 | 74 |