56 - (BOOL)acceptsFirstResponder
61 - (BOOL)acceptsFirstMouse:(NSEvent *)event
67 - (void)keyDown:(NSEvent *)event
72 if ([[event characters]
length] == 0 || [[event charactersIgnoringModifiers]
length] == 0 ||
77 NSMutableArray *events;
78 events = [[NSMutableArray alloc] initWithCapacity:1];
79 [events addObject:event];
80 [
self interpretKeyEvents:events];
81 [events removeObject:event];
87 - (void)keyUp:(NSEvent *)event
92 - (void)flagsChanged:(NSEvent *)event
97 - (void)mouseDown:(NSEvent *)event
102 - (void)mouseUp:(NSEvent *)event
107 - (void)rightMouseDown:(NSEvent *)event
112 - (void)rightMouseUp:(NSEvent *)event
117 - (void)mouseMoved:(NSEvent *)event
122 - (void)mouseDragged:(NSEvent *)event
127 - (void)rightMouseDragged:(NSEvent *)event
132 - (void)scrollWheel:(NSEvent *)event
137 - (void)otherMouseDown:(NSEvent *)event
142 - (void)otherMouseUp:(NSEvent *)event
147 - (void)otherMouseDragged:(NSEvent *)event
152 - (void)magnifyWithEvent:(NSEvent *)event
157 - (void)smartMagnifyWithEvent:(NSEvent *)event
162 - (void)rotateWithEvent:(NSEvent *)event
167 - (void)tabletPoint:(NSEvent *)event
172 - (void)tabletProximity:(NSEvent *)event
182 - (void)drawRect:(NSRect)rect
184 if ([
self inLiveResize]) {
188 [
super drawRect:rect];
200 - (void)composing_free
205 [composing_text release];
210 - (void)insertText:(
id)chars
212 [
self composing_free];
215 - (void)setMarkedText:(
id)chars selectedRange:(NSRange)range
217 [
self composing_free];
227 [
self composing_free];
232 [
self composing_free];
235 - (BOOL)hasMarkedText
240 - (void)doCommandBySelector:(
SEL)selector
249 - (NSInteger)conversationIdentifier
251 return (NSInteger)
self;
254 - (NSAttributedString *)attributedSubstringFromRange:(NSRange)range
256 return [[[NSAttributedString alloc] init] autorelease];
259 - (NSRange)markedRange
264 return NSMakeRange(0,
length);
266 return NSMakeRange(NSNotFound, 0);
269 - (NSRange)selectedRange
272 return NSMakeRange(0,
length);
275 - (NSRect)firstRectForCharacterRange:(NSRange)range
280 - (NSUInteger)characterIndexForPoint:(NSPoint)point
285 - (NSArray *)validAttributesForMarkedText
287 return [NSArray array];
@ GHOST_kEventWindowUpdate
#define COCOA_VIEW_BASE_CLASS
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
SIMD_FORCE_INLINE btScalar length(const btQuaternion &q)
Return the length of a quaternion.
GHOST_TSuccess handleWindowEvent(GHOST_TEventType eventType, GHOST_WindowCocoa *window)
GHOST_TSuccess handleMouseEvent(void *eventPtr)
GHOST_TSuccess handleKeyEvent(void *eventPtr)
GHOST_TSuccess handleTabletEvent(void *eventPtr, short eventType)
bool getImmediateDraw(void) const
GHOST_SystemCocoa * systemCocoa
NSString * composing_text
GHOST_WindowCocoa * associatedWindow