Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StackLayout.d @ 48:ddbfe84d86df
[swt lin] versioned imports
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 12:05:20 +0100 |
parents | f713da8bc051 |
children | c01d033c633a |
comparison
equal
deleted
inserted
replaced
47:65761bc28ab2 | 48:ddbfe84d86df |
---|---|
21 import org.eclipse.swt.graphics.Rectangle; | 21 import org.eclipse.swt.graphics.Rectangle; |
22 import org.eclipse.swt.widgets.Composite; | 22 import org.eclipse.swt.widgets.Composite; |
23 import org.eclipse.swt.widgets.Control; | 23 import org.eclipse.swt.widgets.Control; |
24 import org.eclipse.swt.widgets.Layout; | 24 import org.eclipse.swt.widgets.Layout; |
25 | 25 |
26 version(Tango){ | |
26 import tango.util.Convert; | 27 import tango.util.Convert; |
27 static import tango.text.Util; | 28 static import tango.text.Util; |
29 } else { // Phobos | |
30 } | |
28 | 31 |
29 /** | 32 /** |
30 * This Layout stacks all the controls one on top of the other and resizes all controls | 33 * This Layout stacks all the controls one on top of the other and resizes all controls |
31 * to have the same size and location. | 34 * to have the same size and location. |
32 * The control specified in topControl is visible and all other controls are not visible. | 35 * The control specified in topControl is visible and all other controls are not visible. |