Surface: apply clang format
This commit is contained in:
@@ -38,12 +38,12 @@ Workbench::Workbench() = default;
|
||||
|
||||
Workbench::~Workbench() = default;
|
||||
|
||||
Gui::MenuItem *Workbench::setupMenuBar() const
|
||||
Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
{
|
||||
Gui::MenuItem *root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem *item = root->findItem("&Windows");
|
||||
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem* item = root->findItem("&Windows");
|
||||
|
||||
Gui::MenuItem *surface = new Gui::MenuItem;
|
||||
Gui::MenuItem* surface = new Gui::MenuItem;
|
||||
root->insertItem(item, surface);
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_Filling"
|
||||
@@ -53,17 +53,17 @@ Gui::MenuItem *Workbench::setupMenuBar() const
|
||||
<< "Surface_CurveOnMesh"
|
||||
<< "Surface_BlendCurve";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Gui::ToolBarItem *Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
{
|
||||
Gui::ToolBarItem *root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
|
||||
Gui::ToolBarItem *surface = new Gui::ToolBarItem(root);
|
||||
Gui::ToolBarItem* surface = new Gui::ToolBarItem(root);
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_Filling"
|
||||
<< "Surface_GeomFillSurface"
|
||||
@@ -72,8 +72,8 @@ Gui::ToolBarItem *Workbench::setupToolBars() const
|
||||
<< "Surface_CurveOnMesh"
|
||||
<< "Surface_BlendCurve";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user