Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demos/gtkD/TestDrawingArea.d

    r441 r480  
    142142        bool buttonIsDown; 
    143143         
    144         char[] primitiveType; 
     144        string primitiveType; 
    145145        PgFontDescription font; 
    146146        Image image; 
     
    431431                xx = x * dx; 
    432432                yy = y * dy; 
    433                 color.set8( cast(byte)xx, 
    434                             cast(byte)yy, 
    435                             cast(byte)(sqrt((xx*xx)+(yy*yy)))); 
     433                color.set8( cast(ubyte)xx, 
     434                            cast(ubyte)yy, 
     435                            cast(ubyte)(sqrt((xx*xx)+(yy*yy)))); 
    436436                gc.setForeground(color); 
    437437                if ( square > 1 )