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

Feature Request: --scale command line option #8

Open
unwiredben opened this issue Sep 14, 2015 · 0 comments
Open

Feature Request: --scale command line option #8

unwiredben opened this issue Sep 14, 2015 · 0 comments

Comments

@unwiredben
Copy link

Since the Pebble screen is so small, the emulator is often hard to view on high DPI displays. Looking at the qemu source, SDL supports scaling up the display area in response to keypresses and window resize events, but there's no way to pre-fill this scaling value on the command line.

ui/sdl.c provides a sdl_scale function to set the scaling factor. I'd propose adding a hook at SDL window creation time that would read a value provided by a --scale command line parameter and use that to pre-scale the window. This would also need to be pushed into the pebble tool to have it support passing that parameter through to qemu when it starts it.

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