imports verschoben
This commit is contained in:
10
gui.pl
10
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)),
|
||||
|
||||
Reference in New Issue
Block a user