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:
@@ -55,8 +55,12 @@ public:
|
||||
void setLegendsVisible( bool doShow );
|
||||
bool legendsHorizontal() const;
|
||||
void setLegendsHorizontal( bool horizontal );
|
||||
int legendFontSize() const;
|
||||
void setLegendFontSize( int fontSize );
|
||||
|
||||
void updateFonts() override;
|
||||
|
||||
int fontSize() const override;
|
||||
int titleFontSize() const;
|
||||
int legendFontSize() const;
|
||||
|
||||
void updateLayout();
|
||||
void updateParentLayout();
|
||||
@@ -90,5 +94,7 @@ protected:
|
||||
caf::PdmField<int> m_id;
|
||||
caf::PdmField<bool> m_showPlotLegends;
|
||||
caf::PdmField<bool> m_plotLegendsHorizontal;
|
||||
caf::PdmField<int> m_legendFontSize;
|
||||
|
||||
caf::PdmField<caf::FontTools::RelativeSizeEnum> m_titleFontSize;
|
||||
caf::PdmField<caf::FontTools::RelativeSizeEnum> m_legendFontSize;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user