Home | History | Annotate | Download | only in Carbon

Lines Matching refs:carbon

32 // For non-sheet windows, handle Carbon WindowMove events so as to do the same things as -[NSWindow _windowMoved].
37 // _auxiliaryStorage->auxWFlags.hasShadow will always be false if the Carbon window has a kWindowNoShadowAttribute, and vice versa.
38 // _auxiliaryStorage->_auxWFlags.minimized will always reflect the window's Carbon collapsed state.
41 // _frame will always reflect the window's Carbon kWindowStructureRgn bounds.
44 // _wFlags.visible will always reflect the window's Carbon visibility.
51 // Handling of miniaturization of Carbon windows via title bar double-click might not be all there.
136 // Given a reference to a Carbon window that is to be encapsulated, an indicator of whether or not this object should take responsibility for disposing of the Carbon window, and an indicator of whether to disable Carbon window ordering, initialize. This is the class' designated initializer.
137 - (id)initWithCarbonWindowRef:(WindowRef)inWindowRef takingOwnership:(BOOL)inWindowRefIsOwned disableOrdering:(BOOL)inDisableOrdering carbon:(BOOL)inCarbon {
160 // Find out the window's Carbon window attributes.
163 // Find out the window's Carbon window features.
168 // But now the non-retained window class is a Carbon secret that's not even in
204 // Install an event handler for the Carbon window events in which we're interested.
234 // Put a pointer to this Cocoa NSWindow in a Carbon window property tag.
243 // Ignore the Carbon window activation/deactivation events that Carbon sends to its windows at app activation/deactivation. We'll send such events when we think it's appropriate.
279 // Given a reference to a Carbon window that is to be encapsulated, and an indicator of whether or not this object should take responsibility for disposing of the Carbon window, initialize.
282 return [self initWithCarbonWindowRef:inWindowRef takingOwnership:inWindowRefIsOwned disableOrdering:YES carbon:NO];
343 // Update this window's frame and content frame rectangles to match the Carbon window's structure bounds and content bounds rectangles. Return yes if the update was really necessary, no otherwise.
359 // Get the Carbon window's bounds, which are expressed in global screen coordinates, with (0,0) at the top-left of the main screen.
361 if (osStatus!=noErr) NSLog(@"A Carbon window's structure bounds couldn't be gotten.");
363 if (osStatus!=noErr) NSLog(@"A Carbon window's content bounds couldn't be gotten.");
365 // Set the frame rectangle of the border view and this window from the Carbon window's structure region bounds.
376 // Set the content view's frame rect from the Carbon window's content region bounds.
420 // Carbon thinks that a control has the keyboard focus,
437 // corresponding HIWebView for the NSView, and tell carbon to
460 // There's no override of _addCursorRect:cursor:forView:, despite the fact that NSWindow's invokes [self windowNumber], because Carbon windows won't have subviews, and therefore won't have cursor rects.
463 // There's no override of _autoResizeState, despite the fact that NSWindow's operates on _windowNum, because it looks like it might work on Carbon windows as is.
466 // Disappointingly, -_blockHeartBeat: is not immediately invoked to turn off heartbeating. Heartbeating is turned off by setting the gDefaultButtonPaused global variable, and then this method is invoked later, if that global is set (at heartbeating time I guess). Something has to change if we want to hook this up in Carbon windows. M.P. Warning - 9/17/01
468 // Do the right thing for a Carbon window.
477 // If there's a default Carbon button in this Carbon window, make it stop pulsing, the Carbon way.
484 else NSLog(@"Some data couldn't be set in a Carbon control.");
491 // Do the right thing for a Carbon window.
494 // Most of the time the handling of the cancel key will be done by Carbon, but this method will be invoked if an NSCarbonWindow is wrapping a Carbon window that contains an NSViewCarbonControl, and the escape key or whatever is pressed with an NSTextView focused. Just do what Carbon would do.
507 // Do the right thing for a Carbon window.
519 // Do the right thing for a Carbon window.
529 // There's no override of _discardCursorRectsForView, despite the fact that NSWindow's invokes [self windowNumber], because Carbon windows won't have subviews, and therefore won't have cursor rects.
532 // There's no override of _forceFlushWindowToScreen, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
538 // There's no override of _globalWindowNum, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
547 // Do what NSWindow would do, but then sychronize the Carbon window structures.
555 // Tell Carbon to update its various regions.
558 if (osStatus!=noErr) NSLog(@"A Carbon window's bounds couldn't be synchronized (%i).", (int)osStatus);
563 // There's no override of _orderOutAndCalcKeyWithCounter:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
566 // There's no override of _realHeartBeatThreadContext, despite the fact that NSWindows's invokes [self windowNumber], because it looks like it might not do anything that will effect a Carbon window.
569 // There's no override of _registerWithDockIfNeeded, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
572 // There's no override of _removeCursorRect:cursor:forView:, despite the fact that NSWindow's invokes [self windowNumber], because Carbon windows won't have subviews, and therefore won't have cursor rects.
575 // There's no override of _setAvoidsActivation:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
578 // There's no override of _setFrame:, despite the fact that NSWindow's modifies _frame, because it looks like it might work on Carbon windows as is. The synchronization of the Carbon window bounds rect to the Cocoa frame rect is done in the overrides of _oldPlaceWindow: and _windowMovedToRect:.
581 // There's no override of _setFrameCommon:display:stashSize:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
584 // There's no override of _setWindowNumber:, despite the fact that NSWindow's modifies _windowNum and invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
587 // Do what NSWindow would do, but for a Carbon window.
601 // There's no override of _threadContext, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might not do anything that will effect a Carbon window.
604 // There's no override of _windowMoved:, despite the fact that NSWindow's operates on _windowNum, because it looks like it might work on Carbon windows as is.
607 // Do what NSWindow would do, but then sychronize the Carbon window structures.
615 // Let Carbon know that the window has been moved, unless this method is being called "early."
618 if (osStatus!=noErr) NSLog(@"A Carbon window's bounds couldn't be synchronized (%i).", (int)osStatus);
624 // let Carbon decide window size and position
672 // Do the right thing for a Carbon window.
678 // Do the right thing for a Carbon window.
682 // By default, Carbon windows cannot become the main window.
685 // This is primarily to get the right look, so that you don't have two windows that both look active - one Cocoa document and one Carbon document
692 // There's no override of deminiaturize:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
695 // There's no override of disableCursorRects, despite the fact that NSWindow's invokes [self windowNumber], because Carbon windows won't have subviews, and therefore won't have cursor rects.
699 // There's no override of enableCursorRects, despite the fact that NSWindow's invokes [self windowNumber], because Carbon windows won't have subviews, and therefore won't have cursor rects.
702 // Do the right thing for a Carbon window.
711 // There's no override of frame, despite the fact that NSWindow's returns _frame, because _frame is one of the instance variables whose value we're keeping synchronized with the Carbon window.
714 // Do the right thing for a Carbon window.
725 // There's no override of level, despite the fact that NSWindow's returns _level, because _level is one of the instance variables whose value we're keeping synchronized with the Carbon window.
728 // There's no override of miniaturize:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
735 // Do the right thing for a Carbon Window.
742 // Handle the event the Cocoa way. Carbon won't understand it anyway.
749 // There's no override of setAcceptsMouseMovedEvents:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
755 // Do what NSWindow would do, but for a Carbon window.
771 // Find out the window's Carbon window structure region (content) bounds.
773 if (osStatus!=noErr) NSLog(@"A Carbon window's content bounds couldn't be gotten.");
795 // There's no override of setDepthLimit:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
811 // There's no override of setLevel:, despite the fact that NSWindow's invokes [self windowNumber], because it looks like it might work on Carbon windows as is.
812 // I thought at first that there should be a mapping between Cocoa level and Carbon window class, but experiments convince me that such is not the case. M.P. Notice - 9/18/00
815 // There's no override of windowNumber, despite the fact that NSWindow's returns _windowNum, because _windowNum is one of the instance variables whose value we're keeping synchronized with the Carbon window.
847 // Create a Process Command event. Don't mention anything about the menu item, because we don't want the Carbon Event handler fiddling with it.
863 // Send a Carbon event to whatever has the Carbon user focus.
889 // Create a Process Command event. Don't mention anything about the menu item, because we don't want the Carbon Event handler fiddling with it.
905 // Send a Carbon event to whatever has the Carbon user focus.
945 // Set the content view's frame rect from the Carbon window's content region bounds.
1004 // Handle various events that Carbon is sending to our window.