]> git.eshelyaron.com Git - emacs.git/commit
Port visible bell to Android
authorPo Lu <luangruo@yahoo.com>
Thu, 2 May 2024 03:31:37 +0000 (11:31 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:32:03 +0000 (18:32 +0200)
commitfae54e4524a52c12ad0349108adbaacbb19a834c
treeff300dcd2188c85d858eec2d1a63b0de1936df59
parent57e649cc7bd31fd5b885001ac33807c1a71ea322
Port visible bell to Android

* java/org/gnu/emacs/EmacsDrawRectangle.java (perform): Ignore
GC_INVERT.

* java/org/gnu/emacs/EmacsFillRectangle.java
(EmacsFillRectangle) <invertFilter>: New variable.
(perform): If the transfer mode is invert, copy the source
to itself with invertFilter as the color filter.

* java/org/gnu/emacs/EmacsGC.java (EmacsGC) <xorAlu, srcInAlu>:
Delete now-redundant ALUs.
(markDirty): Cease updating the paint's transfermode.

* java/org/gnu/emacs/EmacsSafThread.java (openDocument1): Fix
typo in documentation.

* src/android.c (android_blit_xor): Delete unused function.
(android_copy_area): Remove calls to unused blit functions.

* src/androidgui.h (enum android_gc_function): Rename XOR to
INVERT.

* src/androidterm.c (android_flash): Replace with GXinvert.

(cherry picked from commit b84fa71f8985284560bacda7d407e3559583844f)
java/org/gnu/emacs/EmacsDrawRectangle.java
java/org/gnu/emacs/EmacsFillRectangle.java
java/org/gnu/emacs/EmacsGC.java
java/org/gnu/emacs/EmacsSafThread.java
src/android.c
src/androidgui.h
src/androidterm.c