[cl-opengl-devel] Patch for 2d mipmap generation and more mouse buttons

Charlie McMackin charliemac+cl-opengl at gmail.com
Sun Feb 10 23:19:14 UTC 2008


 I can't speak for the 2D texture section of your patch but none of
the new enums in callbacks work for me.

> hunk ./glut/callbacks.lisp 183
> -  :right-button)
> +  :right-button
> +  :wheel-up
> +  :wheel-down
> +  :button4
> +  :button5
> +  :button6
> +  :button7)
> }

I tested with code like:

(defmethod glut:mouse ((w gl-window) button state x y)
  (declare (ignore x y))
  (format t "~&Button value is ~a ~%Pressed value is ~a~%" button state))
(defmethod glut:mouse-wheel ((w gl-window) button pressed x y)
  (declare (ignore x y))
  (format t "~&Button value is ~a ~%Pressed value is ~a~%" button pressed))



More information about the cl-opengl-devel mailing list