Ignore:
Timestamp:
Jan 27, 2007, 12:04:09 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Controlの追加とそれに伴う修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/Drawing/Color.ab

    r25 r77  
    5050
    5151    Function A() As Byte
    52         Return (Argb >> Color_AlphaShift) As Byte
     52        Return (argb >> ALPHA_SHIFT) As Byte
    5353    End Function
    5454
    5555    Function R() As Byte
    56         Return (Argb >> Color_RedShift) As Byte
     56        Return (argb >> RED_SHIFT) As Byte
    5757    End Function
    5858
    5959    Function G() As Byte
    60         Return (Argb >> Color_GreenShift) As Byte
     60        Return (argb >> GREEN_SHIFT) As Byte
    6161    End Function
    6262
    6363    Function B() As Byte
    64         GetBlue = (argb >> Color_BlueShift) As Byte
     64        Return (argb >> BLUE_SHIFT) As Byte
    6565    End Function
    6666
     
    306306*/
    307307    Static Function MakeARGB(a As Byte, r As Byte, g As Byte, b As Byte) As ARGB
    308         MakeARGB = (((b As ARGB) <<  Color_BlueShift) Or _
    309                     ((g As ARGB) << Color_GreenShift) Or _
    310                     ((r As ARGB) <<   Color_RedShift) Or _
    311                     ((a As ARGB) << Color_AlphaShift))
     308        MakeARGB = (((b As ARGB) <<  BLUE_SHIFT) Or _
     309                    ((g As ARGB) << GREEN_SHIFT) Or _
     310                    ((r As ARGB) <<   RED_SHIFT) Or _
     311                    ((a As ARGB) << ALPHA_SHIFT))
    312312    End Function
    313313
Note: See TracChangeset for help on using the changeset viewer.