diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2025-03-07 17:15:06 -0700 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2025-03-11 06:40:33 +0100 |
commit | dcfc32914fe1d5239f9cbcb46a286f1a2e2d437e (patch) | |
tree | ed7671e3f4ea1c9dc813928b51e667a62a4901f5 /extensions/source/macosx/common/OOoSpotlightAndQuickLookImporter.h | |
parent | 46159476c32c64e2f63d0e1a7ae77deca48b5920 (diff) |
UNO commands may optionally rotate or mirror their icons depending on
context (usually based on writing direction). This approach is an easy
way to provide large numbers of such context-sensitive icons, but
suffers from serious drawbacks in certain cases. For example, icons
which contain asymmetrical symbols or text will be obviously mirrored,
and icon themes which use shading will appear inconsistent next to
non-transformed icons from the same theme.
This code change lets icon themes provide specialized graphics for the
left-right-top-bottom text direction. Such specializations are available
for any command which specifies COMMAND_PROPERTY_MIRROR.
Direction-specialized versions should be placed in the `cmd/rltb`
directory within the icon theme.
Localized specializations may also be nested inside that directory. For
example, icons in `cmd/rltb/en` will be used for English in RTL context.
Change-Id: Ic7a8cf3a6657a171e92123413d1c47e621f1bddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182761
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'extensions/source/macosx/common/OOoSpotlightAndQuickLookImporter.h')
0 files changed, 0 insertions, 0 deletions