16
Window / HUD interface
« on: July 30, 2010, 05:24:38 pm »
I've posted here a few times and every single time (that I can recall), my problems have been related to zooming.
Surprise, surprise, no surprise here. I've finally had quite a bit of success with the zoom function, but now I need to know how to disable it on part of the screen.
I've created a function so that the mouse's global (as opposed to view) coordinates are displayed on the top-right corner of the screen, however, whenever I zoom in or out, the text itself is also resized. Is there a way to prevent this? I know there's the SetSize() function which I can use to adjust the font's size with every zoom, but is there a way of fixing the size relative to the size of the window, instead of the view?
Surprise, surprise, no surprise here. I've finally had quite a bit of success with the zoom function, but now I need to know how to disable it on part of the screen.
I've created a function so that the mouse's global (as opposed to view) coordinates are displayed on the top-right corner of the screen, however, whenever I zoom in or out, the text itself is also resized. Is there a way to prevent this? I know there's the SetSize() function which I can use to adjust the font's size with every zoom, but is there a way of fixing the size relative to the size of the window, instead of the view?