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

Introduce option to control size and position of grill #23

Open
SmedleyB opened this issue Nov 2, 2022 · 4 comments
Open

Introduce option to control size and position of grill #23

SmedleyB opened this issue Nov 2, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@SmedleyB
Copy link

SmedleyB commented Nov 2, 2022

Currently the backglass and grill are controlled as a single unit within screenres.txt. It would be nice if size and position of the grill could be controlled independently so that proper aspect ratio could be maintained for both backglass and grill images on a user's display.

@JockeJarre
Copy link
Collaborator

The idea is to replace the (but still allow) screenres.txt with some kind of xml format, which would allow more structured configuration per part of the backglass. What do you think, how should that work?

@SmedleyB
Copy link
Author

SmedleyB commented Nov 5, 2022

I think that would be nice and easy to use. I have no problems with creating a custom screenres definition for each table, but having the labeling of each setting that xml would allow for will be nice. Having a starting x/y position for the grill that's relative to the top left of the backglass would be nice and allow users to dial in a realistic aspect ratio if their screens allow for it.

@JockeJarre
Copy link
Collaborator

JockeJarre commented Nov 5, 2022

this is something I sketched a couple of months ago.

<?xml version="1.0" encoding="utf-8" standalone="yes"?> <ScreenRes> <Playfield xsize="800" ysize="600"/> <Backglass xpos="0" ypos="0" xsize="800" ysize="600" monitor="1" /> <DMD xpos="700" ypos="300" xsize="600" ysize="130" flipy="0" /> <Background xpos="0" ypos="0" xsize="800" ysize="600" path="C:\...\bild.png" /> </ScreenRes>

it looks better here though

@SmedleyB
Copy link
Author

SmedleyB commented Nov 6, 2022

Looks like that will get the job done. I might be in the minority of users, but I prefer to not to worry about assigning monitor numbers and instead just define everything across all available pixels on however many monitors are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants