mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
First round of caf::FontTools
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cafFontTools.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
@@ -30,7 +31,7 @@ class TitledOverlayFrame;
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimLegendConfig : public caf::PdmObject
|
||||
class RimLegendConfig : public caf::PdmObject, public caf::FontHolderInterface
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
@@ -49,4 +50,6 @@ public:
|
||||
|
||||
virtual const caf::TitledOverlayFrame* titledOverlayFrame() const = 0;
|
||||
virtual caf::TitledOverlayFrame* titledOverlayFrame() = 0;
|
||||
|
||||
virtual int fontSize() const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user