[openbeos-preferences] Request for Comments: Preference Minikits

Hello.

While working on the Backgrounds Pref, I found myself steering a little
bit. Here's the story:

Backgrounds are implemented as directory attributes. Tracker only reads
and does the appropriate drawing of images. It's up to you to put them,
so the Backgrounds Pref. There are two type of backgrounds: the folders,
and the desktop (that being adding the workspace twist).

So I took similarities and made the abstract BBackground class. And from
there I'll be refining the BFolderBackground and the BDesktopBackground.
Put them on a library (the minikit). And use the lib on the Pref. My
decision was that so others can easily do on their apps what is
basically done on the Pref.

If I'll continue to that road (the first concept of course was to stuff
everything in the Pref), is there any disadvantage I'm not aware of? Am
I breaking any rule in the Be arch?

Thanks for the help.

Agi



Other related posts: