diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-12 13:24:42 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-08 21:02:34 +0200 |
commit | c8aa91aca12d5f6386c20da1526de390ff523ce7 (patch) | |
tree | e0b6b4f24573e5b3f8b9e528e411dae6a3d38a5c /src/gui/viewport.cpp | |
parent | 14dc8218eeebd1583e6bd3c49013b3e501f47228 (diff) | |
download | mana-c8aa91aca12d5f6386c20da1526de390ff523ce7.tar.gz mana-c8aa91aca12d5f6386c20da1526de390ff523ce7.tar.bz2 mana-c8aa91aca12d5f6386c20da1526de390ff523ce7.tar.xz mana-c8aa91aca12d5f6386c20da1526de390ff523ce7.zip |
Added UI debug drawing
Shows outlines of visible widgets as well as highlighting modal focus,
modal mouse focus and regular focus.
Can currently only be toggled in the Debug window, so needs source code
modification to be used during login sequence for now.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 10c4bc1a..f02d2973 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -607,7 +607,7 @@ void Viewport::updateCursorType() } } -void Viewport::setShowDebugPath(int debugFlags) +void Viewport::setDebugFlags(int debugFlags) { mDebugFlags = debugFlags; if (mMap) |