summaryrefslogtreecommitdiff
path: root/Userland/guitest2.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-25 19:05:51 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-25 19:05:51 +0100
commit901b7d5d91b3eacda12dad01211b84a28e1a39a6 (patch)
tree903ad96735d1e3c06406f363969d43b7cbb17f93 /Userland/guitest2.cpp
parent15fb917f28505539b05b9b21de0aae7055a5ab2e (diff)
downloadserenity-901b7d5d91b3eacda12dad01211b84a28e1a39a6.zip
Fix a bunch of compiler warnings. Not all, but a lot.
Diffstat (limited to 'Userland/guitest2.cpp')
-rw-r--r--Userland/guitest2.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/Userland/guitest2.cpp b/Userland/guitest2.cpp
index 7c9154708f..06e672ef1e 100644
--- a/Userland/guitest2.cpp
+++ b/Userland/guitest2.cpp
@@ -18,7 +18,6 @@
#include <LibGUI/GApplication.h>
#include <signal.h>
-static GWindow* make_font_test_window();
static GWindow* make_launcher_window();
void handle_sigchld(int)
@@ -35,11 +34,6 @@ int main(int argc, char** argv)
signal(SIGCHLD, handle_sigchld);
-#if 0
- auto* font_test_window = make_font_test_window();
- font_test_window->show();
-#endif
-
auto* launcher_window = make_launcher_window();
launcher_window->set_should_exit_app_on_close(true);
launcher_window->show();
@@ -47,35 +41,6 @@ int main(int argc, char** argv)
return app.exec();
}
-GWindow* make_font_test_window()
-{
- auto* window = new GWindow;
- window->set_title("Font test");
- window->set_rect({ 480, 100, 300, 80 });
-
- auto* widget = new GWidget;
- window->set_main_widget(widget);
- widget->set_relative_rect({ 0, 0, 300, 80 });
-
- auto* l1 = new GLabel(widget);
- l1->set_relative_rect({ 0, 0, 300, 20 });
- l1->set_text("0123456789");
-
- auto* l2 = new GLabel(widget);
- l2->set_relative_rect({ 0, 20, 300, 20 });
- l2->set_text("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
-
- auto* l3 = new GLabel(widget);
- l3->set_relative_rect({ 0, 40, 300, 20 });
- l3->set_text("abcdefghijklmnopqrstuvwxyz");
-
- auto* l4 = new GLabel(widget);
- l4->set_relative_rect({ 0, 60, 300, 20 });
- l4->set_text("!\"#$%&'()*+,-./:;<=>?@[\\]^_{|}~");
-
- return window;
-}
-
GWindow* make_launcher_window()
{
auto* window = new GWindow;