diff mde/gui/widget/createWidget.d @ 101:71f0f1f83620

Some path adjustments for windows (untested) and fonts. All types of option can be edited. paths: support for getting the full path for a font when just the file name is entered, in order to unify usage on windows and linux. paths: Used getSpecialPath for some windows paths; needs testing. Content: Moved line-editing code to abstract ValueContent class and added some conversion functions, so that any type of ValueContent can be edited as text.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 16 Nov 2008 17:03:47 +0000
parents 5de5810e3516
children 42e241e7be3e
line wrap: on
line diff
--- a/mde/gui/widget/createWidget.d	Sat Nov 15 17:39:14 2008 +0000
+++ b/mde/gui/widget/createWidget.d	Sun Nov 16 17:03:47 2008 +0000
@@ -106,7 +106,7 @@
     editContent		= FUNCTION | TAKES_CONTENT | 0x30,
     DisplayContent	= TAKES_CONTENT | 0x30,
     BoolContent		= TAKES_CONTENT | 0x31,
-    TextContent		= TAKES_CONTENT | 0x32,
+    ValueContent		= TAKES_CONTENT | 0x32,
     
     GridLayout		= TAKES_CONTENT | PARENT | 0x100,
     TrialContentLayout	= PARENT | 0x110,
@@ -126,7 +126,7 @@
         "ContentLabel",
         "DisplayContent",
         "BoolContent",
-	"TextContent",
+	"ValueContent",
         "editContent",
         "TrialContentLayout",
         "FloatingArea",