view src/indyvon/component.clj @ 0:43e3358ca4d9

Initial.
author Mikhail Kryshen <mikhail@kryshen.net>
date Sun, 06 Jun 2010 06:03:38 +0400
parents
children 0771180bf7c2
line source
1 ;; (ns indyvon.component
2 ;; (:use indyvon.layer)
3 ;; (:import (java.awt Graphics Graphics2D))
4 ;; (:gen-class
5 ;; :name indyvon.Component
6 ;; :extends java.awt.Component
7 ;; :constructor {[Layer] []}
8 ;; :state layer
9 ;; :init init-state))
11 ;; (defn- init-state [layer]
12 ;; [[] layer])
14 ;; (defn -paint [this graphics])
16 ;; (defn -update [this graphics]
17 ;; (-paint this graphics))