plasma apps and screen information

Aaron J. Seigo aseigo at kde.org
Mon Oct 20 02:54:30 CEST 2008


hi..

in a few places in libplasma we still assume that we're dealing with physical 
screens. this probably isn't correct, because of the whole "we're not making a 
desktop" thing. ;)

something that occurred to me is that we could probably change the convention 
from talking about "screens" to someting else, like "viewports" or something 
similar.

for the desktop shell, those viewports would be screens, but for other apps 
they might windows or whatever.

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.

so .. thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081019/fa3bc0ab/attachment.sig 


More information about the Plasma-devel mailing list