Move annotation label position enum to separate header

Rim3dView.h only needs the enum, so including RivAnnotationTools.h there caused large rebuilds when the tools header changed.
This commit is contained in:
Magne Sjaastad committed 2026-11-10 15:38:08 +01:00
1 parent c6ad643770
commit 3319f30db6
10 files changed
+82 -33

No files matched your search

@@ -0,0 +1,31 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2026 Equinor ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
// Kept in a separate header so widely included headers (e.g. Rim3dView.h) do not depend on RivAnnotationTools.h
enum class RivAnnotationLabelPositionStrategy
{
RIGHT,
LEFT,
LEFT_AND_RIGHT,
COUNT_HINT,
ALL,
NONE,
UNDEFINED
};