Skip to content

Update to NAP 0.8 - #13

Open
CasimirGeelhoed wants to merge 704 commits into
mainfrom
update-to-nap-0.8
Open

Update to NAP 0.8#13
CasimirGeelhoed wants to merge 704 commits into
mainfrom
update-to-nap-0.8

Conversation

@CasimirGeelhoed

@CasimirGeelhoed CasimirGeelhoed commented Jun 15, 2026

Copy link
Copy Markdown
Member

This PR updates NAP from stijnvanbeek/nap:nap-0.8.

The following additional changes were made:


  • To keep our fine-grained definitions of GUI colours, I re-added imguistylesettings.h & imguistylesettings.cpp and included these custom ‘StyleSettings’ as a property of the ImGUIServiceConfiguration. createStyle() was rewritten to apply these settings.

  • To preserve the 4DSOUND icon (as set in Info.plist), I commented out a few lines of code in renderservice.cpp which set the window icon to “naprender/data/nap_icon.png” (hardcoded).

  • The -E option to add a MacOS Entitlements file was added to package_app.sh.

  • package_4dsound.sh was rewritten to work with the new package_app.sh script.

I wonder if we should try to keep the 4DSOUND version of system modules in sync with the upstream repo. I could do that by creating separate napimgui and naprender modules for 4DSOUND, or by pushing changes back (adding ServiceConfiguration options for more fine-grained colour overrides and for enabling/disabling/setting the 'window icon' with a custom path).

cklosters and others added 30 commits August 28, 2025 15:22
…ensures applicaiton works with relevant, active information, including new attached displays etc.
… reporting when sdl video subsystem fails to initialize
…can happen when multiple nap applications are sourced alongside each other in the same host environment
@CasimirGeelhoed CasimirGeelhoed changed the title Update to nap 0.8 Update to NAP 0.8 Jun 15, 2026
@CasimirGeelhoed

CasimirGeelhoed commented Jun 24, 2026

Copy link
Copy Markdown
Member Author

I reimplemented our style settings as a StyleDef in app_structure.json instead of as an additional custom property of ImGUIServiceConfiguration, which means that the napimgui module is (almost) identical again to its upstream counterpart (the only difference now is 3f69131).

In naprender, I created a new SetWindowIcon property in RenderServiceConfiguration to be able to disable the default NAP icon. I will include this change in a PR to upstream/nap-0.8.

@CasimirGeelhoed
CasimirGeelhoed marked this pull request as ready for review June 24, 2026 15:26
@CasimirGeelhoed

Copy link
Copy Markdown
Member Author

Now also includes a fix for the crash that occurs when resizing the app window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants