listbox background color
listbox background color
how do i set the list box background color to white and not clear????
Code: Select all
guienv->getSkin()->setColor(EGDC_WINDOW, SColor(255, 255,255,255));
Never take advice from someone who likes to give advice, so take my advice and don't take it.
Have you set the "drawBackground" flag of the listbox?
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Try it with EGDC_3D_HIGH_LIGHT.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Well, with yourListbox->setDrawBackground you can enabled/disable backround drawing completely. But try EGDC_3D_HIGH_LIGHT (not EDGC_HIGH_LIGHT). This worked here.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm