From: <sl...@us...> - 2003-10-07 01:19:41
|
Update of /cvsroot/aedgui/aedGUI/src In directory sc8-pr-cvs1:/tmp/cvs-serv25395/src Modified Files: aedMenu.cpp aedWindow.cpp Log Message: Added user data to the window Index: aedMenu.cpp =================================================================== RCS file: /cvsroot/aedgui/aedGUI/src/aedMenu.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** aedMenu.cpp 17 Sep 2003 18:50:55 -0000 1.3 --- aedMenu.cpp 7 Oct 2003 01:19:36 -0000 1.4 *************** *** 46,54 **** aedColor color(0, 0, 0, 255); ! if(i == m_Highlight) color = aedColor(255, 255, 255, 255); s = m_Font->renderTextBlended(m_Items[i].caption.c_str(), color); ! if(i == m_Highlight) { SDL_Surface *bg = --- 46,54 ---- aedColor color(0, 0, 0, 255); ! if((int)i == m_Highlight) color = aedColor(255, 255, 255, 255); s = m_Font->renderTextBlended(m_Items[i].caption.c_str(), color); ! if((int)i == m_Highlight) { SDL_Surface *bg = Index: aedWindow.cpp =================================================================== RCS file: /cvsroot/aedgui/aedGUI/src/aedWindow.cpp,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** aedWindow.cpp 4 Oct 2003 20:06:50 -0000 1.61 --- aedWindow.cpp 7 Oct 2003 01:19:36 -0000 1.62 *************** *** 90,93 **** --- 90,94 ---- { m_Id = ""; + m_userdata = NULL; m_BGColor = aedColor(255, 255, 255, 0); m_ReRender = true; |