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] window.h enum query

  • From: "Chris Peel" <chris@xxxxxxxxxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Fri, 1 Sep 2006 16:39:05 +0100
Hello list

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
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.

Thanks in advance

Chris

enum window_type {
  B_UNTYPED_WINDOW = 0, 
  B_TITLED_WINDOW = 1, 
  B_MODAL_WINDOW = 3, 
  B_DOCUMENT_WINDOW = 11,
  B_BORDERED_WINDOW = 20, 
  B_FLOATING_WINDOW = 21
}

enum window_look {
  B_BORDERED_WINDOW_LOOK = 20, 
  B_NO_BORDER_WINDOW_LOOK = 19, 
  B_TITLED_WINDOW_LOOK = 1, 
  B_DOCUMENT_WINDOW_LOOK = 11,
  B_MODAL_WINDOW_LOOK = 3, 
  B_FLOATING_WINDOW_LOOK = 7
}







[ 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.