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

display positions #1

Closed
antimodular opened this issue Nov 5, 2015 · 3 comments
Closed

display positions #1

antimodular opened this issue Nov 5, 2015 · 3 comments

Comments

@antimodular
Copy link

nice addon. looks very promising.

i am trying to figure out how to make it remember and arrange also the position of each display in the case when the displays are not just horizontally aligned.
any tips?
thanks.

@motoishmz
Copy link
Owner

Hey thanks for your comment. For the quick answer, you can put the position of each display manually by editing around here: https://github.com/motoishmz/ofxDisplayLayout/blob/master/src/ofxDisplayLayout.mm#L251

The size of vector<Display> displays should be the number of displays you connect to your MacOS - if you use not MacPro but MacBook, don't forget counting the built-in display. The position of the primary display should be ofPoint::zero(), and you can put the position of non-primary displays manually.

It's nice if the position of each display could be loaded from Json or something, but I don't have the example like that.

Thanks!

@antimodular
Copy link
Author

thanks.
i figured most of it out and posted a pull request to your branch

@motoishmz
Copy link
Owner

Cool, thanks. I didn't receive any PR from you, could you send me a PR again? antimodular@8ba2dcb

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

No branches or pull requests

1 participant