comparison mde/font/font.d @ 76:65780e0e48e6

Re-enabled click event passing in the gui to make ButtonWidget work. Bugfix (pass void* not class reference). Change to allow compilation with dmd 1.027 (don't use DefaultData's Arg!() template).
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 28 Jul 2008 18:49:18 +0100
parents cee261eba249
children 61ea26abe4dd
comparison
equal deleted inserted replaced
75:25cb7420dc91 76:65780e0e48e6
104 return f; 104 return f;
105 }; 105 };
106 reader.read; 106 reader.read;
107 107
108 // get fallback name 108 // get fallback name
109 char[]* p = "fallback" in reader.dataset.header.Arg!(char[]); 109 char[]* p = "fallback" in reader.dataset.header._charA;
110 if (p is null) 110 if (p is null)
111 throw new fontException ("No fallback font style specified"); 111 throw new fontException ("No fallback font style specified");
112 fallbackName = *p; 112 fallbackName = *p;
113 } 113 }
114 catch (MTException e) { 114 catch (MTException e) {