VisualBuilder: Support loading a saved form from JSON.

The form to load is specified on the command line, e.g "vb test.frm".
This commit is contained in:
Andreas Kling 2019-06-29 12:06:46 +02:00
commit b729b5fc64
Notes: sideshowbarker 2024-07-19 13:27:01 +09:00
5 changed files with 72 additions and 17 deletions

View file

@ -20,3 +20,6 @@ public:
static GWidget* build_gwidget(VBWidget&, VBWidgetType, GWidget* parent, Vector<OwnPtr<VBProperty>>&);
};
String to_class_name(VBWidgetType);
VBWidgetType widget_type_from_class_name(const StringView&);