mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
HackStudio: Move bulk of GUI logic into HackStudioWidget
Previously, the GUI logic of HackStudio was all stuffed into main(), and it started getting a bit out of hand :)
This commit is contained in:
parent
606c0e1672
commit
e3e5e57fde
Notes:
sideshowbarker
2024-07-19 02:19:44 +09:00
Author: https://github.com/itamar8910
Commit: e3e5e57fde
Pull-request: https://github.com/SerenityOS/serenity/pull/3559
Reviewed-by: https://github.com/awesomekling
11 changed files with 1165 additions and 775 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/TextBox.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
|
||||
namespace HackStudio {
|
||||
|
@ -33,7 +35,7 @@ namespace HackStudio {
|
|||
class FindInFilesWidget final : public GUI::Widget {
|
||||
C_OBJECT(FindInFilesWidget)
|
||||
public:
|
||||
virtual ~FindInFilesWidget() override { }
|
||||
virtual ~FindInFilesWidget() override {}
|
||||
|
||||
void focus_textbox_and_select_all();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue