mac: remove debug prints
This commit is contained in:
parent
dccc402b3d
commit
dd67e42054
2 changed files with 3 additions and 3 deletions
|
|
@ -96,6 +96,8 @@
|
||||||
|
|
||||||
MilskoCocoaPixmap *cursorPixmap;
|
MilskoCocoaPixmap *cursorPixmap;
|
||||||
NSCursor *cursor;
|
NSCursor *cursor;
|
||||||
|
|
||||||
|
MwBool pointerLocked;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (MilskoCocoa *)newWithParent:(MwLL)parent
|
+ (MilskoCocoa *)newWithParent:(MwLL)parent
|
||||||
|
|
@ -113,7 +115,7 @@
|
||||||
- (void)setW:(int)w H:(int)h;
|
- (void)setW:(int)w H:(int)h;
|
||||||
- (int)pending;
|
- (int)pending;
|
||||||
- (void)eventProcess:(NSEvent *)ev;
|
- (void)eventProcess:(NSEvent *)ev;
|
||||||
- (void)handleKeyEvent:(NSEvent *)ev;
|
- (void)handleKeyEvent:(NSEvent *)ev ll:(MwLL)ll;
|
||||||
- (void)handleMouseEvent:(NSEvent *)ev ll:(MwLL)ll;
|
- (void)handleMouseEvent:(NSEvent *)ev ll:(MwLL)ll;
|
||||||
- (void)getNextEvent;
|
- (void)getNextEvent;
|
||||||
- (void)setTitle:(const char *)title;
|
- (void)setTitle:(const char *)title;
|
||||||
|
|
|
||||||
|
|
@ -352,7 +352,6 @@ static NSPoint pointFlip(NSPoint point) {
|
||||||
NSPoint pos_translated = pointFlip([ev locationInWindow]);
|
NSPoint pos_translated = pointFlip([ev locationInWindow]);
|
||||||
pos.x = pos_translated.x;
|
pos.x = pos_translated.x;
|
||||||
pos.y = pos_translated.y;
|
pos.y = pos_translated.y;
|
||||||
printf("%d %d\n", pos.x, pos.y);
|
|
||||||
MwLLDispatch(h, move, &pos);
|
MwLLDispatch(h, move, &pos);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -901,7 +900,6 @@ static NSPoint pointFlip(NSPoint point) {
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)windowDidBecomeMain:(NSNotification *)notification {
|
- (void)windowDidBecomeMain:(NSNotification *)notification {
|
||||||
printf("waow\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)windowDidResize:(NSNotification *)notification {
|
- (void)windowDidResize:(NSNotification *)notification {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue