Mercurial > projects > dwt-mac
comparison dwt/widgets/Label.d @ 126:38807a925e24
Fixed compile errors, support for SWT language files
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 16 Jan 2009 23:35:40 +0100 |
parents | 63a09873578e |
children |
comparison
equal
deleted
inserted
replaced
125:5583f8eeee6c | 126:38807a925e24 |
---|---|
79 * @see <a href="http://www.eclipse.org/swt/snippets/#label">Label snippets</a> | 79 * @see <a href="http://www.eclipse.org/swt/snippets/#label">Label snippets</a> |
80 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: ControlExample</a> | 80 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: ControlExample</a> |
81 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | 81 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> |
82 */ | 82 */ |
83 public class Label : Control { | 83 public class Label : Control { |
84 | |
85 alias Control.computeSize computeSize; | |
86 alias Control.setBounds setBounds; | |
87 alias Control.setBackground setBackground; | |
88 alias Control.setForeground setForeground; | |
89 | |
84 String text = ""; | 90 String text = ""; |
85 Image image; | 91 Image image; |
86 bool isImage; | 92 bool isImage; |
87 NSTextField textView; | 93 NSTextField textView; |
88 NSImageView imageView; | 94 NSImageView imageView; |