Ignore:
Timestamp:
Mar 18, 2021, 10:58:28 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Gamma was incorrectly applied to images with transparency colors.
  • Modified: Change Templates to GraphicSet so it can also have description of its items.
  • Modified: Use TextExtent instead of both TextWidth and TextHeight.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Select.pas

    r313 r315  
    819819        BitBltCanvas(ScienceNationDot.Canvas, 0, 0, 17, 17, Canvas,
    820820          xScreen - 10, ClientHeight - 27);
    821         ImageOp_BCC(ScienceNationDot, Templates, 0, 0, 114, 211, 17, 17,
     821        ImageOp_BCC(ScienceNationDot, Templates.Data, 0, 0, 114, 211, 17, 17,
    822822          MainTexture.clBevelShade, Tribe[ScienceNation].Color);
    823823        BitBltCanvas(Canvas, xScreen - 10, ClientHeight - 27, 17, 17,
Note: See TracChangeset for help on using the changeset viewer.