Changeset 126 for cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
- Timestamp:
- 08/23/10 22:34:43 (21 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
r125 r126 125 125 m_GLContext=new wxGLContext(this); 126 126 127 SetCursor(wxCURSOR_BLANK); 127 128 SetBackgroundStyle(wxBG_STYLE_PAINT); 128 129 } … … 504 505 if (m_InitState==INIT_REQUIRED) 505 506 { 507 dc.SetBackground(*wxBLACK_BRUSH); 508 dc.Clear(); 509 dc.SetBackgroundMode(wxTRANSPARENT); 510 dc.SetTextForeground(wxColour(255, 200, 0)); 511 dc.DrawText("Initializing Cafu...", 10, 40); 512 506 513 // This code is in this place due to a few peculiarities of OpenGL under GTK that do not exist under MSW: 507 514 // - An OpenGL context can only be made current with a canvas that is shown on the screen. … … 892 899 return; 893 900 } 901 902 case WXK_F11: 903 { 904 m_Parent->ShowFullScreen(!m_Parent->IsFullScreen()); 905 return; 906 } 894 907 } 895 908
