[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    plasma apps and screen information
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-10-20 0:54:30
Message-ID: 200810191854.33773.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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


["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic