summaryrefslogtreecommitdiff
path: root/examples/common.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-06-14 20:56:03 -0400
committerDavid Thompson <davet@gnu.org>2015-06-14 20:58:52 -0400
commitc23f81b59db98d7af4fd91a41c9b366823662083 (patch)
tree61e2bdb80e1d8e74419c813c74bef04ae44d36ff /examples/common.scm
parent0ec98c95075e09567ef05a84dae8f6de40920202 (diff)
Add composite (sly) module.
* sly.scm: New file. * Makefile.am (SOURCES): Add it. * sandbox.in: Use new module. * examples/common.scm: Likewise. * examples/font.scm: Likewise. * README ("Example"): Update example.
Diffstat (limited to 'examples/common.scm')
-rw-r--r--examples/common.scm11
1 files changed, 3 insertions, 8 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)