Skip to content
Snippets Groups Projects
Commit 7b65967b authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add pose lock and view from buttons

parent 4ad1ebd4
No related branches found
No related tags found
No related merge requests found
Pipeline #11858 passed
...@@ -48,6 +48,22 @@ PoseWindow::PoseWindow(nanogui::Widget *parent, ftl::ctrl::Master *ctrl, const s ...@@ -48,6 +48,22 @@ PoseWindow::PoseWindow(nanogui::Widget *parent, ftl::ctrl::Master *ctrl, const s
tools->setLayout(new BoxLayout(Orientation::Horizontal, tools->setLayout(new BoxLayout(Orientation::Horizontal,
Alignment::Middle, 0, 6)); Alignment::Middle, 0, 6));
auto button_opt = new Button(tools, "", ENTYPO_ICON_EYE);
button_opt->setTooltip("Virtual view to this pose");
//button_opt->setFlags(Button::ToggleButton);
//button_opt->setPushed(false);
button_opt->setCallback([this]() { });
button_opt = new Button(tools, "", ENTYPO_ICON_LINK);
button_opt->setTooltip("Link virtual current pose to this pose");
button_opt->setFlags(Button::ToggleButton);
button_opt->setPushed(false);
button_opt->setChangeCallback([this](bool state) { });
tools = new Widget(grouping);
tools->setLayout(new BoxLayout(Orientation::Horizontal,
Alignment::Middle, 0, 6));
auto button_rgb = new Button(tools, "Translation"); auto button_rgb = new Button(tools, "Translation");
button_rgb->setTooltip("Adjust camera location"); button_rgb->setTooltip("Adjust camera location");
button_rgb->setFlags(Button::RadioButton); button_rgb->setFlags(Button::RadioButton);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment