mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
HexEditor: Port HexEditor to GML compilation
This commit is contained in:
parent
bcec05a7cb
commit
935aaab757
15 changed files with 147 additions and 51 deletions
|
@ -37,7 +37,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->restore_size_and_position("HexEditor"sv, "Window"sv, { { 640, 400 } });
|
||||
window->save_size_and_position_on_close("HexEditor"sv, "Window"sv);
|
||||
|
||||
auto hex_editor_widget = window->set_main_widget<HexEditorWidget>();
|
||||
auto hex_editor_widget = TRY(HexEditor::HexEditorWidget::create());
|
||||
window->set_main_widget(hex_editor_widget);
|
||||
|
||||
window->on_close_request = [&]() -> GUI::Window::CloseRequestDecision {
|
||||
if (hex_editor_widget->request_close())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue