Skip to content

Add possibility for Library window backend to support multiple windows - #737

Open
janadamec1 wants to merge 1 commit into
masterfrom
librarybackend-multi-window
Open

janadamec1 wants to merge 1 commit into
masterfrom
librarybackend-multi-window

Conversation

@janadamec1

Copy link
Copy Markdown
Member

I am extending the castle-library-model-viewer to support multiple opened windows (contexts), so I needed TCastleApplication.MultipleWindowsPossible to return true for this case.

However I think the same backend (castlewindow_library) is used for iOS and Android apps, so just changing the return value was not suitable. So I just added a special function that may set the return value.

It is successfully used in qt_library_tester project that opens multiple scenes side by side, freely, in MDI windows. In GIT branch multi-window at the moment, until this PR is merged here.

qt_library_tester_multi_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.

1 participant