gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Asko 2002-03-07 (AbstractBgVob)


From: Benja Fallenstein
Subject: Re: [Gzz] Asko 2002-03-07 (AbstractBgVob)
Date: Fri, 07 Mar 2003 15:09:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9


Hi Asko & Tuomas!

Asko Soukka wrote:
Tuomas wants Vobs to be immutable

Sounds good.

   -> Bg/border properties (bgColor, drawBorder)
      will be set when calling constructor
   -> solids will be set by one call
      "Colorable cloneMultiColored(Vob vob, List colors)"

That method name is a bit long... but addColor() would be confusing (sounds like it mutates the Vob object). How about withColor() or so?

- I'll rewrite my PEG on monday. The new proposition will contain:
  - Bg/border properties optionally in each Vob

Even in text vobs? SolidBgVobs? Connection vobs? This doesn't sound good.

  - Interface Colorable, containing method to clone Vob with
    multiple colors
  - Abstract class ColorableVob extends Vob omplements Colorable
- BgVobs will be inherited from ColorableVob

I'd prefer if the ColorableVob was the interface, extending a Vob interface, to avoid casts (ColorableVobs could be both colorized and added into a vob scene). Tuomas, can Vob be made an interface?

- Benja





reply via email to

[Prev in Thread] Current Thread [Next in Thread]