- Timestamp:
- Sep 24, 2005, 10:41:52 AM (20 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/orxonox.kdevelop
r5235 r5237 117 117 </kdevfilecreate> 118 118 <kdevcppsupport> 119 <references> 120 <pcs>Orxonox Lib</pcs> 121 </references> 119 <references/> 122 120 <codecompletion> 123 121 <includeGlobalFunctions>true</includeGlobalFunctions> … … 128 126 <automaticArgumentsHint>true</automaticArgumentsHint> 129 127 <automaticHeaderCompletion>true</automaticHeaderCompletion> 130 <codeCompletionDelay> 305</codeCompletionDelay>128 <codeCompletionDelay>250</codeCompletionDelay> 131 129 <argumentsHintDelay>400</argumentsHintDelay> 132 130 <headerCompletionDelay>250</headerCompletionDelay> -
trunk/src/lib/event/event_handler.cc
r5236 r5237 36 36 SDL_InitSubSystem(SDL_INIT_JOYSTICK); 37 37 SDL_InitSubSystem(SDL_INIT_EVENTTHREAD); 38 // SDL_SetEventFilter(EventHandler::eventFilter); 38 39 39 40 this->setClassID(CL_EVENT_HANDLER, "EventHandler"); … … 294 295 } 295 296 296 297 int EventHandler::eventFilter(const SDL_Event *event) 298 { 299 /* 300 if (event->type == SDL_KEYDOWN && event->key.keysym.sym == SDLK_TAB && SDL_GetKeyState(NULL)[SDLK_LALT]) 301 { 302 printf("test\n"); 303 304 } 305 return 1; 306 */ 307 } 308 309 /** 310 * outputs some nice information about the EventHandler 311 */ 297 312 void EventHandler::debug() const 298 313 { -
trunk/src/lib/event/event_handler.h
r5210 r5237 38 38 void process(); 39 39 40 static int eventFilter(const SDL_Event *event); 40 41 void debug() const; 41 42 … … 52 53 }; 53 54 55 54 56 #endif /* _EVENT_HANDLER_H */ -
trunk/src/lib/graphics/graphics_engine.cc
r5225 r5237 214 214 this->bitsPerPixel = bpp; 215 215 216 if (this->screen) 217 SDL_FreeSurface(screen); 216 218 if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | this->fullscreenFlag)) == NULL) 217 219 { -
trunk/src/lib/shell/shell_input.cc
r5207 r5237 36 36 ->describe("retrieve some help about the input mode") 37 37 ->setAlias("help"); 38 38 39 /** 39 40 * standard constructor
Note: See TracChangeset
for help on using the changeset viewer.