pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/editor property_window.cxx,1.3,1.4


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor property_window.cxx,1.3,1.4
Date: 1 Jul 2002 09:36:15 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv26423/editor

Modified Files:
        property_window.cxx 
Log Message:
fixed incorrect usage of CL_Window [close button of the window seems no longer 
to react]

Index: property_window.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/property_window.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- property_window.cxx 1 Jul 2002 09:09:31 -0000       1.3
+++ property_window.cxx 1 Jul 2002 09:36:13 -0000       1.4
@@ -37,7 +37,7 @@
 {
   if (current_frame)
     {
-      remove_child (current_frame);
+      get_client_area ()->remove_child (current_frame);
       delete current_frame;
       current_frame = 0;
     }
@@ -45,15 +45,12 @@
   if (obj.get ())
     {
       // We are responsible to delete comp
-      Pingus::Editor::PropertyFrame* comp = obj->get_gui_dialog (this);
+      Pingus::Editor::PropertyFrame* comp = obj->get_gui_dialog 
(get_client_area ());
    
       if (comp)
        {
          set_title(comp->get_title ());
          label.show (false);
-         // FIXME: This looks like a workaround for a missing feature in
-         // FIXME: CL_Window
-         comp->set_position (2, 22);
 
          std::cout << "Got GUI" << std::endl;
          current_frame = comp;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]