mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibGUI: Mass coding style fixes.
This commit is contained in:
parent
6c4f1bad09
commit
d66b0f7dd8
15 changed files with 178 additions and 178 deletions
|
@ -25,13 +25,13 @@ Painter::Painter(GWidget& widget)
|
|||
m_target = widget.backing();
|
||||
ASSERT(m_target);
|
||||
m_window = widget.window();
|
||||
m_translation.move_by(widget.relativePosition());
|
||||
m_translation.move_by(widget.relative_position());
|
||||
// NOTE: m_clip_rect is in Window coordinates since we are painting into its backing store.
|
||||
m_clip_rect = widget.relativeRect();
|
||||
m_clip_rect = widget.relative_rect();
|
||||
|
||||
#ifdef DEBUG_WIDGET_UNDERDRAW
|
||||
// If the widget is not opaque, let's not mess it up with debugging color.
|
||||
if (widget.fillWithBackgroundColor() && m_window->main_widget() != &widget)
|
||||
if (widget.fill_with_background_color() && m_window->main_widget() != &widget)
|
||||
fill_rect(widget.rect(), Color::Red);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue