summaryrefslogtreecommitdiff
path: root/Userland/Demos
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
commitef1e5db1d063f55e57b1d7623ea7154583fc95ad (patch)
treefb92514e07f4017cb899258137c817c07da9d5c5 /Userland/Demos
parent423ed5339651a2646c64ee4fd7b3b32bb7f8c942 (diff)
downloadserenity-ef1e5db1d063f55e57b1d7623ea7154583fc95ad.zip
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
Good-bye LogStream. Long live AK::Format!
Diffstat (limited to 'Userland/Demos')
-rw-r--r--Userland/Demos/Cube/Cube.cpp3
-rw-r--r--Userland/Demos/Eyes/main.cpp1
-rw-r--r--Userland/Demos/Fire/Fire.cpp1
-rw-r--r--Userland/Demos/LibGfxDemo/main.cpp2
-rw-r--r--Userland/Demos/LibGfxScaleDemo/main.cpp2
-rw-r--r--Userland/Demos/Mouse/main.cpp1
-rw-r--r--Userland/Demos/Screensaver/Screensaver.cpp1
-rw-r--r--Userland/Demos/WidgetGallery/main.cpp1
8 files changed, 8 insertions, 4 deletions
diff --git a/Userland/Demos/Cube/Cube.cpp b/Userland/Demos/Cube/Cube.cpp
index 6e0fb1e8b5..30088c9607 100644
--- a/Userland/Demos/Cube/Cube.cpp
+++ b/Userland/Demos/Cube/Cube.cpp
@@ -37,10 +37,9 @@
#include <LibGfx/Bitmap.h>
#include <LibGfx/Matrix4x4.h>
#include <LibGfx/Vector3.h>
-#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <time.h>
+#include <unistd.h>
const int WIDTH = 200;
const int HEIGHT = 200;
diff --git a/Userland/Demos/Eyes/main.cpp b/Userland/Demos/Eyes/main.cpp
index 3db722a882..5b120ae260 100644
--- a/Userland/Demos/Eyes/main.cpp
+++ b/Userland/Demos/Eyes/main.cpp
@@ -32,6 +32,7 @@
#include <LibGUI/MenuBar.h>
#include <LibGUI/Window.h>
#include <LibGfx/Bitmap.h>
+#include <unistd.h>
int main(int argc, char* argv[])
{
diff --git a/Userland/Demos/Fire/Fire.cpp b/Userland/Demos/Fire/Fire.cpp
index 03986dea01..c76b3e8bd4 100644
--- a/Userland/Demos/Fire/Fire.cpp
+++ b/Userland/Demos/Fire/Fire.cpp
@@ -53,6 +53,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+#include <unistd.h>
#define FIRE_WIDTH 320
#define FIRE_HEIGHT 168
diff --git a/Userland/Demos/LibGfxDemo/main.cpp b/Userland/Demos/LibGfxDemo/main.cpp
index 8d40798e30..2122d40a1a 100644
--- a/Userland/Demos/LibGfxDemo/main.cpp
+++ b/Userland/Demos/LibGfxDemo/main.cpp
@@ -30,10 +30,10 @@
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
#include <LibGfx/Bitmap.h>
-#include <LibGfx/Font.h>
#include <LibGfx/FontDatabase.h>
#include <LibGfx/Painter.h>
#include <LibGfx/Path.h>
+#include <unistd.h>
const int WIDTH = 780;
const int HEIGHT = 600;
diff --git a/Userland/Demos/LibGfxScaleDemo/main.cpp b/Userland/Demos/LibGfxScaleDemo/main.cpp
index 9a60b911d1..e7763b3e65 100644
--- a/Userland/Demos/LibGfxScaleDemo/main.cpp
+++ b/Userland/Demos/LibGfxScaleDemo/main.cpp
@@ -31,12 +31,12 @@
#include <LibGUI/Window.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/Font.h>
-#include <LibGfx/FontDatabase.h>
#include <LibGfx/Painter.h>
#include <LibGfx/Palette.h>
#include <LibGfx/Path.h>
#include <LibGfx/SystemTheme.h>
#include <LibGfx/WindowTheme.h>
+#include <unistd.h>
const int WIDTH = 300;
const int HEIGHT = 200;
diff --git a/Userland/Demos/Mouse/main.cpp b/Userland/Demos/Mouse/main.cpp
index 6cd3d20289..547c510469 100644
--- a/Userland/Demos/Mouse/main.cpp
+++ b/Userland/Demos/Mouse/main.cpp
@@ -36,6 +36,7 @@
#include <LibGUI/Window.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/Path.h>
+#include <unistd.h>
#include <math.h>
diff --git a/Userland/Demos/Screensaver/Screensaver.cpp b/Userland/Demos/Screensaver/Screensaver.cpp
index 889106f8d7..bf6166a154 100644
--- a/Userland/Demos/Screensaver/Screensaver.cpp
+++ b/Userland/Demos/Screensaver/Screensaver.cpp
@@ -33,6 +33,7 @@
#include <LibGfx/Bitmap.h>
#include <stdio.h>
#include <time.h>
+#include <unistd.h>
class Screensaver final : public GUI::Widget {
C_OBJECT(Screensaver)
diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp
index 352b864e7e..63d3aa5a41 100644
--- a/Userland/Demos/WidgetGallery/main.cpp
+++ b/Userland/Demos/WidgetGallery/main.cpp
@@ -31,6 +31,7 @@
#include <LibGUI/Menu.h>
#include <LibGUI/MenuBar.h>
#include <LibGUI/Window.h>
+#include <unistd.h>
int main(int argc, char** argv)
{