hedgewars/SDLh.pas
changeset 3389 9b97b9240c22
parent 3385 361bd29293f4
child 3405 8fdb08497bf1
equal deleted inserted replaced
3388:ab9352a4ddcc 3389:9b97b9240c22
   401         state: byte;
   401         state: byte;
   402         keysym: TSDL_KeySym;
   402         keysym: TSDL_KeySym;
   403         end;
   403         end;
   404 
   404 
   405     TSDL_MouseButtonEvent = record
   405     TSDL_MouseButtonEvent = record
   406         which,
   406 
   407         button,
       
   408         state: byte;
       
   409 {$IFDEF SDL13}
   407 {$IFDEF SDL13}
   410         _type: LongInt;
   408         _type: LongInt;
   411         windowID: LongInt;
   409         windowID: LongInt;
   412         x, y: LongInt;
   410         x, y: LongInt;
   413         padding1: byte;
   411         padding1: byte;
   414 {$ELSE}
   412 {$ELSE}
   415         _type: byte;
   413         _type,
       
   414         which,
       
   415         button,
       
   416         state: byte;
   416         x, y: word;
   417         x, y: word;
   417 {$ENDIF}
   418 {$ENDIF}
   418         end;
   419         end;
   419 
   420 
   420 {$IFDEF SDL13}
   421 {$IFDEF SDL13}