From: Mikko Rasa Date: Wed, 26 Dec 2007 14:21:05 +0000 (+0000) Subject: Add Toggle widget X-Git-Tag: 0.9~17 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=48fd4db84c4d0b43305d85f74de99eb4fef04fd6;p=libs%2Fgltk.git Add Toggle widget Only process events in Root if visible --- diff --git a/source/panel.cpp b/source/panel.cpp index 9373ff2..22ccb1b 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -14,6 +14,7 @@ Distributed under the LGPL #include "list.h" #include "panel.h" #include "part.h" +#include "toggle.h" #include "vslider.h" using namespace std; @@ -197,14 +198,15 @@ Panel::Loader::Loader(Panel &p, map &m): pnl(p), wdg_map(m) { - add("button", &Loader::child