changeset 149:79bd47e3120a

Fixed misplaced docstring.
author Mikhail Kryshen <mikhail@kryshen.net>
date Thu, 03 Apr 2014 20:26:35 +0400
parents 613bd4ac1bc0
children 86d0358d38c7
files src/net/kryshen/indyvon/demo.clj
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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