On Sun, 13 Aug 2000, Baruch Even wrote:

[Introduction of two classes: One for manipulation and conversion
of graphics, and one for the displaying.]

> I also think that we need a new directory backends/ for the graphics
> backend, this directory will be somewhat like frontends only that it will
> host the graphics backends (PainterImage, LyXImage and anything else that
> deals with graphics but is not a frontend) possibly my Xlib library can go
> into backends/ too.

I would advice against using the word "backend" for this. To me, backend
is the opposite of the front-end, and I don't feel this is what you
suggest: You suggest a front-end specific way of displaying images.
Therefore, I feel it's natural to put this some place under the front-end
directory.
Now, if the front-end directory is set up such that the emphasis is on
dialogs and other GUI stuff alone, this should be fixed. Just create a
directory for each: 

frontend/xforms/dialogs
frontend/xforms/menu
frontend/xforms/graphics

To me, that is better than what you propose:

frontend/xforms/dialogs
frontend/xforms/menu
backend/xforms/

> What do you say? Is it a move in the right/wrong/left direction?

Other than the placing of the stuff, the overall idea sounds good to me.

Greets,

Asger


Reply via email to