-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Milestone
Description
Currently the Acorus user-interface library implements some functionality in DsUtils (using reflection) that should ideally be provided by JmeContext. Specifically:
- return the dimensions of the context's default frame buffer
- return the screen coordinates of the top-left corner of the content area
JME code often uses AppSettings or Camera to obtain the dimensions of the default frame buffer. Unfortunately, these classes cache values which could easily become out-of-date or corrupted. The proposed methods would not cache values; they would invoke LWJGL to obtain authoritative and up-to-date values.
The proposed methods should throw exceptions if invoked on a null context or a headless context.
Ali-RS