jdk/src/macosx/native/sun/awt/AWTWindow.m
changeset 12177 7b84ed7d0efa
parent 12047 320a714614e9
child 12402 f3903de3fd9e
equal deleted inserted replaced
12176:fc690f855620 12177:7b84ed7d0efa
   100         if (IS(styleBits, RESIZABLE))   type |= NSResizableWindowMask;
   100         if (IS(styleBits, RESIZABLE))   type |= NSResizableWindowMask;
   101     } else {
   101     } else {
   102         type |= NSBorderlessWindowMask;
   102         type |= NSBorderlessWindowMask;
   103     }
   103     }
   104 
   104 
   105     if (IS(styleBits, TEXTURED))    type |= NSTexturedBackgroundWindowMask;
   105     if (IS(styleBits, TEXTURED))      type |= NSTexturedBackgroundWindowMask;
   106     if (IS(styleBits, UNIFIED))     type |= NSUnifiedTitleAndToolbarWindowMask;
   106     if (IS(styleBits, UNIFIED))       type |= NSUnifiedTitleAndToolbarWindowMask;
   107     if (IS(styleBits, UTILITY))     type |= NSUtilityWindowMask;
   107     if (IS(styleBits, UTILITY))       type |= NSUtilityWindowMask;
   108     if (IS(styleBits, HUD))         type |= NSHUDWindowMask;
   108     if (IS(styleBits, HUD))           type |= NSHUDWindowMask;
   109     if (IS(styleBits, SHEET))       type |= NSDocModalWindowMask;
   109     if (IS(styleBits, SHEET))         type |= NSDocModalWindowMask;
       
   110     if (IS(styleBits, NONACTIVATING)) type |= NSNonactivatingPanelMask;
   110 
   111 
   111     return type;
   112     return type;
   112 }
   113 }
   113 
   114 
   114 // updates _METHOD_PROP_BITMASK based properties on the window
   115 // updates _METHOD_PROP_BITMASK based properties on the window