# HG changeset patch # User Mikhail Kryshen <mikhail@kryshen.net> # Date 1396542395 -14400 # Node ID 79bd47e3120a5ee90dbd5fc557f5879feecfef0f # Parent 613bd4ac1bc05c7320987a694e72bd3fe4b545f9 Fixed misplaced docstring. diff -r 613bd4ac1bc0 -r 79bd47e3120a src/net/kryshen/indyvon/demo.clj --- a/src/net/kryshen/indyvon/demo.clj Thu Apr 25 04:01:33 2013 +0400 +++ b/src/net/kryshen/indyvon/demo.clj Thu Apr 03 20:26:35 2014 +0400 @@ -1,5 +1,5 @@ ;; -;; Copyright 2010, 2011, 2012 Mikhail Kryshen <mikhail@kryshen.net> +;; Copyright 2010-2014 Mikhail Kryshen <mikhail@kryshen.net> ;; ;; This file is part of Indyvon. ;; @@ -52,9 +52,10 @@ (:mouse-released _ (repaint)) (:mouse-clicked _ (apply callback args)))) -(defn combine-colors [^Color color1 ^Color color2 c] +(defn combine-colors "Returns color between color1 and color2. When c (0 <= c <= 1.0) is closer to 0 the returned Ñolor is closer to color1." + [^Color color1 ^Color color2 c] (case c 0.0 color1 1.0 color2