Skip to content
Snippets Groups Projects

GUI: move shared enums to 'GUI/Support/Data/ID.h'

Merged Mikhail Svechnikov requested to merge i447 into main
All threads resolved!
15 files
+ 69
87
Compare changes
  • Side-by-side
  • Inline
Files
15
@@ -20,11 +20,11 @@ ProjectionContainerItem::ProjectionContainerItem()
{
}
QVector<MaskItem*> ProjectionContainerItem::projectionsOfType(ProjectionType projectionType)
QVector<MaskItem*> ProjectionContainerItem::projectionsOfType(GUI::ID::ProjectionType projectionType)
{
if (projectionType == ProjectionType::Horizontal)
if (projectionType == GUI::ID::ProjectionType::Horizontal)
return projections<HorizontalLineItem>();
else if (projectionType == ProjectionType::Vertical)
else if (projectionType == GUI::ID::ProjectionType::Vertical)
return projections<VerticalLineItem>();
else
ASSERT(false);
Loading