[TD]add properties for detail highlight and matting

This commit is contained in:
wandererfan
2023-12-16 19:38:12 -05:00
parent 37c54b6708
commit 90b0c15cbf
5 changed files with 336 additions and 280 deletions

View File

@@ -83,6 +83,13 @@ DrawViewDetail::DrawViewDetail() : m_waitingForDetail(false), m_saveDvp(nullptr)
ADD_PROPERTY_TYPE(Radius, (10.0), dgroup, App::Prop_None, "Size of detail area");
ADD_PROPERTY_TYPE(Reference, ("1"), dgroup, App::Prop_None, "An identifier for this detail");
static const char* agroup{"Appearance"};
ADD_PROPERTY_TYPE(ShowMatting, (Preferences::showDetailMatting()), agroup, App::Prop_None,
"Show or hide the matting around the detail view");
ADD_PROPERTY_TYPE(ShowHighlight, (Preferences::showDetailHighlight()), agroup, App::Prop_None,
"Show or hide the detail highlight in the source view");
getParameters();
m_fudge = 1.01;