Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-22 06:39:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-22 06:39:39 +0300
commitf051146ae64550b65a37bc1cb6f9c60583fa0123 (patch)
tree3f25f3a9291909b1cd5b11700a340c774e73fa01 /intern
parentdfbaf967532cb4a20b348e7fb2947dbae13917e5 (diff)
Cleanup: clang-format
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm12
1 files changed, 6 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index 7998991dc8d..6a5a088d163 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -118,8 +118,8 @@
- (void)windowDidResize:(NSNotification *)notification
{
- //if (![[notification object] inLiveResize]) {
- //Send event only once, at end of resize operation (when user has released mouse button)
+ // if (![[notification object] inLiveResize]) {
+ // Send event only once, at end of resize operation (when user has released mouse button)
systemCocoa->handleWindowEvent(GHOST_kEventWindowSize, associatedWindow);
//}
/* Live resize, send event, gets handled in wm_window.c.
@@ -137,7 +137,7 @@
- (BOOL)windowShouldClose:(id)sender;
{
- //Let Blender close the window rather than closing immediately
+ // Let Blender close the window rather than closing immediately
systemCocoa->handleWindowEvent(GHOST_kEventWindowClose, associatedWindow);
return false;
}
@@ -176,7 +176,7 @@
return (associatedWindow->isDialog() || !systemCocoa->hasDialogWindow());
}
-//The drag'n'drop dragging destination methods
+// The drag'n'drop dragging destination methods
- (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender
{
NSPoint mouseLocation = [sender draggingLocation];
@@ -191,7 +191,7 @@
else
return NSDragOperationNone;
- associatedWindow->setAcceptDragOperation(TRUE); //Drag operation is accepted by default
+ associatedWindow->setAcceptDragOperation(TRUE); // Drag operation is accepted by default
systemCocoa->handleDraggingEvent(GHOST_kEventDraggingEntered,
m_draggedObjectType,
associatedWindow,
@@ -203,7 +203,7 @@
- (BOOL)wantsPeriodicDraggingUpdates
{
- return NO; //No need to overflow blender event queue. Events shall be sent only on changes
+ return NO; // No need to overflow blender event queue. Events shall be sent only on changes
}
- (NSDragOperation)draggingUpdated:(id<NSDraggingInfo>)sender