3 class ControlWindowDelegate {
5 virtual void weightChanged(int, float) = 0;
6 virtual void solveWeights(std::vector<float> &) = 0;
7 virtual void resetManipulators() = 0;
8 virtual void playbackChanged(bool playing) = 0;
11 struct ControlWindow {
12 void *window, *controller;
15 ControlWindow createControlWindow(std::vector<std::string> names, ControlWindowDelegate *delegate);
16 void updateWeights(ControlWindow *cw, std::vector<float> weights);
18 bool isPanelFocused(ControlWindow cw);