diff options
author | asynts <asynts@gmail.com> | 2021-01-24 15:28:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-25 09:47:36 +0100 |
commit | eea72b9b5c12b9ffdf80e0990518ce183ac0cf70 (patch) | |
tree | 7bc797f5e86863391e506ae188616356d3b0ec11 /Userland/Applications/HexEditor | |
parent | da69de1f1b04e304772daed5223a380fb13f82d6 (diff) | |
download | serenity-eea72b9b5c12b9ffdf80e0990518ce183ac0cf70.zip |
Everywhere: Hook up remaining debug macros to Debug.h.
Diffstat (limited to 'Userland/Applications/HexEditor')
-rw-r--r-- | Userland/Applications/HexEditor/HexEditor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index fbb7ae0146..a4652866c1 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -25,6 +25,7 @@ */ #include "HexEditor.h" +#include <AK/Debug.h> #include <AK/StringBuilder.h> #include <LibGUI/Action.h> #include <LibGUI/Clipboard.h> @@ -222,7 +223,7 @@ void HexEditor::mousedown_event(GUI::MouseEvent& event) if (offset < 0 || offset >= static_cast<int>(m_buffer.size())) return; -#ifdef HEX_DEBUG +#if HEX_DEBUG outln("HexEditor::mousedown_event(hex): offset={}", offset); #endif @@ -244,7 +245,7 @@ void HexEditor::mousedown_event(GUI::MouseEvent& event) if (offset < 0 || offset >= static_cast<int>(m_buffer.size())) return; -#ifdef HEX_DEBUG +#if HEX_DEBUG outln("HexEditor::mousedown_event(text): offset={}", offset); #endif @@ -344,7 +345,7 @@ void HexEditor::scroll_position_into_view(int position) void HexEditor::keydown_event(GUI::KeyEvent& event) { -#ifdef HEX_DEBUG +#if HEX_DEBUG outln("HexEditor::keydown_event key={}", static_cast<u8>(event.key())); #endif |