mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Set proper field background colors in Irrlicht 1.8
This commit is contained in:
parent
5080b63435
commit
543fc6702f
@ -1350,6 +1350,12 @@ int main(int argc, char *argv[])
|
|||||||
skin->setColor(gui::EGDC_HIGH_LIGHT, video::SColor(255,70,100,50));
|
skin->setColor(gui::EGDC_HIGH_LIGHT, video::SColor(255,70,100,50));
|
||||||
skin->setColor(gui::EGDC_HIGH_LIGHT_TEXT, video::SColor(255,255,255,255));
|
skin->setColor(gui::EGDC_HIGH_LIGHT_TEXT, video::SColor(255,255,255,255));
|
||||||
|
|
||||||
|
#if (IRRLICHT_VERSION_MAJOR >= 1 && IRRLICHT_VERSION_MINOR >= 8) || IRRLICHT_VERSION_MAJOR >= 2
|
||||||
|
// Irrlicht 1.8 input colours
|
||||||
|
skin->setColor(gui::EGDC_EDITABLE, video::SColor(255,128,128,128));
|
||||||
|
skin->setColor(gui::EGDC_FOCUSED_EDITABLE, video::SColor(255,96,134,49));
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GUI stuff
|
GUI stuff
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user