- Timestamp:
- Jun 20, 2006, 12:48:50 AM (18 years ago)
- Location:
- branches/gui/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/importer/material.cc
r8583 r8596 52 52 Material& Material::operator=(const Material& material) 53 53 { 54 this-> setIllum(material.illumModel);55 this-> setDiffuseColor(material.diffuseColor());54 this->illumModel = material.illumModel; 55 this->diffuse = material.diffuse; 56 56 this->specular = material.specular; 57 57 this->ambient = material.ambient; 58 this->s etShininess(material.shininess);58 this->shininess = material.shininess; 59 59 60 60 this->textures = material.textures; -
branches/gui/src/lib/gui/gl/glgui_cursor.cc
r8584 r8596 57 57 this->setClassID(CL_GLGUI_CURSOR, "GLGuiCursor"); 58 58 59 this->style().background().setDiffuse (1.0,0.0,0.0);59 this->style().background().setDiffuseColor(Color(1.0,0.0,0.0, 1.0)); 60 60 this->style().background().setDiffuseMap("cursor.png"); 61 61 this->style().background().setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); … … 80 80 bool GLGuiCursor::loadTextureSequence(const std::string& imageNameSubstitue, unsigned int from, unsigned int to) 81 81 { 82 this->style().background().setDiffuse(1.0, 1.0, 1.0);82 //this->style().background().setDiffuse(1.0, 1.0, 1.0); 83 83 return this->seq.loadImageSeries(imageNameSubstitue, from, to); 84 84 } -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8594 r8596 79 79 80 80 this->style().setBackgroundTexture("gui_element_background.png"); 81 this->style().switchState(OrxGui::Normal); 81 82 } 82 83
Note: See TracChangeset
for help on using the changeset viewer.