From 754751fd474c6eac073fa7e89a18142fc89cb4fb Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 27 Jun 2013 17:23:41 +0300 Subject: [PATCH] Add getter for Panel::layout This is necessary for certain operations on a panel loaded from a datafile. --- source/panel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/panel.h b/source/panel.h index 8d83b66..d224596 100644 --- a/source/panel.h +++ b/source/panel.h @@ -65,6 +65,7 @@ public: virtual const char *get_class() const { return "panel"; } void set_layout(Layout *); + Layout *get_layout() { return layout; } protected: virtual void autosize_special(const Part &, Geometry &); -- 2.43.0