- Timestamp:
- Jan 10, 2007, 2:28:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/world_entities/questGUI/quest_gui.cc
r10167 r10211 43 43 #include "glgui.h" 44 44 #include "menu/glgui_imagebutton.h" 45 #include "glgui_multiline_text.h" 45 #include "glgui_multiline_text.h"background 46 46 #include <glgui_image.h> 47 47 … … 71 71 this->bKillGui = false; 72 72 73 this->background = " /pictures/map.jpg";73 this->background = "pogo_bunny.png"; 74 74 75 75 this->myQuest = new Quest(root); … … 113 113 { 114 114 OrxGui::GLGuiImage* questImage = new OrxGui::GLGuiImage(); 115 questImage->setWidgetSize(100, 100); 115 questImage->setWidgetSize(100, 100);pictures/rand.gif maps/rand.gif 116 116 117 questImage->loadImageFromFile(this->myQuest->getQuestPicture()); 117 118 questImage->show(); … … 131 132 { 132 133 OrxGui::GLGuiMultiLineText* questTxt = new OrxGui::GLGuiMultiLineText(); 133 questTxt->setText(this->myQuest->getQuestDescription()); 134 questTxt->setText(this->myQuest->getQuestDescription());background 134 135 labelBox->pack(questTxt); 135 136 labelBox->setBorderBottom(40); … … 171 172 answerBox->pack(refuseBox); 172 173 } 174 this->questBox->setBackgroundTexture(background); 173 175 this->questBox->pack(headerBox); 174 176 this->questBox->pack(labelBox);
Note: See TracChangeset
for help on using the changeset viewer.