diff options
| author | Po Lu | 2024-05-02 11:31:37 +0800 |
|---|---|---|
| committer | Po Lu | 2024-05-02 11:31:37 +0800 |
| commit | b84fa71f8985284560bacda7d407e3559583844f (patch) | |
| tree | d7ed4518760fe51795dce384bc9dfa0b4ed32faf /src/androidgui.h | |
| parent | d3e95fcae9078a0ea8fcb15a4aee417e6e546ee5 (diff) | |
| download | emacs-b84fa71f8985284560bacda7d407e3559583844f.tar.gz emacs-b84fa71f8985284560bacda7d407e3559583844f.zip | |
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.
Diffstat (limited to 'src/androidgui.h')
| -rw-r--r-- | src/androidgui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/androidgui.h b/src/androidgui.h index 5e4f6ec3989..3b3e08ca024 100644 --- a/src/androidgui.h +++ b/src/androidgui.h | |||
| @@ -56,7 +56,7 @@ struct android_point | |||
| 56 | enum android_gc_function | 56 | enum android_gc_function |
| 57 | { | 57 | { |
| 58 | ANDROID_GC_COPY = 0, | 58 | ANDROID_GC_COPY = 0, |
| 59 | ANDROID_GC_XOR = 1, | 59 | ANDROID_GC_INVERT = 1, |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | enum android_gc_value_mask | 62 | enum android_gc_value_mask |