[haiku-appserver] Re: purpose of libappserver.so

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 19 Jan 2005 03:53:45 +0100 CET

"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> > I am wondering why there is a libappserver.so.
> > I noticed that Appearance is linked against it and wanted to ask if 
> > this should stay that way, or if it's only a temporary work-around.
> > Shouldn't Appearance get/set everything it needs using the standard 
> > app_server communication channels? I would find that a lot cleaner.
> It needs to stay that way, actually, even if it could be cleaner. 
> Appearance provides previews of window decorators, complete with 
> display in the current system colors. In fact, it has its own custom 
> DisplayDriver subclass. The decorators are the entire reason that 
> libappserver exists, in fact. There are quite a few classes that they 
> depend on for font and graphics services. It just made sense to me to 
> take the things that need certain services that the app_server 
> provides 
> and put them in a shared library.

How about drawing those previews inside the app_server into a BBitmap 
Appearance has passed to it? At least I don't see the necessity for the 
way it's done now.

Bye,
   Axel.


Other related posts: