mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
27 lines
575 B
C
27 lines
575 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibWeb/Layout/ListItemMarkerBox.h>
|
||
|
|
#include <LibWeb/Painting/Paintable.h>
|
||
|
|
|
||
|
|
namespace Web::Painting {
|
||
|
|
|
||
|
|
class MarkerPaintable final : public Paintable {
|
||
|
|
public:
|
||
|
|
static NonnullOwnPtr<MarkerPaintable> create(Layout::ListItemMarkerBox const&);
|
||
|
|
|
||
|
|
virtual void paint(PaintContext&, PaintPhase) const override;
|
||
|
|
|
||
|
|
Layout::ListItemMarkerBox const& layout_box() const;
|
||
|
|
|
||
|
|
private:
|
||
|
|
MarkerPaintable(Layout::ListItemMarkerBox const&);
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|