Documentation: bundled libdecor symbols are pefixed by "fl_"

This commit is contained in:
ManoloFLTK 2024-04-27 07:27:57 +02:00
parent eeed395246
commit e4f18c6e3c
2 changed files with 7 additions and 4 deletions

View File

@ -160,8 +160,8 @@ the app had the focus.
* Narrow windows with a titlebar are silently forced to be wide enough
for the titlebar to display window buttons and a few letters of the title.
* Text input methods have been tested without any understanding of the writing systems,
so feedback on this subject would be helpful.
* Text input methods are known to work well for Chinese and Japanese.
Feedback for other writing systems would be helpful.
* Using OpenGL inside Wayland windows doesn't seem to work on RaspberryPi hardware,
although it works inside X11 windows on the same hardware.

View File

@ -1111,9 +1111,12 @@ Desktop. As of late 2023, libdecor contains two titlebar-drawing plugins:
On recent Linux distributions, FLTK uses the system \c libdecor shared library
available via packages \c libdecor-0-dev and \c libdecor-0-plugin-1-gtk.
On earlier Linux versions, or if CMake option \c FLTK_USE_SYSTEM_LIBDECOR is set
to OFF, FLTK bundles the most recent source code of \c libdecor and its plugins. This code
is included in libfltk. FLTK uses \c libdecor-gtk when software package \c libgtk-3-dev
to OFF, FLTK bundles the most recent source code of \c libdecor and its plugins.
The libdecor code bundled inside FLTK is compiled and put in libfltk.
FLTK uses \c libdecor-gtk when software package \c libgtk-3-dev
is present in the build system, and \c libdecor-cairo otherwise.
FLTK prefixes all symbols of its bundled libdecor with "fl_". This allows an FLTK client app
to link to other libraries which may use the system version of libdecor.
\c Libdecor uses the Wayland protocol
<a href=https://wayland.app/protocols/xdg-decoration-unstable-v1>XDG decoration</a>