mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 01:40:59 +00:00
You can now register a GWidget subclass with REGISTER_GWIDGET(class) and it will be available for factory construction through the new GWidgetClassRegistration interface. To obtain a GWidgetClassRegistration for a given class name, you call GWidgetClassRegistration::find(class_name). You can also iterate over all the registered classes using GWCR::for_each(callback). This will be very useful for implementing a proper GUI designer, and also in the future for things like script bindings. NOTE: All of the registrations are done in GWidget.cpp at the moment since I ran into trouble with the fricken linker pruning the global constructors this mechanism relies on. :^) |
||
|---|---|---|
| .. | ||
| LibAudio | ||
| LibC | ||
| LibCore | ||
| LibDraw | ||
| LibELF | ||
| LibGUI | ||
| LibHTML | ||
| LibIPC | ||
| LibM | ||
| LibMarkdown | ||
| LibPCIDB | ||
| LibThread | ||
| LibVT | ||