UI: split "union assemble" and "difference intersection" on two lines.

pull/607/head
ruevs 2020-05-10 22:46:55 +03:00 committed by phkahler
parent 9b07aaf262
commit 1930602e0a
1 changed files with 6 additions and 6 deletions

View File

@ -388,21 +388,21 @@ void TextWindow::ShowGroupInfo() {
Printf(false, " %Ftsolid model as"); Printf(false, " %Ftsolid model as");
Printf(false, "%Ba %f%D%Lc%Fd%s union%E " Printf(false, "%Ba %f%D%Lc%Fd%s union%E "
"%f%D%Lc%Fd%s difference%E "
"%f%D%Lc%Fd%s intersection%E "
"%f%D%Lc%Fd%s assemble%E ", "%f%D%Lc%Fd%s assemble%E ",
&TextWindow::ScreenChangeGroupOption, &TextWindow::ScreenChangeGroupOption,
Group::CombineAs::UNION, Group::CombineAs::UNION,
un ? RADIO_TRUE : RADIO_FALSE, un ? RADIO_TRUE : RADIO_FALSE,
&TextWindow::ScreenChangeGroupOption, &TextWindow::ScreenChangeGroupOption,
Group::CombineAs::ASSEMBLE,
(asy ? RADIO_TRUE : RADIO_FALSE));
Printf(false, "%Ba %f%D%Lc%Fd%s difference%E "
"%f%D%Lc%Fd%s intersection%E ",
&TextWindow::ScreenChangeGroupOption,
Group::CombineAs::DIFFERENCE, Group::CombineAs::DIFFERENCE,
diff ? RADIO_TRUE : RADIO_FALSE, diff ? RADIO_TRUE : RADIO_FALSE,
&TextWindow::ScreenChangeGroupOption, &TextWindow::ScreenChangeGroupOption,
Group::CombineAs::INTERSECTION, Group::CombineAs::INTERSECTION,
intr ? RADIO_TRUE : RADIO_FALSE, intr ? RADIO_TRUE : RADIO_FALSE);
&TextWindow::ScreenChangeGroupOption,
Group::CombineAs::ASSEMBLE,
(asy ? RADIO_TRUE : RADIO_FALSE));
if(g->type == Group::Type::EXTRUDE || g->type == Group::Type::LATHE || if(g->type == Group::Type::EXTRUDE || g->type == Group::Type::LATHE ||
g->type == Group::Type::REVOLVE || g->type == Group::Type::HELIX) { g->type == Group::Type::REVOLVE || g->type == Group::Type::HELIX) {