Mercurial > projects > dwt-samples
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:8d49c4eb4800 | 5:1de00968e454 |
---|---|
74 } | 74 } |
75 | 75 |
76 version( CONTROL_EXAMPLE_MAIN ){ | 76 version( CONTROL_EXAMPLE_MAIN ){ |
77 void main(){ | 77 void main(){ |
78 Stdout.formatln( "The ControlExample: still work left" ); | 78 Stdout.formatln( "The ControlExample: still work left" ); |
79 Stdout.formatln( "todo: search for //PORTING_LEFT" ); | |
80 Stdout.formatln( "todo: Implement Get/Set API reflection" ); | 79 Stdout.formatln( "todo: Implement Get/Set API reflection" ); |
81 Stdout.formatln( "todo: DateTimeTab not implemented" ); | 80 Stdout.formatln( "todo: DateTimeTab not implemented" ); |
81 Stdout.formatln( "" ); | |
82 version(Windows){ | |
83 Stdout.formatln( "On Windows:" ); | |
84 Stdout.formatln( "todo: DialogTab not implemented" ); | |
85 Stdout.formatln( "bug: Tooltip not working" ); | |
86 Stdout.formatln( "" ); | |
87 Stdout.formatln( "On Win2K:" ); | |
88 Stdout.formatln( "note: Buttons text+image do show only the image" ); | |
89 Stdout.formatln( " in java it behaves the same" ); | |
90 Stdout.formatln( " it is not supported on all plattforms" ); | |
91 Stdout.formatln( "" ); | |
92 } | |
93 version(linux){ | |
82 Stdout.formatln( "todo: ExpandBarTab looks strange" ); | 94 Stdout.formatln( "todo: ExpandBarTab looks strange" ); |
83 Stdout.formatln( "" ); | |
84 Stdout.formatln( "On linux GTK:" ); | 95 Stdout.formatln( "On linux GTK:" ); |
85 Stdout.formatln( "bug: ProgressBarTab crash on vertical" ); | 96 Stdout.formatln( "bug: ProgressBarTab crash on vertical" ); |
86 Stdout.formatln( " in java it behaves the same" ); | 97 Stdout.formatln( " in java it behaves the same" ); |
87 Stdout.formatln( "bug: SliderTab horizontal arrow buttons are too high." ); | 98 Stdout.formatln( "bug: SliderTab horizontal arrow buttons are too high." ); |
88 Stdout.formatln( " in java it behaves the same" ); | 99 Stdout.formatln( " in java it behaves the same" ); |
89 Stdout.formatln( " Known bug:" ); | 100 Stdout.formatln( " Known bug:" ); |
90 Stdout.formatln( " https://bugs.eclipse.org/bugs/show_bug.cgi?id=197402" ); | 101 Stdout.formatln( " https://bugs.eclipse.org/bugs/show_bug.cgi?id=197402" ); |
91 Stdout.formatln( " http://bugzilla.gnome.org/show_bug.cgi?id=475909" ); | 102 Stdout.formatln( " http://bugzilla.gnome.org/show_bug.cgi?id=475909" ); |
92 Stdout.formatln( "" ); | 103 Stdout.formatln( "" ); |
104 } | |
93 Stdout.formatln( "please report problems" ); | 105 Stdout.formatln( "please report problems" ); |
94 ControlExample.main( null ); | 106 ControlExample.main( null ); |
95 } | 107 } |
96 } | 108 } |
97 | 109 |
161 new GroupTab (this), | 173 new GroupTab (this), |
162 new LabelTab (this), | 174 new LabelTab (this), |
163 new LinkTab (this), | 175 new LinkTab (this), |
164 new ListTab (this), | 176 new ListTab (this), |
165 new MenuTab (this), | 177 new MenuTab (this), |
166 //new ProgressBarTab (this), // crash on start | 178 new ProgressBarTab (this), |
167 new SashTab (this), | 179 new SashTab (this), |
168 //new ScaleTab (this), // crash on start | 180 new ScaleTab (this), |
169 shellTab = new ShellTab(this), | 181 shellTab = new ShellTab(this), |
170 //new SliderTab (this), // crash on start | 182 new SliderTab (this), |
171 //new SpinnerTab (this), // crash on start | 183 new SpinnerTab (this), |
172 new TabFolderTab (this), | 184 new TabFolderTab (this), |
173 new TableTab (this), | 185 new TableTab (this), |
174 new TextTab (this), | 186 new TextTab (this), |
175 new ToolBarTab (this), | 187 new ToolBarTab (this), |
176 new ToolTipTab (this), | 188 new ToolTipTab (this), |