Changeset 210 for branches/highdpi/Direct.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Direct.pas
r143 r210 5 5 6 6 uses 7 Messg,7 UDpiControls, Messg, 8 8 9 9 LCLIntf, LCLType, {$IFDEF Linux}LMessages, {$ENDIF}Messages, SysUtils, Classes, … … 129 129 ShowModal; 130 130 if ModalResult = mrOK then 131 OpenURL( 'http://c-evo.org/_sg/contact/cevobug.html');131 OpenURL(CevoContactBug); 132 132 end 133 133 *) … … 216 216 if Brains.Count = 3 then 217 217 begin 218 Application.MessageBox(PChar(Phrases.Lookup('NOAI')), 'C-evo', 0);218 DpiApplication.MessageBox(PChar(Phrases.Lookup('NOAI')), 'C-evo', 0); 219 219 Close; 220 exit 220 exit; 221 221 end; 222 222 Quick := false; … … 244 244 begin 245 245 SimpleMessage(Phrases.Lookup('LOADERR')); 246 Close 247 end 248 end 249 end; 250 if not Quick then 251 begin 246 Close; 247 end; 248 end; 249 end; 250 if not Quick then begin 252 251 background.Show; 253 StartDlg.Show 254 end 252 StartDlg.Show; 253 end; 255 254 end; 256 255 … … 267 266 procedure TDirectDlg.OnAIException(var Msg: TMessage); 268 267 begin 269 Application.MessageBox(PChar(Format(Phrases.Lookup('AIEXCEPTION'),268 DpiApplication.MessageBox(PChar(Format(Phrases.Lookup('AIEXCEPTION'), 270 269 [Brains[Msg.WParam].Name])), 'C-evo', 0); 271 270 end; … … 310 309 PaintProgressBar(Canvas, 6, ClientWidth div 2 - 64, 40, State, 128 - State, 311 310 128, MainTexture); 312 end 311 end; 313 312 end; 314 313
Note:
See TracChangeset
for help on using the changeset viewer.