- Timestamp:
- Jan 30, 2007, 12:38:10 AM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_container.cc
r10317 r10489 43 43 this->registerObject(this, GLGuiContainer::_objectList); 44 44 45 this->setBackgroundTexture("textures/gui/gui_container_background.png");45 // this->setBackgroundTexture("textures/gui/gui_container_background.png"); 46 46 47 47 } -
trunk/src/lib/gui/gl/glgui_widget.cc
r10374 r10489 129 129 130 130 this->setBorderLeft(15); 131 this->setBackgroundTexture("textures/gui/gui_element_background.png");131 // this->setBackgroundTexture("textures/gui/gui_element_background.png"); 132 132 133 133 this->switchState(_state); … … 565 565 } 566 566 567 568 569 570 571 567 568 569 570 571 572 572 /** 573 573 * @brief sets the Background Texture to all States. … … 594 594 } 595 595 } 596 597 598 599 596 597 598 599 600 600 /** 601 601 * @brief sets the Background Texture. … … 943 943 } 944 944 945 void GLGuiWidget::beginDraw() const 946 { 947 glPushMatrix(); 945 void GLGuiWidget::beginDraw() const 946 { 947 glPushMatrix(); 948 948 glTranslatef(this->getAbsCoor2D().x, this->getAbsCoor2D().y, 0); 949 949 glRotatef(this->getAbsDir2D(), 0, 0, 1); -
trunk/src/world_entities/questGUI/quest_gui.cc
r10374 r10489 76 76 77 77 this->bKillGui = false; 78 78 79 79 this->bActive = false; 80 80 … … 118 118 questBox->setBorderLeft(10); 119 119 questBox->setBorderBottom(10); 120 this->questBox->setBackgroundTexture(" maps/rand.png");120 this->questBox->setBackgroundTexture("textures/gui/gui_quest_border.png"); 121 121 this->bKillGui = false; 122 122 123 123 OrxGui::GLGuiBox* headerBox = new OrxGui::GLGuiBox(OrxGui::Horizontal); 124 124 { 125 headerBox->setBackgroundTexture(" maps/rand-unten.png");125 headerBox->setBackgroundTexture("textures/gui/gui_quest_border_low.png"); 126 126 OrxGui::GLGuiImage* questImage = new OrxGui::GLGuiImage(); 127 127 questImage->setWidgetSize(100, 100); … … 131 131 132 132 OrxGui::GLGuiBox* outlineBox = new OrxGui::GLGuiBox(OrxGui::Vertical); 133 { 133 { 134 134 OrxGui::GLGuiMultiLineText* questDetails = new OrxGui::GLGuiMultiLineText(); 135 135 questDetails->setText(this->myQuest->getQuestDifficulty()); … … 150 150 OrxGui::GLGuiBox* labelBox = new OrxGui::GLGuiBox(OrxGui::Horizontal); 151 151 { 152 labelBox->setBackgroundTexture(" maps/rand-unten.png");152 labelBox->setBackgroundTexture("textures/gui/gui_quest_border_low.png"); 153 153 OrxGui::GLGuiMultiLineText* questTxt = new OrxGui::GLGuiMultiLineText(); 154 154 questTxt->setText(this->myQuest->getQuestDescription()); 155 155 labelBox->pack(questTxt); 156 156 157 157 OrxGui::GLGuiImage* placeImage = new OrxGui::GLGuiImage(); 158 158 placeImage->setWidgetSize(85, 10); … … 160 160 placeImage->show(); 161 161 labelBox->pack(placeImage); 162 163 162 163 164 164 labelBox->setBorderTop(0); 165 165 labelBox->setBorderRight(0); … … 171 171 OrxGui::GLGuiBox* rewardBox = new OrxGui::GLGuiBox(OrxGui::Horizontal); 172 172 { 173 rewardBox->setBackgroundTexture(" maps/rand-unten.png");173 rewardBox->setBackgroundTexture("textures/gui/gui_quest_border_low.png"); 174 174 OrxGui::GLGuiImage* rewardImage = new OrxGui::GLGuiImage(); 175 175 rewardImage->setWidgetSize(100, 100); … … 194 194 placeImage->show(); 195 195 answerBox->pack(placeImage); 196 196 197 197 OrxGui::GLGuiBox* acceptBox = new OrxGui::GLGuiBox(OrxGui::Horizontal); 198 198 { 199 199 //acceptBox->setBackgroundTexture("maps/accept.png"); 200 acceptBox->setBackgroundTexture(" maps/accept.png", OrxGui::Normal);201 acceptBox->setBackgroundTexture("maps/acceptrout.png", OrxGui::Selected);200 acceptBox->setBackgroundTexture("textures/gui/gui_quest_accept.jpg", OrxGui::Normal); 201 //acceptBox->setBackgroundTexture("maps/gui_quest_acceptrout.png", OrxGui::Selected); 202 202 OrxGui::GLGuiButton* acceptButton = new OrxGui::GLGuiPushButton(" "); 203 203 acceptButton->released.connect(this, &QuestGUI::accept); … … 209 209 } 210 210 answerBox->pack(acceptBox); 211 211 212 212 OrxGui::GLGuiImage* placeImage2 = new OrxGui::GLGuiImage(); 213 213 placeImage2->setWidgetSize(300, 10); 214 placeImage2->loadImageFromFile(" maps/schwarz.png");214 placeImage2->loadImageFromFile("textures/gui/gui_quest_black.png"); 215 215 placeImage2->show(); 216 216 answerBox->pack(placeImage2); 217 217 218 218 OrxGui::GLGuiBox* refuseBox = new OrxGui::GLGuiBox(OrxGui::Horizontal); 219 219 { 220 refuseBox->setBackgroundTexture(" maps/refuserout.png");220 refuseBox->setBackgroundTexture("textures/gui/gui_quest_refuserout.gif"); 221 221 OrxGui::GLGuiButton* refuseButton = new OrxGui::GLGuiPushButton(" "); 222 222 refuseButton->released.connect(this, &QuestGUI::refuse);
Note: See TracChangeset
for help on using the changeset viewer.