1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 09:44:57 +00:00
serenity/Userland/Libraries/LibWeb/Painting
thankyouverycool f7e034d4b2 LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle
Previously, Frames could set both these properties along with a
thickness to confusing effect: Most shapes of the same shadowing only
differentiated at a thickness >= 2, and some not at all. This led
to a lot of creative but ultimately superfluous choices in the code.

Instead let's streamline our options, automate thickness, and get
the right look without so much guesswork.

Plain shadowing has been consolidated into a single Plain style,
and 0 thickness can be had by setting style to NoFrame.
2023-04-30 05:49:46 +02:00
..
BackgroundPainting.cpp LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
BackgroundPainting.h LibWeb: Convert background painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.cpp LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
BorderPainting.h LibWeb: Remove now-unused includes from StyleValue.cpp 2023-03-25 16:56:04 +00:00
BorderRadiusCornerClipper.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
BorderRadiusCornerClipper.h LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
ButtonPaintable.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
ButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CanvasPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CanvasPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CheckBoxPaintable.cpp LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
CheckBoxPaintable.h LibWeb: Add scaleable checkboxes (with theme/accent-color support) 2023-03-23 08:27:51 +00:00
FilterPainting.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
FilterPainting.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
GradientPainting.cpp LibWeb: Move PercentageOr and subclasses into PercentageOr.{h,cpp} 2023-03-30 21:29:50 +02:00
GradientPainting.h LibJS+LibWeb: Add a bunch of missing includes 2023-03-06 13:05:43 +00:00
ImagePaintable.cpp LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
ImagePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
InlinePaintable.cpp LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
InlinePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
InputColors.h LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
LabelablePaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
LabelablePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
MarkerPaintable.cpp LibWeb: Use scaled font when painting list item markers 2023-04-01 22:39:47 +01:00
MarkerPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Use device pixels to translate NestedBrowsingContextPaintable 2023-04-20 20:44:02 +02:00
NestedBrowsingContextPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
Paintable.cpp LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
Paintable.h LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
PaintableBox.cpp LibWeb+WebContent: Make document background and Viewport transparent 2023-04-25 09:33:35 +02:00
PaintableBox.h LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
PaintContext.cpp LibWeb: Implement converting a DevicePixelRect to a CSSPixelRect 2023-04-17 01:16:04 +02:00
PaintContext.h LibWeb: Implement converting a DevicePixelRect to a CSSPixelRect 2023-04-17 01:16:04 +02:00
ProgressPaintable.cpp LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
ProgressPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
RadioButtonPaintable.cpp LibWeb: Add scalable radio buttons (with theme/accent-color support) 2023-03-24 09:57:48 +00:00
RadioButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
ShadowPainting.cpp LibWeb: Use scaled font when painting text shadows 2023-04-01 22:39:47 +01:00
ShadowPainting.h LibWeb: Convert shadow painting to new pixel units 2022-12-14 16:47:57 +00:00
StackingContext.cpp LibWeb: Rename remaining paint_box variables to paintable_box 2023-04-20 20:43:30 +02:00
StackingContext.h LibWeb/Layout: Rename Box::{paint => paintable}_box() 2023-04-20 20:43:30 +02:00
SVGGeometryPaintable.cpp LibWeb: Resolve and paint SVG gradient fills 2023-04-28 09:42:28 +02:00
SVGGeometryPaintable.h LibWeb: Use (transformed) path bounding quad for SVG path hit testing 2023-04-12 07:40:22 +02:00
SVGGraphicsPaintable.cpp LibWeb: Make SVG <g> elements generate a SVGGraphicsPaintable 2023-04-19 07:52:26 +02:00
SVGGraphicsPaintable.h LibWeb: Make SVG <g> elements generate a SVGGraphicsPaintable 2023-04-19 07:52:26 +02:00
SVGPaintable.cpp LibWeb/Layout: Rename Box::{paint => paintable}_box() 2023-04-20 20:43:30 +02:00
SVGPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
SVGSVGPaintable.cpp LibWeb: Clip SVG content to parent <svg> element bounding box 2023-04-17 07:32:31 +02:00
SVGSVGPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
TextPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
TextPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
VideoPaintable.cpp LibWeb: Paint video timestamps using CSS/device pixel-aware scaled fonts 2023-04-23 16:22:45 +02:00
VideoPaintable.h LibWeb: Paint a media timeline on HTMLVideoElement layout nodes 2023-04-11 19:27:55 +02:00