Removed the obsolete complex number test from acltest.
[AXE.git] / demos / testaxe.cpp
index 4c8fc11..1bcefe4 100644 (file)
@@ -44,7 +44,7 @@ public:
    virtual int EV_Expose(XExposeEvent ev)
    {
       DrawString(white_gc, 100, 30, "Andromeda X Windows Encapsulation");
-      DrawString(white_gc, 120, 90, "Version 0.2 - July 30, 2001");
+      DrawString(white_gc, 120, 90, "Version 0.2 - July 25, 2002");
       return 1;
    }
 
@@ -113,7 +113,12 @@ void xapp::SetupResources(void)
 
    main_frame = new managed_window;
    main_frame->Command_WhenClosed(CMD_QUIT);
-   main_frame->Background(color(config.find_parameter("colors", "background")));
+
+   String bgcolor = config.find_parameter("colors", "background");
+   if (bgcolor != "")
+   {
+      main_frame->Background(color(bgcolor));
+   }
 
    fr = new button(*main_frame, 20, 30, "Up");