Changeset 69

Show
Ignore:
Timestamp:
05/19/07 14:42:57 (2 years ago)
Author:
lindquist
Message:

win32 pen style update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bughunt/minwin/paint.d

    r67 r69  
    3636} 
    3737 
     38// matches win32 values 
    3839enum PenStyle { 
    3940    Solid =                      0, 
     
    4142    Dot =                        2, /* ······· */ 
    4243    DashDot =                    3, /* -·-·-·- */ 
    43     None =                       4  /*         */ 
     44    None =                       5  /*         */ 
    4445} 
    4546 
     
    120121        } 
    121122        void style(PenStyle s) { 
    122             native.lopnStyle = [ 
    123                 PS_SOLID, 
    124                 PS_DASH, 
    125                 PS_DOT, 
    126                 PS_DASHDOT, 
    127                 PS_NULL 
    128             ][s]; 
     123            native.lopnStyle = s; 
    129124        } 
    130125        void lineJoin(LineJoin j) {