changeset 144:479019bba20a

Added a TODO comment.
author Mikhail Kryshen <mikhail@kryshen.net>
date Mon, 22 Apr 2013 20:57:45 +0400
parents 844921c135d6
children d5e3e3936f34
files src/net/kryshen/indyvon/layers.clj
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/net/kryshen/indyvon/layers.clj	Sun Apr 21 05:00:55 2013 +0400
     1.2 +++ b/src/net/kryshen/indyvon/layers.clj	Mon Apr 22 20:57:45 2013 +0400
     1.3 @@ -1,5 +1,5 @@
     1.4  ;;
     1.5 -;; Copyright 2010, 2011, 2012 Mikhail Kryshen <mikhail@kryshen.net>
     1.6 +;; Copyright 2010, 2011, 2012, 2013 Mikhail Kryshen <mikhail@kryshen.net>
     1.7  ;;
     1.8  ;; This file is part of Indyvon.
     1.9  ;;
    1.10 @@ -32,6 +32,10 @@
    1.11    
    1.12  ;; Define as macro to avoid unnecessary calculation of inner and outer
    1.13  ;; sizes in the first case.
    1.14 +;; 
    1.15 +;; TODO: replace inner and outer with size; (- outer inner) could be
    1.16 +;; passed instead where needed. Move to core.
    1.17 +;;
    1.18  (defmacro align-xy [inner outer align first center last]
    1.19    `(case ~align
    1.20           ~first 0