[TD]Standard Line Styles - App components
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "Preferences.h"
|
||||
|
||||
#include "LineGenerator.h"
|
||||
|
||||
//getters for parameters used in multiple places.
|
||||
//ensure this is in sync with preference page user interfaces
|
||||
@@ -240,6 +240,16 @@ int Preferences::mattingStyle()
|
||||
return getPreferenceGroup("Decorations")->GetInt("MattingStyle", 0);
|
||||
}
|
||||
|
||||
bool Preferences::showDetailMatting()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("ShowDetailMatting", true);
|
||||
}
|
||||
|
||||
bool Preferences::showDetailHighlight()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("ShowDetailHighLight", true);
|
||||
}
|
||||
|
||||
std::string Preferences::svgFile()
|
||||
{
|
||||
std::string defaultDir = App::Application::getResourceDir() + "Mod/TechDraw/Patterns/";
|
||||
|
||||
Reference in New Issue
Block a user