Changeset 194 for oup/current/Global
- Timestamp:
- May 26, 2007, 8:26:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Global/OniImgClass.pas
r193 r194 16 16 function GetImageFormat: TImageFormat; 17 17 procedure SetImageFormat(Format: TImageFormat); 18 function pGetImageFormatInfo: TImageFormatInfo; 18 19 function GetHasMipMaps: Boolean; 19 20 protected … … 24 25 property Height[MipGen: Integer]: Integer read GetHeight; 25 26 property Format: TImageFormat read GetImageFormat write SetImageFormat; 27 property FormatInfo: TImageFormatInfo read pGetImageFormatInfo; 26 28 property HasMipMaps: Boolean read GetHasMipMaps; 27 29 … … 128 130 for i := 0 to High(FImages) do 129 131 ConvertImage(FImages[i], Format); 132 end; 133 134 135 function TOniImage.pGetImageFormatInfo: TImageFormatInfo; 136 begin 137 if Length(FImages) > 0 then 138 GetImageFormatInfo(FImages[0].Format, Result); 130 139 end; 131 140
Note:
See TracChangeset
for help on using the changeset viewer.