src/toolsets/viewtoolset.cpp

changeset 1100
9b2797729c82
parent 1083
5903cfa6b4d9
child 1103
ac7db4c076c3
equal deleted inserted replaced
1099:14276e435640 1100:9b2797729c82
153 { 153 {
154 m_config->toggleDrawWireframe(); 154 m_config->toggleDrawWireframe();
155 m_window->renderer()->refresh(); 155 m_window->renderer()->refresh();
156 } 156 }
157 157
158 void ViewToolset::setOverlay()
159 {
160 OverlayDialog dlg;
161
162 if (not dlg.exec())
163 return;
164
165 m_window->renderer()->setupOverlay ((Camera) dlg.camera(), dlg.fpath(), dlg.ofsx(),
166 dlg.ofsy(), dlg.lwidth(), dlg.lheight());
167 }
168
169 void ViewToolset::clearOverlay()
170 {
171 m_window->renderer()->clearOverlay();
172 }
173
174 void ViewToolset::drawAngles() 158 void ViewToolset::drawAngles()
175 { 159 {
176 m_config->toggleDrawAngles(); 160 m_config->toggleDrawAngles();
177 m_window->renderer()->refresh(); 161 m_window->renderer()->refresh();
178 } 162 }

mercurial