feat: implement configurable font settings for VTK viewports and GUI elements with persistent preferences.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "uLibVtkInterface.h"
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "Core/FontConfig.h"
|
||||
#include "Math/Dense.h"
|
||||
|
||||
namespace uLib { class Object; }
|
||||
|
||||
@@ -83,6 +85,12 @@ public:
|
||||
void SetParallelProjection(bool parallel);
|
||||
bool GetParallelProjection() const;
|
||||
|
||||
// Font configuration
|
||||
void SetFont(const FontConfig& font);
|
||||
FontConfig GetFont() const;
|
||||
void SetFontColor(const Vector3d& color);
|
||||
Vector3d GetFontColor() const;
|
||||
|
||||
protected:
|
||||
void SetupPipeline(vtkRenderWindowInteractor* iren);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user