(SOLVED) How make transpatent window and see my desktop?
Posted: Mon Apr 03, 2006 3:00 pm
I want create my game in window, not standart rectangular form - without red box with cross in right top (close window).
I want apply my skin - without standart windows system buttons and, for example, round shape.
When I tryed to do that, but draw window with color(10, 150, 150, 150) not transparent.
All my idea:
And I want see through window and see my desktop.
Any idea???
I want apply my skin - without standart windows system buttons and, for example, round shape.
When I tryed to do that, but
Code: Select all
driver->beginScene(true, true, irr::video::SColor(10, 150, 150, 150));
All my idea:
Code: Select all
irr::IrrlichtDevice *device = createDevice(EDT_DIRECT3D8, irr::core::dimension2d<s32>(300, 300), 16, false, false, true, &receiver);
IVideoDriver *driver = device->getVideoDriver();
IGUIEnvironment *env = device->getGUIEnvironment();
irr::gui::IGUIImage *Title = env->addImage("TransparentImage.tga", irr::core::position2d<s32>(0,0), true);
while(device->run())
{
driver->beginScene(true, true, irr::video::SColor(10, 150, 150, 150));
env->drawAll();
driver->endScene();
}
Any idea???