summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/common.scm11
-rw-r--r--examples/font.scm2
2 files changed, 3 insertions, 10 deletions
diff --git a/examples/common.scm b/examples/common.scm
index 541488a..65e02df 100644
--- a/examples/common.scm
+++ b/examples/common.scm
@@ -15,15 +15,10 @@
;;; along with this program. If not, see
;;; <http://www.gnu.org/licenses/>.
-(use-modules (sly agenda)
- (sly fps)
- (sly game)
- (sly input keyboard)
- (sly repl)
- (sly signal)
- (sly window))
+(use-modules (sly)
+ (sly fps))
-(open-window)
+(sly-init)
(add-hook! key-press-hook (lambda (key unicode)
(when (eq? key 'escape)
diff --git a/examples/font.scm b/examples/font.scm
index 4ce76e3..4d481d3 100644
--- a/examples/font.scm
+++ b/examples/font.scm
@@ -29,8 +29,6 @@
(load "common.scm")
-(enable-fonts)
-
(define font (load-default-font 18))
(define-signal message-label