# HG changeset patch # User koda # Date 1315046149 -7200 # Node ID 71e69623be39a4d869b233cad73ab011ccb657ef # Parent 746de1d303d2109924432343c25390937adfb1d2 allow fullscreen resolution selection (but still leaves in the auto max for commodity) diff -r 746de1d303d2 -r 71e69623be39 QTfrontend/pageoptions.cpp --- a/QTfrontend/pageoptions.cpp Fri Sep 02 19:06:05 2011 -0400 +++ b/QTfrontend/pageoptions.cpp Sat Sep 03 12:35:49 2011 +0200 @@ -429,7 +429,6 @@ else this->CBResolution->setCurrentIndex(previousResolutionIndex); previousResolutionIndex = tmp; - this->CBResolution->setEnabled(!this->CBFullscreen->isChecked()); } void PageOptions::trimNetNick() diff -r 746de1d303d2 -r 71e69623be39 hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Fri Sep 02 19:06:05 2011 -0400 +++ b/hedgewars/SDLh.pas Sat Sep 03 12:35:49 2011 +0200 @@ -618,6 +618,8 @@ {$ENDIF} end; + TSDL_EventFilter = function( event : PSDL_Event ): Integer; cdecl; + PByteArray = ^TByteArray; TByteArray = array[0..65535] of Byte; PLongWordArray = ^TLongWordArray; @@ -811,6 +813,7 @@ procedure SDL_PumpEvents; cdecl; external SDLLibName; function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; function SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; +procedure SDL_SetEventFilter( filter : TSDL_EventFilter ); cdecl; external SDLLibName; function SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName;