Changeset 449
- Timestamp:
- 08/21/08 19:45:34 (4 months ago)
- Files:
-
- trunk/BAL/ChangeLogOWB (modified) (1 diff)
- trunk/BAL/WKAL/Concretizations/Events/SDL/BCPlatformMouseEventSDL.cpp (modified) (1 diff)
- trunk/BAL/WKAL/Concretizations/Widgets/SDL/BCRenderThemeSDL.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/ChangeLogOWB
r448 r449 1 2008-08-21 Mario Bensi <mbensi@pleyo.com> 2 3 Reviewed by Olivier DOLE. 4 fix text selection (Ticket #253 and Ticket #165) 5 6 * WKAL/Concretizations/Events/SDL/BCPlatformMouseEventSDL.cpp: 7 (WKAL::PlatformMouseEvent::PlatformMouseEvent): 8 * WKAL/Concretizations/Widgets/SDL/BCRenderThemeSDL.cpp: 9 (WKAL::RenderThemeBal::platformActiveSelectionBackgroundColor): 10 (WKAL::RenderThemeBal::platformInactiveSelectionBackgroundColor): 11 (WKAL::RenderThemeBal::platformActiveSelectionForegroundColor): 12 (WKAL::RenderThemeBal::platformInactiveSelectionForegroundColor): 13 (WKAL::RenderThemeBal::activeListBoxSelectionBackgroundColor): 14 (WKAL::RenderThemeBal::inactiveListBoxSelectionBackgroundColor): 15 (WKAL::RenderThemeBal::activeListBoxSelectionForegroundColor): 16 (WKAL::RenderThemeBal::inactiveListBoxSelectionForegroundColor): 17 1 18 2008-08-20 Olivier DOLE <odole@pleyo.com> 2 19 trunk/BAL/WKAL/Concretizations/Events/SDL/BCPlatformMouseEventSDL.cpp
r243 r449 84 84 m_button = NoButton; 85 85 m_clickCount = 0; 86 87 if( motion->state == SDL_BUTTON_LEFT ) 88 m_button = LeftButton; 89 else if( motion->state == SDL_BUTTON_MIDDLE ) 90 m_button = MiddleButton; 91 else if( motion->state == SDL_BUTTON_RIGHT ) 92 m_button = RightButton; 86 93 } 87 94 trunk/BAL/WKAL/Concretizations/Widgets/SDL/BCRenderThemeSDL.cpp
r308 r449 380 380 Color RenderThemeBal::platformActiveSelectionBackgroundColor() const 381 381 { 382 printf("RenderThemeBal::platformActiveSelectionBackgroundColor\n"); 383 Color c; 382 Color c(0, 0, 255); 384 383 return c; 385 384 } … … 387 386 Color RenderThemeBal::platformInactiveSelectionBackgroundColor() const 388 387 { 389 printf("RenderThemeBal::platformInactiveSelectionBackgroundColor\n"); 390 Color c; 388 Color c(0, 0, 255); 391 389 return c; 392 390 } … … 394 392 Color RenderThemeBal::platformActiveSelectionForegroundColor() const 395 393 { 396 printf("RenderThemeBal::platformActiveSelectionForegroundColor\n"); 397 Color c; 394 Color c(255, 255, 255); 398 395 return c; 399 396 } … … 401 398 Color RenderThemeBal::platformInactiveSelectionForegroundColor() const 402 399 { 403 printf("RenderThemeBal::platformInactiveSelectionForegroundColor\n"); 404 Color c; 400 Color c(255, 255, 255); 405 401 return c; 406 402 } … … 408 404 Color RenderThemeBal::activeListBoxSelectionBackgroundColor() const 409 405 { 410 printf("RenderThemeBal::activeListBoxSelectionBackgroundColor\n"); 411 Color c; 406 Color c(0, 0, 255); 412 407 return c; 413 408 } … … 415 410 Color RenderThemeBal::inactiveListBoxSelectionBackgroundColor() const 416 411 { 417 printf("RenderThemeBal::inactiveListBoxSelectionBackgroundColor\n"); 418 Color c; 412 Color c(0, 0, 255); 419 413 return c; 420 414 } … … 422 416 Color RenderThemeBal::activeListBoxSelectionForegroundColor() const 423 417 { 424 printf("RenderThemeBal::activeListBoxSelectionForegroundColor\n"); 425 Color c; 418 Color c(255, 255, 255); 426 419 return c; 427 420 } … … 429 422 Color RenderThemeBal::inactiveListBoxSelectionForegroundColor() const 430 423 { 431 printf("RenderThemeBal::inactiveListBoxSelectionForegroundColor\n"); 432 Color c; 424 Color c(255, 255, 255); 433 425 return c; 434 426 }
