]> git.tdb.fi Git - libs/gltk.git/blob - examples/widgetdemo/dropdowndemo.h
Add another example application to demonstrate various widgets
[libs/gltk.git] / examples / widgetdemo / dropdowndemo.h
1 #ifndef DROPDOWNDEMO_H_
2 #define DROPDOWNDEMO_H_
3
4 #include <msp/gltk/listdata.h>
5 #include <msp/gltk/panel.h>
6
7 class DropdownDemo: public Msp::GLtk::Panel
8 {
9 private:
10         Msp::GLtk::BasicListData<std::string> categories;
11         Msp::GLtk::BasicListData<std::string> values;
12
13 public:
14         DropdownDemo();
15
16 private:
17         void category_selected(unsigned);
18 };
19
20 #endif