- reaktor_notify: a tray balloon on Windows (shown as a toast), a freedesktop Notify call over D-Bus on Linux and the BSDs, UNUserNotificationCenter on macOS, the browser's Notification on the web. REAKTOR_NOTIFY switches it off. - reaktor_print and reaktor_print_pdf: pages the app lays out are drawn as on screen in a hidden window at print resolution, written to a PDF through libHaru (new submodule, zlib/libpng) with plutovg's JPEG writer, and printed through the Windows print dialog, macOS's PDFKit print dialog, or the user's PDF viewer on Linux and the BSDs. REAKTOR_PRINT switches it off. - Extra windows honor .window.hidden. Notepad gets Print (Ctrl+P) and Export as PDF; the showcase sends a notification; launchtest gains print-pdf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
256 B
C
16 lines
256 B
C
#include "internal.h"
|
|
|
|
int
|
|
reaktor_print(App *app, const reaktor_print_spec *s)
|
|
{
|
|
(void)app; (void)s;
|
|
return 0;
|
|
}
|
|
|
|
int
|
|
reaktor_print_pdf(App *app, const char *path, const reaktor_print_spec *s)
|
|
{
|
|
(void)app; (void)path; (void)s;
|
|
return 0;
|
|
}
|