mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -7,15 +7,13 @@ namespace gui
|
||||
class Ruler : public Shape
|
||||
{
|
||||
public:
|
||||
explicit Ruler(Position const & position)
|
||||
: Shape(position)
|
||||
{}
|
||||
explicit Ruler(Position const & position) : Shape(position) {}
|
||||
drape_ptr<ShapeRenderer> Draw(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::TextureManager> tex) const;
|
||||
|
||||
private:
|
||||
void DrawRuler(ref_ptr<dp::GraphicsContext> context, ShapeControl & control,
|
||||
ref_ptr<dp::TextureManager> tex, bool isAppearing) const;
|
||||
void DrawText(ref_ptr<dp::GraphicsContext> context, ShapeControl & control,
|
||||
ref_ptr<dp::TextureManager> tex, bool isAppearing) const;
|
||||
void DrawRuler(ref_ptr<dp::GraphicsContext> context, ShapeControl & control, ref_ptr<dp::TextureManager> tex,
|
||||
bool isAppearing) const;
|
||||
void DrawText(ref_ptr<dp::GraphicsContext> context, ShapeControl & control, ref_ptr<dp::TextureManager> tex,
|
||||
bool isAppearing) const;
|
||||
};
|
||||
} // namespace gui
|
||||
|
||||
Reference in New Issue
Block a user