From: Mikko Rasa Date: Mon, 28 Nov 2016 00:35:12 +0000 (+0200) Subject: Add nameless child keywords for Panel X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=91583e23889a7654fab6669821979b36c1819606;p=libs%2Fgltk.git Add nameless child keywords for Panel Additionally, use a template specialization rather than separate function for a child which is itself a Panel. --- diff --git a/source/panel.cpp b/source/panel.cpp index dc2808e..b9ddbf1 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -178,27 +178,34 @@ Panel::Loader::Loader(Panel &p, map &m): wdg_map(m), last_widget(0) { - add("button", &Loader::child