Changeset 11 for trunk


Ignore:
Timestamp:
Sep 22, 2014, 3:11:14 AM (10 years ago)
Author:
chronos
Message:
  • Added: RBG565 color format.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LibrePaint.lpi

    r10 r11  
    7171      </Item1>
    7272    </RequiredPackages>
    73     <Units Count="11">
     73    <Units Count="12">
    7474      <Unit0>
    7575        <Filename Value="LibrePaint.lpr"/>
     
    121121        <Filename Value="ColorFormats/UColorGray1.pas"/>
    122122        <IsPartOfProject Value="True"/>
     123        <UnitName Value="UColorGray1"/>
    123124      </Unit8>
    124125      <Unit9>
     
    131132        <UnitName Value="UColorGray4"/>
    132133      </Unit10>
     134      <Unit11>
     135        <Filename Value="ColorFormats/UColorRGB565.pas"/>
     136        <IsPartOfProject Value="True"/>
     137        <UnitName Value="UColorRGB565"/>
     138      </Unit11>
    133139    </Units>
    134140  </ProjectOptions>
  • trunk/LibrePaint.lpr

    r10 r11  
    99  Interfaces, // this includes the LCL widgetset
    1010  Forms, UCore, UGraphic, UProject, UBitStream, UMemory, UFormNew, UFormMain,
    11   UColorRGBA8, UColorGray8, UColorGray1, UColorGray4
     11  UColorRGBA8, UColorGray8, UColorGray1, UColorGray4, UColorRGB565
    1212  { you can add units after this };
    1313
  • trunk/UCore.pas

    r10 r11  
    6363
    6464uses
    65   UFormNew, UFormMain, Forms, UColorRGBA8, UColorGray8, UColorGray1, UColorGray4;
     65  UFormNew, UFormMain, Forms, UColorRGBA8, UColorGray8, UColorGray1, UColorGray4,
     66  UColorRGB565;
    6667
    6768function FloatPoint(AX, AY: Double): TFloatPoint;
     
    7879
    7980  ColorManager.RegisterFormat(TGColorFormatRGBA8);
     81  ColorManager.RegisterFormat(TGColorFormatRGB565);
    8082  ColorManager.RegisterFormat(TGColorFormatGray8);
    8183  ColorManager.RegisterFormat(TGColorFormatGray4);
Note: See TracChangeset for help on using the changeset viewer.