Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/TextLayout.d @ 26:f589fc20a5f9
work on linux phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 21 Mar 2009 11:22:55 +0100 |
parents | f713da8bc051 |
children | 65761bc28ab2 |
comparison
equal
deleted
inserted
replaced
25:f713da8bc051 | 26:f589fc20a5f9 |
---|---|
31 import org.eclipse.swt.graphics.Region; | 31 import org.eclipse.swt.graphics.Region; |
32 import org.eclipse.swt.graphics.Resource; | 32 import org.eclipse.swt.graphics.Resource; |
33 import org.eclipse.swt.graphics.TextStyle; | 33 import org.eclipse.swt.graphics.TextStyle; |
34 import java.lang.all; | 34 import java.lang.all; |
35 | 35 |
36 import tango.text.convert.Format; | 36 version(Tango){ |
37 import tango.stdc.string; | 37 import tango.stdc.string : memmove; |
38 import tango.text.convert.Utf; | 38 import tango.text.convert.Utf; |
39 } else { // Phobos | |
40 import std.c.string : memmove; | |
41 } | |
39 | 42 |
40 /** | 43 /** |
41 * <code>TextLayout</code> is a graphic object that represents | 44 * <code>TextLayout</code> is a graphic object that represents |
42 * styled text. | 45 * styled text. |
43 * <p> | 46 * <p> |