Mercurial > projects > mde
comparison mde/resource/paths.d @ 44:07bd1a09e161
Started implementing text rendering.
Can now position glyphs accurately and render them, in a very basic way.
A basic TextWidget.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 16 May 2008 12:22:10 +0100 |
parents | b5fadd8d930b |
children | e0839643ff52 |
comparison
equal
deleted
inserted
replaced
43:1530d9c04d4d | 44:07bd1a09e161 |
---|---|
148 const CONF = "/conf"; | 148 const CONF = "/conf"; |
149 | 149 |
150 /** Find at least one path for each required directory. | 150 /** Find at least one path for each required directory. |
151 * | 151 * |
152 * Note: the logger cannot be used yet, so only output is exception messages. */ | 152 * Note: the logger cannot be used yet, so only output is exception messages. */ |
153 | 153 // FIXME: use tango/sys/Environment.d |
154 version (linux) { | 154 version (linux) { |
155 void resolvePaths () { | 155 void resolvePaths () { |
156 // Home directory: | 156 // Home directory: |
157 char[] HOME = fromStringz (getenv (toStringz ("HOME"))); | 157 char[] HOME = fromStringz (getenv (toStringz ("HOME"))); |
158 | 158 |