# HG changeset patch # User Frank Benoit # Date 1202768895 -3600 # Node ID 1de00968e45456e135dbc547c429e0254a481e42 # Parent 8d49c4eb48002fe7b95e8d80e7c6ba518a7aa0b4 Added ProgressBarTab, ScaleTab, SliderTab, SpinnerTab for windows diff -r 8d49c4eb4800 -r 1de00968e454 dsss.conf --- a/dsss.conf Sun Feb 10 04:28:56 2008 +0100 +++ b/dsss.conf Mon Feb 11 23:28:15 2008 +0100 @@ -28,7 +28,7 @@ [dwtexamples/controlexample/ControlExample.d] buildflags+=-g -gc -debug version(Windows){ - buildflags+= -L/SUBSYSTEM:windows:5 + buildflags+= -L/SUBSYSTEM:console:5 buildflags+= -L/RC:sample.res } buildflags+=-Jdwtexamples/controlexample diff -r 8d49c4eb4800 -r 1de00968e454 dwtexamples/controlexample/ControlExample.d --- a/dwtexamples/controlexample/ControlExample.d Sun Feb 10 04:28:56 2008 +0100 +++ b/dwtexamples/controlexample/ControlExample.d Mon Feb 11 23:28:15 2008 +0100 @@ -76,11 +76,22 @@ version( CONTROL_EXAMPLE_MAIN ){ void main(){ Stdout.formatln( "The ControlExample: still work left" ); - Stdout.formatln( "todo: search for //PORTING_LEFT" ); Stdout.formatln( "todo: Implement Get/Set API reflection" ); Stdout.formatln( "todo: DateTimeTab not implemented" ); + Stdout.formatln( "" ); + version(Windows){ + Stdout.formatln( "On Windows:" ); + Stdout.formatln( "todo: DialogTab not implemented" ); + Stdout.formatln( "bug: Tooltip not working" ); + Stdout.formatln( "" ); + Stdout.formatln( "On Win2K:" ); + Stdout.formatln( "note: Buttons text+image do show only the image" ); + Stdout.formatln( " in java it behaves the same" ); + Stdout.formatln( " it is not supported on all plattforms" ); + Stdout.formatln( "" ); + } + version(linux){ Stdout.formatln( "todo: ExpandBarTab looks strange" ); - Stdout.formatln( "" ); Stdout.formatln( "On linux GTK:" ); Stdout.formatln( "bug: ProgressBarTab crash on vertical" ); Stdout.formatln( " in java it behaves the same" ); @@ -90,6 +101,7 @@ Stdout.formatln( " https://bugs.eclipse.org/bugs/show_bug.cgi?id=197402" ); Stdout.formatln( " http://bugzilla.gnome.org/show_bug.cgi?id=475909" ); Stdout.formatln( "" ); + } Stdout.formatln( "please report problems" ); ControlExample.main( null ); } @@ -163,12 +175,12 @@ new LinkTab (this), new ListTab (this), new MenuTab (this), - //new ProgressBarTab (this), // crash on start + new ProgressBarTab (this), new SashTab (this), - //new ScaleTab (this), // crash on start + new ScaleTab (this), shellTab = new ShellTab(this), - //new SliderTab (this), // crash on start - //new SpinnerTab (this), // crash on start + new SliderTab (this), + new SpinnerTab (this), new TabFolderTab (this), new TableTab (this), new TextTab (this), diff -r 8d49c4eb4800 -r 1de00968e454 dwtexamples/controlexample/RangeTab.d --- a/dwtexamples/controlexample/RangeTab.d Sun Feb 10 04:28:56 2008 +0100 +++ b/dwtexamples/controlexample/RangeTab.d Mon Feb 11 23:28:15 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 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