Mercurial > octave
diff libgui/graphics/Canvas.cc @ 23070:bef714f45999
maint: Use space after function name/before parenthesis in libgui.
* Backend.cc, ButtonControl.cc, ButtonGroup.cc, Canvas.cc, Container.cc,
EditControl.cc, GLCanvas.cc, ListBoxControl.cc, ListBoxControl.h,
PopupMenuControl.cc, QtHandlesUtils.cc, TextControl.cc, TextEdit.h,
annotation-dialog.cc, annotation-dialog.h, gl-select.cc, dialog.cc,
files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc,
file-editor-tab.cc, file-editor.cc, file-editor.h, find-dialog.cc, marker.cc,
octave-qscintilla.cc, octave-qscintilla.h, main-window.cc,
octave-dock-widget.cc, octave-dock-widget.h, octave-gui.cc, parser.cc,
parser.h, webinfo.cc, settings-dialog.cc, shortcut-manager.cc,
welcome-wizard.cc, workspace-view.cc:
Use space after function name and before parenthesis.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 18 Jan 2017 17:36:36 -0800 |
parents | 3a2b891d0b33 |
children | ef4d915df748 |
line wrap: on
line diff
--- a/libgui/graphics/Canvas.cc Wed Jan 18 17:48:32 2017 -0500 +++ b/libgui/graphics/Canvas.cc Wed Jan 18 17:36:36 2017 -0800 @@ -121,8 +121,8 @@ 2) Used for QKeyEvents where cursor position must be determined. */ void - Canvas::updateCurrentPoint(const graphics_object& fig, - const graphics_object& obj, QMouseEvent* event) + Canvas::updateCurrentPoint (const graphics_object& fig, + const graphics_object& obj, QMouseEvent* event) { gh_manager::auto_lock lock; @@ -159,8 +159,8 @@ } void - Canvas::updateCurrentPoint(const graphics_object& fig, - const graphics_object& obj) + Canvas::updateCurrentPoint (const graphics_object& fig, + const graphics_object& obj) { gh_manager::auto_lock lock; @@ -176,8 +176,8 @@ if (childObj.isa ("axes")) { - // FIXME: QCursor::pos() may give inaccurate results with asynchronous - // window systems like X11 over ssh. + // FIXME: QCursor::pos() may give inaccurate results with + // asynchronous window systems like X11 over ssh. QWidget *w = qWidget (); QPoint p = w->mapFromGlobal (QCursor::pos ()); axes::properties& ap = Utils::properties<axes> (childObj);