Fleury's picture

Minimum Window Size

Project:The Open Toolkit library
Version:1.0-2010-10-06
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:open
Description

Windows, Linux, and Mac OS X all have APIs for setting the minimum size for a window, but I can't find any functions in GameWindow to accomplish that. The best solution I've been able to find is resizing the window on OnRender if the window's client size is below some specified size, but even this solution feels sketchy on all three operating systems.