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

[Lua debugging] Pass design-size & device-size to debug target. #539

Closed
halx99 opened this issue May 22, 2019 · 2 comments
Closed

[Lua debugging] Pass design-size & device-size to debug target. #539

halx99 opened this issue May 22, 2019 · 2 comments

Comments

@halx99
Copy link
Member

halx99 commented May 22, 2019

No description provided.

@halx99 halx99 added this to the 10.0.5900.91 milestone May 22, 2019
@halx99 halx99 changed the title Pass design-size & device-size debugging program [Lua debugging] Pass design-size & device-size to debug target. May 22, 2019
@halx99
Copy link
Member Author

halx99 commented May 22, 2019

--design-size=720x1280 --device-size=640x960 --orientation=landscape or --orientation=portrait

@halx99 halx99 closed this as completed May 22, 2019
@halx99
Copy link
Member Author

halx99 commented May 22, 2019

std::string_view value;
for (int i = 0; i < argc; ++i) {
    const size_t len = sizeof("--design-size=") - 1;
    if (strnicmp(argv[i], "--design-size=", len ) == 0) {
          value = argv[i] + len;
    }
}

@halx99 halx99 added the licensed label Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant