From: <wel...@us...> - 2009-09-23 10:06:05
|
Revision: 4500 http://planeshift.svn.sourceforge.net/planeshift/?rev=4500&view=rev Author: weltall2 Date: 2009-09-23 10:05:51 +0000 (Wed, 23 Sep 2009) Log Message: ----------- added icon Modified Paths: -------------- trunk/src/client/gui/pawsglyphwindow.cpp Modified: trunk/src/client/gui/pawsglyphwindow.cpp =================================================================== --- trunk/src/client/gui/pawsglyphwindow.cpp 2009-09-23 09:18:47 UTC (rev 4499) +++ trunk/src/client/gui/pawsglyphwindow.cpp 2009-09-23 10:05:51 UTC (rev 4500) @@ -100,6 +100,9 @@ spellName = dynamic_cast <pawsTextBox*> (FindWidget("SpellName")); if ( !spellName ) return false; + + spellImage = dynamic_cast <pawsWidget*> (FindWidget("SpellImage")); + if ( !spellImage ) return false; ways.SetSize(GLYPH_WAYS); @@ -217,7 +220,7 @@ spellName->SetText(mesg.name); description->AddMessage( mesg.description ); description->ResetScroll(); - + spellImage->SetBackground(mesg.image); } void pawsGlyphWindow::ClearSpell( void ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |