1 #ifndef DEMOSELECTOR_H_
2 #define DEMOSELECTOR_H_
4 #include <msp/gltk/list.h>
5 #include <msp/gltk/panel.h>
7 class DemoSelector: public Msp::GLtk::Panel
13 Msp::GLtk::Panel *panel;
17 Msp::GLtk::FunctionListData<Demo> demos;
18 const Demo *current_demo;
23 void add_demo(const std::string &, Msp::GLtk::Panel *);
25 void item_selected(unsigned);
27 static std::string get_demo_title(const Demo &);