Changeset 135:425c1adb5de5

Show
Ignore:
Timestamp:
08/02/08 20:19:19 (4 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Example with temporary fix with Display.getCurrent()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • .hgignore

    r108 r135  
    3131^user/dsss_imports 
    3232 
     33^draw2d/dsss_objs 
     34^draw2d/dsss.last 
     35^draw2d/dsss_imports 
     36 
    3337^examples/simple$ 
    3438^examples/helloworld/HelloWorld[0-9]$ 
  • draw2d/UmlExample.d

    r134 r135  
     1/++ 
     2 + Original sources from http://www.eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.html 
     3 + Ported to the D programming language 
     4 +     Frank Benoit <benoit@tionex.de> 
     5 +/ 
     6 
    17module umlexample.UmlExample; 
    28 
     
    98104 */ 
    99105public static void main(){ 
    100     Display d = new Display(); 
     106    Display d = Display.getCurrent(); 
    101107    final Shell shell = new Shell(d); 
    102108    shell.setSize(400, 400);