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

[OSX] Window can be made smaller than 64x64 pixels #4070

Closed
DorpsGek opened this issue Aug 22, 2010 · 6 comments
Closed

[OSX] Window can be made smaller than 64x64 pixels #4070

DorpsGek opened this issue Aug 22, 2010 · 6 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Rubidium opened the ticket and wrote:

The main window can be made smaller than 64x64 pixels which causes all kinds of Clamp's to have max values that are smaller than min values in window related code.

Reported version: trunk
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/4070
@DorpsGek
Copy link
Member Author

TruePikachu wrote:

(One reason I hate Mac OS - everything is more complicated)
Just saying: If there is a way to manually get and set the window size via code, then you should be able to set the window dimensions to 64 if it is detected to be less than that - I used that trick all the time in Wondows programming


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070#comment8603

@DorpsGek
Copy link
Member Author

Rubidium wrote:

TruePikachu, what an utterly pointless comment are you making here.
You are saying that you need to manually set the window's dimension when it's smaller than 64x64. That is the exact same thing in Mac OS X, so in what way is it more complicated than Windows? Once again it's just a troll!


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070#comment8605

@DorpsGek
Copy link
Member Author

TruePikachu wrote:

Well, I've never done any coding for OSX, as I don't really even care for it. I was just trying to share my point of view.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070#comment8608

@DorpsGek
Copy link
Member Author

matheweis wrote:

TruePikachu, please refrain from discussing your "point of view" if you can't first familiarize yourself with the facts. This particular problem can be fixed with two lines of code.

Rubidium, here's a patch that prevents the OS X window from going to a size smaller than 64x64.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070#comment8633

@DorpsGek
Copy link
Member Author

avd wrote:

Patch works fine here (osx 10.6.4)


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070#comment8637

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r20619


This comment was imported from FlySpray: https://bugs.openttd.org/task/4070

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant