[TD]Standard Line Styles - App components

This commit is contained in:
wandererfan
2023-11-16 11:32:48 -05:00
committed by WandererFan
parent a4db18af56
commit 8a7e8effb3
11 changed files with 789 additions and 5 deletions

View File

@@ -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/";