MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ViewerSettingsPlugin Class Reference

#include <MRViewerSettingsPlugin.h>

+ Inheritance diagram for MR::ViewerSettingsPlugin:

Classes

class  ExternalSettings
 basic class of external settings More...
 

Public Types

enum class  TabType {
  TabType::Quick , TabType::Application , TabType::Control , TabType::Viewport ,
  TabType::MeasurementUnits , TabType::Features , TabType::Count
}
 

Public Member Functions

 ViewerSettingsPlugin ()
 
virtual void drawDialog (ImGuiContext *ctx) override
 
virtual bool blocking () const override
 
MRVIEWER_API void updateThemes ()
 call this function if you save/delete color theme, or change current theme outside of this plugin
 
MRVIEWER_API void addComboSettings (const TabType tab, std::shared_ptr< ExternalSettings > settings)
 add external settings with UI combo box
 
MRVIEWER_API void delComboSettings (const TabType tab, const ExternalSettings *settings)
 delete external settings with UI combo box
 
MRVIEWER_API void setActiveTab (TabType tab)
 changes active tab
 

Static Public Member Functions

static MRVIEWER_API ViewerSettingsPlugininstance ()
 

The documentation for this class was generated from the following file: