2008/10/19 Aaron J. Seigo <[EMAIL PROTECTED]>:
> 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.

Aaron if you want I can start hacking on that. I would add two methods
to Corona:
int numViewports()
QRect viewportGeometry(int)

I would then implement them in terms of Kephal in DesktopCorona,
MidCorona and SaverCorona. The code would be the same in those three
places, but that's really trivial code, like:
int DesktopCorona::numViewports()
{
  return Kephal::ScreenUtils::numScreens();
}

Just tell me if you want me to go ahead.
g
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to