2008/10/19 Aaron J. Seigo <[EMAIL PROTECTED]>: > hi.. > > to get access to viewport information (size, etc) a method could be added to > Corona that applications could subclass to return actual and available size > information for a given viewport. > > i considered putting this in View instead, but that ends up breaking the > scene/view split fairly badly as Containments would then be asking for "their > view" all the time, and that obviously doesn't make sense. >
I guess the corona would be the best place. I think if we have a method to retrieve the number of viewports and a method to retrieve the geometry of a particular viewport, we could get rid of direct QDesktopWidget calls, which would be cool! g _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel