Changeset 7062 for code/branches/presentation3/src/modules
- Timestamp:
- May 31, 2010, 4:55:05 PM (14 years ago)
- Location:
- code/branches/presentation3/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/overlays/hud/GametypeStaticMessage.cc
r7031 r7062 49 49 } 50 50 51 void GametypeStaticMessage::staticmessage(const GametypeInfo* gtinfo, const std::string& message )51 void GametypeStaticMessage::staticmessage(const GametypeInfo* gtinfo, const std::string& message, const ColourValue& colour) 52 52 { 53 53 if (this->owner_ && this->owner_->getGametypeInfo() == gtinfo) 54 { 55 this->setColour(colour); 54 56 this->setCaption(message); 57 } 55 58 } 56 59 -
code/branches/presentation3/src/modules/overlays/hud/GametypeStaticMessage.h
r7031 r7062 48 48 virtual void changedOwner(); 49 49 50 void staticmessage(const GametypeInfo* gtinfo, const std::string& message );50 void staticmessage(const GametypeInfo* gtinfo, const std::string& message, const ColourValue& colour); 51 51 52 52 private:
Note: See TracChangeset
for help on using the changeset viewer.