这里说的 透明 是要用cegui实现的 要加background的 这个属性false
this->_textures[tex] = mGUIRenderer->createTexture(texName, "General");
this->_imageSets[tex] = CEGUI::ImagesetManager::getSingleton().createImageset(name, _textures[tex]);
this->_imageSets[tex]->setAutoScalingEnabled (true);
this->_imageSets[tex]->defineImage (name,pos, CEGUI::Size(_textures[tex]->getWidth(), _textures[tex]->getHeight()), CEGUI::Point(0, 0));
this->_staticImages[tex] = (CEGUI::StaticImage*)CEGUI::WindowManager::getSingleton().createWindow((CEGUI::utf8*)"TaharezLook/StaticImage", (CEGUI::utf8*)name.c_str());
this->_staticImages[tex]->setFrameEnabled(false);
this->_staticImages[tex]->setVisible(true);
this->_staticImages[tex]->setRiseOnClickEnabled(false);
this->_staticImages[tex]->setSize(size);
this->_staticImages[tex]->setPosition(pos);
this->_staticImages[tex]->setImage(&this->_imageSets[tex]->getImage((CEGUI::utf8*)name.c_str()));
mEditorGuiSheet->addChildWindow(this->_staticImages[tex]);
+
this->_staticImages[tex]->setBackgroundEnabled(false);
=============================================================