mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
HackStudio: Add placeholder code to test widget factory construction
We now use the magical widget registry to factory-construct widgets and place them into the form. This will need all kinds of work, but it's nice that the mechanism is working as intended.
This commit is contained in:
parent
2da058c7f2
commit
f92e0f7d80
Notes:
sideshowbarker
2024-07-19 11:17:15 +09:00
Author: https://github.com/awesomekling
Commit: f92e0f7d80
2 changed files with 7 additions and 2 deletions
|
@ -9,6 +9,9 @@ class FormEditorWidget final : public GScrollableWidget {
|
|||
public:
|
||||
virtual ~FormEditorWidget() override;
|
||||
|
||||
FormWidget& form_widget() { return *m_form_widget; }
|
||||
const FormWidget& form_widget() const { return *m_form_widget; }
|
||||
|
||||
private:
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue