]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/layout-test.cxx
Autopilot: clean up the helpers code (which drives the various /internal/) properties...
[flightgear.git] / src / GUI / layout-test.cxx
index bbfa45caf32c9d7d635b1ec89d9830740337a80d..d4bf53a567b9824b48dee6b16cce3833c3deef7f 100644 (file)
@@ -5,7 +5,7 @@
 #include <iostream>
 
 #include <simgear/compiler.h>
-#include SG_GL_H
+#include <osg/GL>
 #include <plib/pw.h>
 #include <plib/pu.h>
 #include <simgear/props/props.hxx>
@@ -42,7 +42,7 @@ int main(int argc, char** argv)
     }
     fclose(tmp);
 
-    pwInit(0, 0, 600, 400, 0, "Layout Test", true, 0);
+    pwInit(0, 0, 600, 400, 0, const_cast<char*>("Layout Test"), true, 0);
     pwSetCallbacks(keyboardCB, mouseButtonCB, mouseMotionCB,
                    resizeCB, exitCB);
 
@@ -57,5 +57,5 @@ int main(int argc, char** argv)
     int pw=0, ph=0;
     w.calcPrefSize(&pw, &ph);
     w.layout(0, 0, pw, ph);
-    writeProperties(cout, &props, true);
+    writeProperties(std::cout, &props, true);
 }