Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize views in front end code #54

Merged
merged 2 commits into from
Oct 28, 2023
Merged

Conversation

sdilts
Copy link
Collaborator

@sdilts sdilts commented Oct 28, 2023

This allows us to place the views where we need them instead of having them get placed first, then moved.

  • Add the required callback functions
  • Add some wrapper functions so we don't need the lisp code to know about various wlroots functions and structs.

Split view initialization into two steps; we can't initialize the
scene tree until we know where the node is going to be initially
placed, but the backend code doesn't know how to do that.

Also add additional functions that allow a view's size and location to
be set.
Add view callbacks and use them to initialize views in the lisp code.

The view lists added to the state object might not stick around and
were added for illustrative purposes
@sdilts sdilts force-pushed the feat/init-view-in-frontend branch from e983b4b to 55aa87c Compare October 28, 2023 18:50
@sdilts sdilts merged commit 7f878c0 into master Oct 28, 2023
1 check passed
@sdilts sdilts deleted the feat/init-view-in-frontend branch October 28, 2023 19:02
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