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

@@ -48,7 +48,8 @@ class TappableHandle : public Handle
public:
TappableHandle(uint32_t id, dp::Anchor anchor, m2::PointF const & pivot, m2::PointF size)
: Handle(id, anchor, pivot), m_size(size)
: Handle(id, anchor, pivot)
, m_size(size)
{}
bool IsTapped(m2::RectD const & touchArea) const override;
@@ -66,8 +67,7 @@ struct ShapeControl
struct ShapeInfo
{
ShapeInfo() : m_state(df::CreateRenderState(gpu::Program::TexturingGui, df::DepthLayer::GuiLayer)) {}
ShapeInfo(dp::RenderState const & state, drape_ptr<dp::VertexArrayBuffer> && buffer,
drape_ptr<Handle> && handle);
ShapeInfo(dp::RenderState const & state, drape_ptr<dp::VertexArrayBuffer> && buffer, drape_ptr<Handle> && handle);
void Destroy();
@@ -111,9 +111,7 @@ private:
class Shape
{
public:
explicit Shape(gui::Position const & position)
: m_position(position)
{}
explicit Shape(gui::Position const & position) : m_position(position) {}
using TTapHandler = std::function<void()>;