This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

newbie android question


hello,

my first try (i'm really new to android and scheme):

(require 'android-defs)

(define-simple-class renderer (android.opengl.GLSurfaceView$Renderer)
  ((on-surface-created gl config) ())
  ((on-draw-frame gl) ())
  ((on-surface-changed gl width height) ()))

(activity hello
  (on-create-view
    (android.opengl.GLSurfaceView (this)
      renderer: (renderer))))

it works, but is it "android.opengl.GLSurfaceView$Renderer" correct way
how to declare interface implementation (i mean $ character)?
thanks

L.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]