comparison dwtsnippets/composite/Snippet9.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 0f63eae37f35
children
comparison
equal deleted inserted replaced
38:3dc632b3f71b 39:8ee0dfe6f685
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others. 2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
27 import dwt.widgets.Display; 27 import dwt.widgets.Display;
28 import dwt.widgets.Event; 28 import dwt.widgets.Event;
29 import dwt.widgets.Listener; 29 import dwt.widgets.Listener;
30 import dwt.widgets.ScrollBar; 30 import dwt.widgets.ScrollBar;
31 import dwt.widgets.Shell; 31 import dwt.widgets.Shell;
32 import dwt.dwthelper.utils;
32 33
33 void main () { 34 void main () {
34 auto display = new Display (); 35 auto display = new Display ();
35 auto shell = new Shell 36 auto shell = new Shell
36 (display, DWT.SHELL_TRIM | DWT.H_SCROLL | DWT.V_SCROLL); 37 (display, DWT.SHELL_TRIM | DWT.H_SCROLL | DWT.V_SCROLL);