CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Mark Wielaard <[EMAIL PROTECTED]> 06/03/18 20:14:55
Modified files: . : ChangeLog java/awt : Component.java gnu/java/awt/peer/gtk: GtkComponentPeer.java native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkComponentPeer.c Log message: * java/awt/Component.java (eventTypeEnabled): Handle MouseEvent.MOUSE_WHEEL. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent): New callback method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (AWT_MOUSE_WHEEL): New constant. (AWT_WHEEL_UNIT_SCROLL): Likewise. (postMouseWheelEventID): New static variable. (cp_gtk_component_init_jni): Record postMouseWheelEventID. (cp_gtk_component_connect_mouse_signals): Connect scroll-event. (button_number): Renamed to ... (button_number_direction): variable to hold button number or scroll direction. (component_button_press_cb): Use button_number_direction. (component_scroll_cb): New static callback function. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6801&tr2=1.6802&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/awt/Component.java.diff?tr1=1.106&tr2=1.107&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java.diff?tr1=1.109&tr2=1.110&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c.diff?tr1=1.58&tr2=1.59&r1=text&r2=text