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

[Request] To set program window position on monitor screen when program start. #331

Open
ambaca opened this issue Mar 18, 2023 · 0 comments · May be fixed by #332
Open

[Request] To set program window position on monitor screen when program start. #331

ambaca opened this issue Mar 18, 2023 · 0 comments · May be fixed by #332

Comments

@ambaca
Copy link

ambaca commented Mar 18, 2023

Request. Function or global variables, to able to set custom location for program window into background, when program start.

  • For now this can be done manually, editing olcPixelGameEngine.h file
    Line 1999
    if (platform->CreateWindowPane({ 30,30 }, vWindowSize, bFullScreen) != olc::OK) return olc::FAIL;

Line 6138

if (platform->CreateWindowPane({ 30,30 }, vWindowSize, bFullScreen) != olc::OK) return olc::FAIL;

Discord chat:
https://discord.com/channels/380484403458998276/486237126308921344/1086662155635535972

matt-hayward added a commit that referenced this issue Mar 19, 2023
- Add new vScreenPosition parameter to Start method
- Use {30, 30} as default value to maintain api compatibility and current default behaviour
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 a pull request may close this issue.

1 participant