1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 01:40:59 +00:00
serenity/Libraries
Andreas Kling ca538b6cee LibGUI: Add a simple GWidget class registry/factory
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. :^)
2019-11-10 12:57:37 +01:00
..
LibAudio SoundPlayer: Changed some small cosmetic things 2019-11-05 19:50:11 +01:00
LibC LibC: Fix wrong syscall identifier for shm_unlink() 2019-11-09 22:42:54 +01:00
LibCore LibCore: Rename class Gzip -> CGZip 2019-11-10 12:52:23 +01:00
LibDraw POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibELF LibELF: Move AK/ELF/ into Libraries/LibELF/ 2019-11-06 13:42:38 +01:00
LibGUI LibGUI: Add a simple GWidget class registry/factory 2019-11-10 12:57:37 +01:00
LibHTML LibHTML: Paint a magenta rectangle around the currently inspected node 2019-11-09 11:58:50 +01:00
LibIPC POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibM LibM: Add back ampsin() since it was still used by tan() 2019-11-03 09:59:44 +01:00
LibMarkdown LibMarkdown: Include a <head> element when rendering MD to HTML 2019-10-30 20:28:44 +01:00
LibPCIDB POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibThread POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibVT LibVT: Make inject_string() a public API so clients can use it 2019-10-22 22:14:36 +02:00