asynts
7e62ffbc6e
AK+Format: Remove TypeErasedFormatParams& from format function.
2020-12-30 20:33:53 +01:00
Nico Weber
573d5b7ff2
LibGfx: Give Size and Rect * and *= operators
2020-12-18 17:35:30 +01:00
Tom
6ad6c4ffad
LibGfx: Add overloads to Rect's shrink/inflate that accept a Size<T>
2020-10-12 20:04:48 +02:00
asynts
3b601cd4bd
LibGfx: Add formatter for Rect.
2020-10-09 20:52:17 +02:00
Tom
f8903acea2
LibGfx: Add convenience helpers for Rect
2020-08-18 12:12:27 +02:00
Linus Groh
7072806234
Meta: Replace remaining LibM/math.h includes with math.h
2020-08-12 16:18:33 +02:00
Andreas Kling
984683cf34
Revert "LibM: Always include <math.h> instead of <LibM/math.h>"
...
This reverts commit dc12cbca41
.
Sadly this broke the build due to some confusion about <new>.
Reverting until this can be solved fully.
2020-08-04 21:17:43 +02:00
Andreas Kling
dc12cbca41
LibM: Always include <math.h> instead of <LibM/math.h>
...
This makes Lagom pick up the host math.h, which is what we want.
2020-08-04 19:06:27 +02:00
Matthew Olsson
335916d8db
LibGfx: Templatize Point, Size, and Rect
2020-07-27 01:06:26 +02:00
Andreas Kling
116cf92156
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
...
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used.
2020-06-10 10:59:04 +02:00
Andreas Kling
3775983dfe
LibIPC+LibGfx: Templatize IPC encoding as well as decoding
...
Now most classes dictate how they are serialized and deserialized when
transmitted across LibIPC sockets. This also makes the IPC compiler
a bit simpler. :^)
2020-05-12 18:49:24 +02:00
Andreas Kling
24a0354ce8
LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers
...
Instead of passing the BufferStream, pass the Decoder. I'd like to stop
using BufferStream eventually anyway, so it's good to get it out of any
API's where it's in currently.
2020-03-29 19:37:23 +02:00
Andreas Kling
37fc6c117c
Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller
2020-03-08 13:06:51 +01:00
Andreas Kling
a4d857e3c5
LibIPC+IPCCompiler: Add IPC::Decoder, let classes decode themselves
...
This shaves ~5 seconds off of a full build, not too bad. Also it just
seems nicer to push this logic out to classes. It could be better but
it's a start. :^)
2020-02-15 12:11:19 +01:00
Andreas Kling
34b5ff7c29
LibGfx: Move a bunch of LogStream::operator<< to cpp files
2020-02-15 00:58:54 +01:00
Andreas Kling
3f58f0e87c
LibGfx: Add Rect::operator!=(Rect)
2020-02-11 11:53:38 +01:00
Andreas Kling
20cfd2a6bf
LibGfx: Unpublish Gfx::Rect from global namespace
2020-02-06 13:02:38 +01:00
Andreas Kling
9ac94d393e
LibGfx: Rename from LibDraw :^)
2020-02-06 12:04:00 +01:00