1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +00:00

Make a SharedGraphics directory for classes shared between Kernel and LibGUI.

This commit is contained in:
Andreas Kling 2019-01-19 23:22:46 +01:00
parent b75ee4aacb
commit 7e5b81fe48
31 changed files with 49 additions and 41 deletions

View file

@ -1,7 +1,7 @@
#pragma once
#include <Widgets/Color.h>
#include <Widgets/Rect.h>
#include <SharedGraphics/Color.h>
#include <SharedGraphics/Rect.h>
// GUI system call API types.

View file

@ -46,13 +46,15 @@ VFS_OBJS = \
../VirtualFileSystem/FileDescriptor.o \
../VirtualFileSystem/SyntheticFileSystem.o
SHAREDGRAPHICS_OBJS = \
../SharedGraphics/Rect.o \
../SharedGraphics/Painter.o \
../SharedGraphics/Font.o \
../SharedGraphics/Color.o \
../SharedGraphics/CharacterBitmap.o \
../SharedGraphics/GraphicsBitmap.o
WINDOWSERVER_OBJS = \
../Widgets/Rect.o \
../Widgets/Painter.o \
../Widgets/Font.o \
../Widgets/Color.o \
../Widgets/CharacterBitmap.o \
../Widgets/GraphicsBitmap.o \
../WindowServer/WSEventReceiver.o \
../WindowServer/WSEventLoop.o \
../WindowServer/WSWindow.o \
@ -66,7 +68,7 @@ AK_OBJS = \
../AK/StringBuilder.o \
../AK/FileSystemPath.o
OBJS = $(KERNEL_OBJS) $(VFS_OBJS) $(AK_OBJS) $(WINDOWSERVER_OBJS)
OBJS = $(KERNEL_OBJS) $(VFS_OBJS) $(AK_OBJS) $(WINDOWSERVER_OBJS) $(SHAREDGRAPHICS_OBJS)
NASM = nasm
KERNEL = kernel

View file

@ -1,7 +1,7 @@
#include "Process.h"
#include "MemoryManager.h"
#include <LibC/errno_numbers.h>
#include <Widgets/Font.h>
#include <SharedGraphics/Font.h>
#include <WindowServer/WSScreen.h>
#include <WindowServer/WSEventLoop.h>
#include <WindowServer/WSWindow.h>