comparison mde/content/Debug.d @ 170:e45226d3deae

Context menu services not applicable to the current type can now be hidden. Added files missing from previous commits.
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 29 Jun 2009 21:20:16 +0200
parents
children
comparison
equal deleted inserted replaced
169:bc1cf73dc835 170:e45226d3deae
1 /* LICENSE BLOCK
2 Part of mde: a Modular D game-oriented Engine
3 Copyright © 2007-2009 Diggory Hardy
4
5 This program is free software: you can redistribute it and/or modify it under the terms
6 of the GNU General Public License as published by the Free Software Foundation, either
7 version 2 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 See the GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
15
16 /******************************************************************************
17 * Options enabling/disabling various debugging facilities.
18 *****************************************************************************/
19 module mde.content.Debug;
20
21 import mde.content.AStringContent;
22
23 /// Wrapper for options
24 struct Debug {
25 static:
26 /// Log a message everytime the widget under the mouse changes
27 BoolContent logUnderMouse;
28 BoolContent logPopupPositioning;
29
30 static this () {
31 logUnderMouse = new BoolContent ("options.Debug.logUnderMouse");
32 logPopupPositioning = new BoolContent ("options.Debug.logPopupPositioning");
33 }
34 }