From 3b86089128c6da89ee1664c279821da4d7ef91fc Mon Sep 17 00:00:00 2001 From: John McCardle Date: Sun, 21 Apr 2024 12:45:42 -0400 Subject: [PATCH] Delete some comments, notes from writing repr --- src/UIGrid.cpp | 16 ---------------- 1 file changed, 16 deletions(-) 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 {