Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -7,7 +7,10 @@
namespace qt
{
bool Ruler::IsActive() { return m_isActive; }
bool Ruler::IsActive()
{
return m_isActive;
}
void Ruler::SetActive(bool status)
{
@@ -37,13 +40,18 @@ void Ruler::DrawLine(df::DrapeApi & drapeApi)
drapeApi.RemoveLine(m_id);
SetId();
drapeApi.AddLine(
m_id, df::DrapeApiLineData(m_polyline, lightGreyColor).Width(7.0f).ShowPoints(true).ShowId());
drapeApi.AddLine(m_id, df::DrapeApiLineData(m_polyline, lightGreyColor).Width(7.0f).ShowPoints(true).ShowId());
}
void Ruler::EraseLine(df::DrapeApi & drapeApi) { drapeApi.RemoveLine(m_id); }
void Ruler::EraseLine(df::DrapeApi & drapeApi)
{
drapeApi.RemoveLine(m_id);
}
bool Ruler::IsValidPolyline() { return m_polyline.size() > 1; }
bool Ruler::IsValidPolyline()
{
return m_polyline.size() > 1;
}
void Ruler::SetDistance()
{