thismarvin / relatus

morro but better
MIT License
1 stars 0 forks source link

Fate of the WindowManager #39

Open thismarvin opened 3 years ago

thismarvin commented 3 years ago

Recent changes have essentially made the WindowManager obsolete. The new direction of the Sketchbook/Sketch API conflicts with the original "one resolution will work everywhere" philosophy that the WindowManager was designed for.

I think the shift to the new Sketchbook philosophy is for the best, however we need to figure out where the WindowManager stands after the Sketchbook API is fleshed out.

thismarvin commented 3 years ago

There needs to be some sort of API that is given a constraint and maybe like a target dimension / region / aspect ratio and can ultimately maximize the region in said constraint. The result would include the final dimensions, some boxing values, and maybe something else?