mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Rename painter() to recording_painter() in PaintContext
Using recording_painter() as a name is less misleading, indicating the painter in stacking context traversal doesn't perform actual painting commands.
This commit is contained in:
parent
c3d28d7f5a
commit
1b3223dd9e
26 changed files with 119 additions and 121 deletions
|
@ -59,7 +59,7 @@ void ButtonPaintable::paint(PaintContext& context, PaintPhase phase) const
|
|||
}
|
||||
|
||||
// Paint button text clipped to button rect
|
||||
auto& painter = context.painter();
|
||||
auto& painter = context.recording_painter();
|
||||
painter.save();
|
||||
painter.add_clip_rect(button_rect.to_type<int>());
|
||||
painter.draw_text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue