# HG changeset patch
# User Mikhail Kryshen <mikhail@kryshen.net>
# Date 1276821596 -14400
# Node ID 357bdd7d0550c43707cc54f434ce6ee71de33194
# Parent  43f0d78057a9bb205c61740ecbcef6dc2af3c698
Context in Anchor protocol.

diff -r 43f0d78057a9 -r 357bdd7d0550 src/indyvon/core.clj
--- a/src/indyvon/core.clj	Thu Jun 17 20:59:22 2010 +0400
+++ b/src/indyvon/core.clj	Fri Jun 18 04:39:56 2010 +0400
@@ -140,12 +140,12 @@
 
 (defprotocol Anchored
   "Provide anchor point for Layers. Used by viewport."
-  (anchor [this] "Anchor point: [x y]"))
+  (anchor [this context] "Anchor point: [x y]"))
 
 ;; Default implementation of Anchored for any Layer.
 (extend-protocol Anchored
   indyvon.core.Layer
-  (anchor [this] [0 0]))
+  (anchor [this context] [0 0]))
 
 (defn viewport
   "Creates scrollable viewport layer."