Changeset 36
- Timestamp:
- Jan 9, 2017, 1:00:08 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r29 r36 213 213 Back := TBitmap.Create; 214 214 Back.PixelFormat := pf24bit; 215 Back. Width := ClientWidth;216 Back. Height := ClientHeight;215 Back.SetSize(ClientWidth, ClientHeight); 216 Back.Canvas.FillRect(0, 0, Back.Width, Back.Height); 217 217 Template := TBitmap.Create; 218 218 LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'City', gfNoGamma); … … 227 227 SmallCityMap := TBitmap.Create; 228 228 SmallCityMap.PixelFormat := pf24bit; 229 SmallCityMap. Width := 98;230 SmallCityMap. Height := 74;229 SmallCityMap.SetSize(98, 74); 230 SmallCityMap.Canvas.FillRect(0, 0, SmallCityMap.Width, SmallCityMap.Height); 231 231 ZoomCityMap := TBitmap.Create; 232 232 ZoomCityMap.PixelFormat := pf24bit; 233 ZoomCityMap. Width := 228;234 ZoomCityMap. Height := 124;233 ZoomCityMap.SetSize(228, 124); 234 ZoomCityMap.Canvas.FillRect(0, 0, ZoomCityMap.Width, ZoomCityMap.Height); 235 235 end; 236 236
Note:
See TracChangeset
for help on using the changeset viewer.