[PATCH] On Screen Display
js at camaya.de
Thu Jan 30 12:54:47 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Thursday 30 January 2003 10:55, Aaron J. Seigo wrote:
> instead of defining your own alignment enum (which some KDE classes do,
> unfortunately), could you instead use the Qt::AlignmentFlags?
> KOSD needs a private d pointer. and a more descriptive name.
What is the use of such a pointer?
> once people know what "On Screen Display" means, i think they'll get it;
> but when it's simply heard or read i just know the first reaction of many
> will be "but everything displays on screen, doesn't it?" ;-) is there a
> better name that could be presented to the users? Heads Up Display? heh...
I agree that On Screen Display is not the most descriptive name, but IMHO the
best known for an effect like this.
> i really don't know if another KCM is called for here... at least most of
> those options should probably either be a matter of policy or
> programmatically defined, including: text shadow, scroll direction (and
> scrolling general), background, offsets ... the font should either be based
> on one of the settings in the fonts kcm or be added there (would picking
> one of the fonts already defined there just making it bigger work?) .. as
> it is, it just feels much to much like offering configuration for one
> specific widget to the Nth degree. next we'll have a kcm for every widget
> in kdeui ;-) note that i'm not saying you shouldn't make this configurable,
> just that kcontrol isn't, IMO, the proper place for it...
Default font and color could be taken from the Fonts and Colors kcms
respectively (with extra entries, maybe). But what about scrolling, and
offsets? Got no idea, currently.
A variation of the default could be possible in the knotify kcm, so scrolling
(direction), color, font... could help to distinguish between events.
> what happens when two OSD's show() at the same time? does one over-write
> the other?
Well, yes. That's why I made it scroll. It minimizes this effect. Would be
better if an older one kinda jumps out of the way. Didn't work so far. But
just got a new idea how to do this. BTW: KPassivePopup has the same problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel