From 94e160045641e3ec45530b79947367555fd726b6 Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 21 Oct 2010 21:24:00 +0000 Subject: [PATCH] added (inactive) controls git-svn-id: svn://anubis/misc/sierpinski-gtk@251 bd8a9e45-a331-0410-811e-c64571078777 --- sierpinski-gtk.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sierpinski-gtk.cc b/sierpinski-gtk.cc index f536adb..b0c21f7 100644 --- a/sierpinski-gtk.cc +++ b/sierpinski-gtk.cc @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include #include "SierpinskiDA.h" @@ -44,6 +46,15 @@ int main(int argc, char * argv[]) Gtk::VBox vbox; SierpinskiDA da(glconfig); vbox.pack_start(da); + Gtk::HBox hbox; + Gtk::Label lbl("# of points:"); + hbox.pack_start(lbl, false, false); + Gtk::Entry num_points_e; + hbox.pack_start(num_points_e, true, true); + Gtk::Button regenerate_btn("_Regenerate", true); + hbox.pack_start(regenerate_btn, false, false); + vbox.pack_start(hbox, Gtk::PACK_SHRINK); + mw.add(vbox); mw.show_all();