Mercurial > hg > indyvon
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 wrap: on
line diff
--- a/src/net/kryshen/indyvon/layers.clj Sun Apr 21 05:00:55 2013 +0400 +++ b/src/net/kryshen/indyvon/layers.clj Mon Apr 22 20:57:45 2013 +0400 @@ -1,5 +1,5 @@ ;; -;; Copyright 2010, 2011, 2012 Mikhail Kryshen <mikhail@kryshen.net> +;; Copyright 2010, 2011, 2012, 2013 Mikhail Kryshen <mikhail@kryshen.net> ;; ;; This file is part of Indyvon. ;; @@ -32,6 +32,10 @@ ;; Define as macro to avoid unnecessary calculation of inner and outer ;; sizes in the first case. +;; +;; TODO: replace inner and outer with size; (- outer inner) could be +;; passed instead where needed. Move to core. +;; (defmacro align-xy [inner outer align first center last] `(case ~align ~first 0