[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ./ChangeLog java/awt/event/InputEvent...

From: Thomas Fitzsimmons
Subject: [commit-cp] classpath ./ChangeLog java/awt/event/InputEvent...
Date: Sun, 11 Sep 2005 23:46:42 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Thomas Fitzsimmons <address@hidden>     05/09/12 03:46:42

Modified files:
        .              : ChangeLog 
        java/awt/event : 
        native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkComponentPeer.c 

Log message:
        2005-09-11  Thomas Fitzsimmons  <address@hidden>
        PR swing/22922
        * java/awt/event/ (modifiersEx): New field.
        (InputEvent): Assume modifiers parameter contains both new- and
        old-style masks.
        (isShiftDown): Check modifiers for old-style shift mask and
        modifiersEx for new-style shift mask.
        (isControlDown): Likewise for control mask.
        (isMetaDown): Likewise for meta mask.
        (isAltDown): Likewise for alt mask.
        (isAltGraphDown): Likewise for alt-graph mask.
        (getModifiers): Return value of modifiers field.
        (getModifiersEx): Return value of modifiersEx field.
        * java/awt/event/
        Clear button new-style mask for mouse released events.
        (paramString): Remove old-style modifier handling.
        (readObject): Extend modifiers and assign to modifiersEx.
        * java/awt/event/ (readObject): Extend modifiers and
        assign to modifiersEx.
        * native/jni/gtk-peer/gtkpeer.h: Define macros for new-style mouse
        masks.  Define macros for old-style key masks.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
        Remove macros for old-style key masks.
        (button_to_awt_mods): Always return bitwise OR of new- and
        old-style modifiers.
        (cp_gtk_state_to_awt_mods): Likewise.
        (state_to_awt_mods_with_button_states): Likewise.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (keyevent_state_to_awt_mods): Likewise.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]