浏览代码

LibGfx: Remove unused cruft from Painter.h

Andreas Kling 1 年之前
父节点
当前提交
2f23912a55
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Userland/Libraries/LibGfx/Painter.h

+ 0 - 4
Userland/Libraries/LibGfx/Painter.h

@@ -45,8 +45,6 @@ ALWAYS_INLINE static Color color_for_format(BitmapFormat format, ARGB32 value)
 
 
 class Painter {
 class Painter {
 public:
 public:
-    static constexpr int LINE_SPACING = 4;
-
     explicit Painter(Gfx::Bitmap&);
     explicit Painter(Gfx::Bitmap&);
     ~Painter() = default;
     ~Painter() = default;
 
 
@@ -166,6 +164,4 @@ private:
     Painter& m_painter;
     Painter& m_painter;
 };
 };
 
 
-ByteString parse_ampersand_string(StringView, Optional<size_t>* underline_offset = nullptr);
-
 }
 }