Created
December 6, 2012 15:27
-
-
Save celeron55/4225305 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main.cpp b/src/main.cpp | |
index 73757cb..dce0027 100644 | |
--- a/src/main.cpp | |
+++ b/src/main.cpp | |
@@ -1349,7 +1349,13 @@ int main(int argc, char *argv[]) | |
skin->setColor(gui::EGDC_3D_SHADOW, video::SColor(255,0,0,0)); | |
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)); | |
- | |
+ | |
+#if IRRLICHT_VERSION_MAJOR >= 1 && IRRLICHT_VERSION_MINOR >= 8 | |
+ // 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 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment