1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

HackStudio: GUI support for setting breakpoints on source code lines

This commit is contained in:
Itamar 2020-04-24 23:48:25 +03:00 committed by Andreas Kling
parent 009b4ea3f4
commit 393560d8a2
7 changed files with 135 additions and 6 deletions

View file

@ -26,6 +26,9 @@
#pragma once
#include "BreakpointCallback.h"
#include <AK/Function.h>
#include <AK/Vector.h>
#include <LibGUI/Widget.h>
#include <string.h>
@ -40,11 +43,12 @@ public:
const Editor& editor() const { return *m_editor; }
GUI::Label& filename_label() { return *m_filename_label; }
const GUI::Label& filename_label() const { return *m_filename_label; }
void set_editor_has_focus(Badge<Editor>, bool);
private:
explicit EditorWrapper();
explicit EditorWrapper(BreakpointChangeCallback);
RefPtr<GUI::Label> m_filename_label;
RefPtr<GUI::Label> m_cursor_label;