1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

LibGUI: Add GUI_HOVER_DEBUG runtime debugging flag (environment)

You can now see the outline of GUI widgets when hovering them.
For example:

    $ export GUI_HOVER_DEBUG=1
    $ FileManager

Then move the mouse around in the file manager. :^)
This commit is contained in:
Andreas Kling 2021-07-28 00:58:01 +02:00
parent 3d4f93cf8d
commit b3d27c2340
5 changed files with 16 additions and 0 deletions

View file

@ -200,6 +200,8 @@ set(WSSCREEN_DEBUG ON)
# set(DT_DEBUG ON)
# False positive: GUI_DND_DEBUG is a flag, but passed as an envvar.
# set(GUI_DND_DEBUG ON)
# False positive: GUI_HOVER_DEBUG is a flag, but passed as an envvar.
# set(GUI_HOVER_DEBUG ON)
# False positive: GUI_FOCUS_DEBUG is a flag, but passed as an envvar.
# set(GUI_FOCUS_DEBUG ON)
# False positive: LOG_DEBUG is a flag, but for a bitset, not a feature.