Quote:
Originally Posted by Crow
It's possible they are the same thing, but I've been using GraalControl.width ever since we got it. Maybe screenwidth returns the width of the Graal window (GraalControl possibly being smaller). Not sure about that though.
|
GraalControl.width/height usually refer to the size of the Graal window
unless you have changed the width/height of the GraalControl so that you can draw something outside of the GraalControl but still in the main Graal window (by adding child controls to
GUIContainer), i.e. a chat box at the bottom of the screen that doesn't overlay on the level viewport.