mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 14:58:13 -06:00
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:
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
|
||||
};
|
||||
Reference in new issue
Block a user