Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [09-2006 Date Index] [Date Next] || [Thread Prev] [09-2006 Thread Index] [Thread Next]

[openbeos] Re: window.h enum query

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 01 Sep 2006 17:52:59 +0200 CEST
"Chris Peel" <chris@xxxxxxxxxxxxxxxxxx> wrote:
> Can anyone explain what (if any) the logic is behind the numeric 
> values of
> the window_type and window_look enums in window.h please?  Also, 
> exactly

I don't know how those strange values were chosen, but I can assure you 
that we're not making use of them :-)

> what is window_look used for as it seems to relate to window_type but 
> I
> can't understand how it's used.  I've pasted the enums below for 
> reference.

You can find that information in the BeBook, too, but I'll explain it 
for you here as well: the window type is a fixed combination from the 
window's look and feel.
Internally, the app_server only cares about the look and feel; the 
BWindow class will decompose the type into look and feel values for the 
app_server.
For example, the B_DOCUMENT_WINDOW refers to the combination of 
B_NORMAL_WINDOW_FEEL and B_DOCUMENT_WINDOW_LOOK.

Bye,
   Axel.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.