Changeset 28 for trunk/LocalPlayer/Term.pas
- Timestamp:
- Jan 8, 2017, 7:14:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r21 r28 437 437 438 438 {$R *.lfm} 439 //TODO {$R Res1.res}439 {TODO {$R Res1.res} 440 440 441 441 const … … 522 522 GetMem(resampled, nx * ny * 12); 523 523 FillChar(resampled^, nx * ny * 12, 0); 524 BigImp.BeginUpdate; 524 525 for ix := 0 to BigImp.width div xSizeBig - 1 do 525 526 for iy := 0 to BigImp.height div ySizeBig - 1 do … … 553 554 inc(resampled[ir + nx + 1, ch], c * (xSizeSmall - xdivider) * 554 555 (ySizeSmall - ydivider)); 555 end 556 end 556 end; 557 end; 557 558 end; 559 BigImp.EndUpdate; 558 560 559 561 // sharpen resampled icons 560 562 SmallImp.width := nx; 561 563 SmallImp.height := ny; 564 SmallImp.BeginUpdate; 562 565 for y := 0 to ny - 1 do 563 566 begin … … 587 590 end; 588 591 end; 592 SmallImp.EndUpdate; 589 593 FreeMem(resampled); 590 594 // smallimp.savetofile(homedir+'smallimp.bmp'); //!!! … … 4088 4092 end; 4089 4093 MiniLine := nil; 4094 Mini.BeginUpdate; 4090 4095 for y := 0 to G.ly - 1 do 4091 4096 begin … … 4159 4164 MiniLine[xm, 2] := cm and $FF; 4160 4165 end; 4161 end 4162 end; 4166 end; 4167 end; 4168 Mini.EndUpdate; 4163 4169 end; 4164 4170
Note:
See TracChangeset
for help on using the changeset viewer.