equal
deleted
inserted
replaced
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 |