mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:37:42 +00:00

This patch replaces the bespoke rendering engine in Presenter with a simple pipeline that turns presentations into single-page HTML files. The HTML is then loaded into an OutOfProcessWebView. This achieves a number of things, most importantly: - Access to all the CSS features supported by LibWeb - Sandboxed, multi-process rendering The code could be simplified a lot further, but I wanted to get the new architecture in place without changing anything about the file format.
17 lines
375 B
CMake
17 lines
375 B
CMake
serenity_component(
|
|
Presenter
|
|
RECOMMENDED
|
|
TARGETS Presenter
|
|
DEPENDS FileSystemAccessServer
|
|
)
|
|
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
Presentation.cpp
|
|
PresenterWidget.cpp
|
|
Slide.cpp
|
|
SlideObject.cpp
|
|
)
|
|
serenity_app(Presenter ICON app-display-settings)
|
|
target_link_libraries(Presenter PRIVATE LibWebView LibGUI LibGfx LibFileSystemAccessClient LibCore LibMain)
|