On 12/28/05, Paulo Matias <[EMAIL PROTECTED]> wrote:
> In BeOS backend, nsWindow is the base widget. So every widget seems to
> be a nsWindow specialization. nsWindow receives the events, converts,
> pass to Gecko, contain children nsWindow, etc.
>
> Perhaps, in a DirectFB/LiTE backend, the equivalent nsWindow can be
> obtained via LiTE Box widgets.

Yes, in LiTE you have LiteBox which is a generalized widget that
receives keyboard and mouse events. The LiteWindow is a DFBWindow
abstraction where you place multiple LiteBox entries. Actually,
ultimately a LiteWindow is a LiteBox as it has an enclosing LiteBox.

You use LiteBox entries, combined together, to make widgets. If you
need modal or modeless windows, you use LiteWindows. Note that for
making menu popups, generic popups, and other similar overlapping
widgets, then using a LiteWindow makes sense.

Check out LiteLabel for simple text string drawing, LiteButton for
making any kind of buttons using bitmap resources, and LiteImage for
just drawing images. Each one is a derivative of LiteBox the working
horse.

--Kent

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to