ladybird/Meta/Lagom/Contrib/MacPDF
Nico Weber 409eb644c8 MacPDF: Unbreak persisting the current page
I broke this when moving from a xib file to creating the UI in code.

https://developer.apple.com/documentation/appkit/nsuserinterfaceitemidentification/1396829-identifier
says:

"Identifiers are used during window restoration operations to uniquely
identify the windows of the application. [...] If you create an item in
Interface Builder and do not set a value for this string, a unique value
is created for the item when the nib file is loaded. For
programmatically created views, you typically set this value after
creating the item but before adding it to a window."

Without this, encodeRestorableStateWithCoder: / restoreStateWithCoder:
in MacPDFView weren't getting called.
2023-10-10 09:50:28 -04:00
..
AppDelegate.h MacPDF: Use Serenity license headers, remove Xcode boilerplate 2023-09-30 08:08:11 +02:00
AppDelegate.mm MacPDF: Don't hardcode my serenity directory 2023-09-30 08:08:11 +02:00
CMakeLists.txt MacPDF: Add an NSOutlineViewDataSource for the PDF outline 2023-10-10 09:50:08 -04:00
CocoaWrapper.h MacPDF: Introduce CocoaWrapper.h 2023-10-07 09:47:43 +02:00
Info.plist MacPDF: Rename LagomPDFDocument to MacPDFDocument 2023-09-30 19:37:26 -06:00
MacPDFDocument.h MacPDF: Start moving window-related things into MacPDFWindowController 2023-10-07 09:47:43 +02:00
MacPDFDocument.mm MacPDF: Create window UI in code instead of in xib 2023-10-07 09:47:43 +02:00
MacPDFOutlineViewDataSource.h MacPF: Add a small group header in front of the outline 2023-10-10 09:50:08 -04:00
MacPDFOutlineViewDataSource.mm MacPF: Add a small group header in front of the outline 2023-10-10 09:50:08 -04:00
MacPDFView.h MacPDF: Introduce CocoaWrapper.h 2023-10-07 09:47:43 +02:00
MacPDFView.mm MacPDF: Give sidebar the more modern look 2023-10-07 09:47:43 +02:00
MacPDFWindowController.h MacPDF: Make clicking outline items have an effect 2023-10-10 09:50:08 -04:00
MacPDFWindowController.mm MacPDF: Unbreak persisting the current page 2023-10-10 09:50:28 -04:00
main.mm MacPDF: Use Serenity license headers, remove Xcode boilerplate 2023-09-30 08:08:11 +02:00
MainMenu.xib MacPDF: Use "MacPDF" in MainMenu.xib 2023-09-30 19:37:39 -06:00