Mercurial > projects > dwt-samples
diff dwtexamples/controlexample/ControlExample.d @ 5:1de00968e454
Added ProgressBarTab, ScaleTab, SliderTab, SpinnerTab for windows
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 11 Feb 2008 23:28:15 +0100 |
parents | 8d49c4eb4800 |
children | d4f131a310ae |
line wrap: on
line diff
--- 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),