Changeset 66
- Timestamp:
- Jan 23, 2020, 12:33:26 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r65 r66 149 149 TimeStart: TDateTime; 150 150 begin 151 {$IFDEF DEBUG} 151 152 TimeStart := Now; 153 {$ENDIF} 152 154 Core.Game.Render(Canvas, Point(Width, Height - MainMenu1.Height)); 155 {$IFDEF DEBUG} 153 156 DrawDuration := Now - TimeStart; 157 {$ENDIF} 154 158 end; 155 159 … … 157 161 begin 158 162 Core.PersistentForm1.Save(Self); 159 ControlStyle := [csOpaque];160 163 end; 161 164 … … 167 170 MoveThread.FreeOnTerminate := False; 168 171 MoveThread.Start; 172 ControlStyle := ControlStyle + [csOpaque]; 169 173 end; 170 174 … … 191 195 RedrawPending := False; 192 196 Repaint; 193 Caption := FloatToStr(Round(DrawDuration / OneMillisecond)); 197 {$IFDEF DEBUG} 198 //Caption := FloatToStr(Round(DrawDuration / OneMillisecond)); 199 {$ENDIF} 194 200 end; 195 201 end;
Note:
See TracChangeset
for help on using the changeset viewer.