From 18abacdde1806573986aad9ffd9a9dd3f2c675b9 Mon Sep 17 00:00:00 2001 From: Maximilian Wagner Date: Mon, 22 May 2023 16:37:34 +0200 Subject: [PATCH] imports verschoben --- gui.pl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gui.pl b/gui.pl index 761ac4c..aeeff09 100644 --- a/gui.pl +++ b/gui.pl @@ -1,6 +1,5 @@ -% erstmal nur experimentell, der bums kommt zum schluss -% falls noch zeit sein sollte jedenfalls - +:- use_module(library(tabular)). +:- use_module(library(autowin)). % new(@specifier, dialog('windowname')) % send(@specifiert, append(text_item(name))) @@ -10,6 +9,7 @@ window(Name) :- send(D, append, button(show, message(@prolog, window3, 'Spielfeld'))), send(D, open). + window2(Name) :- new(D, dialog(Name)), @@ -21,10 +21,6 @@ window2(Name) :- send(D, open). -% Specific für window3/1 -:- use_module(library(tabular)). -:- use_module(library(autowin)). - window3(Name) :- new(P, auto_sized_picture(Name)), send(P, display, new(T, tabular)),