changeset 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
files dsss.conf dwtexamples/controlexample/ControlExample.d dwtexamples/controlexample/RangeTab.d
diffstat 3 files changed, 20 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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),
--- 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