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

GLText haligh, valign is broken on windows #10

Open
baerwin opened this issue Sep 15, 2012 · 2 comments
Open

GLText haligh, valign is broken on windows #10

baerwin opened this issue Sep 15, 2012 · 2 comments
Labels

Comments

@baerwin
Copy link
Contributor

baerwin commented Sep 15, 2012

Centering or aligning a GLText scene object to the lower or right corners of a glut window does not work correctly. I'm guessing that somehow an incorrect width/height value is getting returned to the centering algorithm.

@baerwin baerwin closed this as completed Sep 15, 2012
@baerwin baerwin reopened this Sep 15, 2012
@baerwin
Copy link
Contributor Author

baerwin commented Sep 15, 2012

So, it looks like the glut window height and width come from Scene.m:
244 int width = glutGet(GLUT_WINDOW_WIDTH);
245 int height = glutGet(GLUT_WINDOW_HEIGHT);
I wonder if the values there are correct?

@karcaw
Copy link
Member

karcaw commented Nov 10, 2012

can you run glscreentest and tell me if there are 9 numbers visible in the center screen?

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

No branches or pull requests

2 participants