Ignore:
Timestamp:
Mar 18, 2011, 9:34:42 AM (14 years ago)
Author:
george
Message:
  • Fixed: Red and Blue color components swaping.
  • Fixed: PageControl tabs auto switching.
  • Modified: TFastBitmap class replaced by similar one which use pixels data as one memory block instead of array of arrays. With only one memory block optimization using FillChar and Move can be used.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/UMainForm.pas

    r202 r206  
    9898  if ComboBox1.ItemIndex >= 0 then
    9999  with TDrawMethod(DrawMethods[ComboBox1.ItemIndex]) do begin
     100    PageControl1.TabIndex := Integer(PaintObject);
     101    Application.ProcessMessages;
    100102    repeat
    101103      DrawFrameTiming(TFastBitmap(Scenes[SceneIndex]));
     
    118120    for I := 0 to DrawMethods.Count - 1 do
    119121    with TDrawMethod(DrawMethods[I]) do begin
     122      PageControl1.TabIndex := Integer(PaintObject);
     123      Application.ProcessMessages;
    120124      DrawFrameTiming(TFastBitmap(Scenes[0]));
     125      Application.ProcessMessages;
    121126      DrawFrameTiming(TFastBitmap(Scenes[0]));
    122127      NewItem := Add;
Note: See TracChangeset for help on using the changeset viewer.