[Top][All Lists]
[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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor property_window.cxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.20,1.21 editor_groundpiece_obj.cxx,1.6,1.7 editor_groundpiece_obj.hxx,1.5,1.6 editorobj.cxx,1.2,1.3 editorobj.hxx,1.6,1.7 entrance_window.cxx,1.1,1.2 entrance_window.hxx,1.2,1.3 groundpiece_window.cxx,1.4,1.5 groundpiece_window.hxx,1.4,1.5 plfobj.cxx,1.3,1.4 plfobj.hxx,1.3,1.4 property_frame.hxx,1.1,1.2 property_window.cxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.21,1.22 editor.cxx,1.12,1.13 editor.hxx,1.5,1.6 editor_event.cxx,1.15,1.16 editor_event.hxx,1.8,1.9 level_property_window.cxx,1.1,1.2 level_property_window.hxx,1.1,1.2 object_manager.hxx,1.5,1.6 panel.cxx,1.2,1.3 panel_icons.cxx,1.3,1.4 panel_icons.hxx,1.3,1.4 property_window.cxx,1.4,1.5 scroll_map.cxx,1.2,1.3
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.20,1.21 editor_groundpiece_obj.cxx,1.6,1.7 editor_groundpiece_obj.hxx,1.5,1.6 editorobj.cxx,1.2,1.3 editorobj.hxx,1.6,1.7 entrance_window.cxx,1.1,1.2 entrance_window.hxx,1.2,1.3 groundpiece_window.cxx,1.4,1.5 groundpiece_window.hxx,1.4,1.5 plfobj.cxx,1.3,1.4 plfobj.hxx,1.3,1.4 property_frame.hxx,1.1,1.2 property_window.cxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.21,1.22 editor.cxx,1.12,1.13 editor.hxx,1.5,1.6 editor_event.cxx,1.15,1.16 editor_event.hxx,1.8,1.9 level_property_window.cxx,1.1,1.2 level_property_window.hxx,1.1,1.2 object_manager.hxx,1.5,1.6 panel.cxx,1.2,1.3 panel_icons.cxx,1.3,1.4 panel_icons.hxx,1.3,1.4 property_window.cxx,1.4,1.5 scroll_map.cxx,1.2,1.3
- Index(es):