Mercurial > projects > dwt-samples
diff dwtsnippets/table/Snippet144.d @ 39:8ee0dfe6f685
Snippet134 with non rectangular shell. Some more minor fixes.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 13 Mar 2008 23:53:38 +0100 |
parents | 580d6cc14afd |
children |
line wrap: on
line diff
--- a/dwtsnippets/table/Snippet144.d Mon Mar 10 04:59:18 2008 +0100 +++ b/dwtsnippets/table/Snippet144.d Thu Mar 13 23:53:38 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -17,7 +17,7 @@ * * For a list of all SWT example snippets see * http://www.eclipse.org/swt/snippets/ - * + * * @since 3.0 */ import dwt.DWT; @@ -61,8 +61,8 @@ elapsed.start; table.setItemCount (COUNT); auto t = elapsed.stop; - label.setText ("Items: " ~ to!(char[])(COUNT) ~ - ", Time: " ~ to!(char[])(t) ~ " (ms)"); + label.setText ("Items: " ~ to!(char[])(COUNT) ~ + ", Time: " ~ to!(char[])(t) ~ " (sec)"); shell.layout (); } });