summaryrefslogtreecommitdiff
path: root/cpputools/Package_uno_sh.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-05-07 21:25:14 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2022-05-08 08:27:05 +0200
commite1381521c593620511113e70ebe1b0c52a1f0378 (patch)
treea4869daeb24ea629d4abda651ddd2bd77d2127c3 /cpputools/Package_uno_sh.mk
parent5c50d8f7ee351e7605b382ae5b06ccaa8518747f (diff)
android: Allow setting auto font/bg color
Add a button in the color palette UI (that can be found in the bottom toolbar under "Styles" -> "Font Color"/"Highlight Color" when experimental editing mode is enabled) which allows setting auto color for the font or the highlighting/background. This allows to unset any explicitly set color and use the automatic color. This is equivalent to the "Automatic"/"No fill color" items in the font color and character highlighting color popups in the desktop version. Add a `boolean keepAlpha` param to `sendFont{,Back}ColorChange` to be able to distinguish between "auto color" and white when -1/0xFFFFFFFF is passed as color. See also previous commit Change-Id I2e6512f32e671f92c8d31b2780c350dd74fb0747, "android: Handle auto color as such", for some more context. Change-Id: I05182a2adbc00e64b1925ff52861a51ba8dcc21f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133996 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'cpputools/Package_uno_sh.mk')
0 files changed, 0 insertions, 0 deletions