diff --git a/src/UIGrid.cpp b/src/UIGrid.cpp index 15ad0a7..b3331a8 100644 --- a/src/UIGrid.cpp +++ b/src/UIGrid.cpp @@ -423,22 +423,6 @@ PyObject* UIGrid::get_children(PyUIGridObject* self, void* closure) PyObject* UIGrid::repr(PyUIGridObject* self) { - -// if (member_ptr == 0) // x -// self->data->box.setPosition(val, self->data->box.getPosition().y); -// else if (member_ptr == 1) // y -// self->data->box.setPosition(self->data->box.getPosition().x, val); -// else if (member_ptr == 2) // w -// self->data->box.setSize(sf::Vector2f(val, self->data->box.getSize().y)); -// else if (member_ptr == 3) // h -// self->data->box.setSize(sf::Vector2f(self->data->box.getSize().x, val)); -// else if (member_ptr == 4) // center_x -// self->data->center_x = val; -// else if (member_ptr == 5) // center_y -// self->data->center_y = val; -// else if (member_ptr == 6) // zoom -// self->data->zoom = val; - std::ostringstream ss; if (!self->data) ss << ""; else {