mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	|  147c3b3d97 Although DistinctNumeric, which is supposed to abstract the underlying type, was used to represent CSSPixels, we have a whole bunch of places in the layout code that assume CSSPixels::value() returns a floating-point type. This assumption makes it difficult to replace the underlying type in CSSPixels with a non-floating type. To make it easier to transition CSSPixels to fixed-point math, one step we can take is to prevent access to the underlying type using value() and instead use explicit conversions with the to_float(), to_double(), and to_int() methods. | ||
|---|---|---|
| .. | ||
| EventModifier.h | ||
| EventModifier.idl | ||
| EventNames.cpp | ||
| EventNames.h | ||
| FocusEvent.cpp | ||
| FocusEvent.h | ||
| FocusEvent.idl | ||
| KeyboardEvent.cpp | ||
| KeyboardEvent.h | ||
| KeyboardEvent.idl | ||
| MouseEvent.cpp | ||
| MouseEvent.h | ||
| MouseEvent.idl | ||
| UIEvent.cpp | ||
| UIEvent.h | ||
| UIEvent.idl | ||
| WheelEvent.cpp | ||
| WheelEvent.h | ||
| WheelEvent.idl | ||