diff libgui/graphics/GLCanvas.cc @ 18501:523878f76518 gui-release

style fix: eliminate lines of slashes to separate functions.
author John W. Eaton <jwe@octave.org>
date Thu, 20 Feb 2014 15:10:07 -0500
parents 49877d3be064
children dbb207d10d7c 709f3a77685d
line wrap: on
line diff
--- a/libgui/graphics/GLCanvas.cc	Thu Feb 20 14:58:56 2014 -0500
+++ b/libgui/graphics/GLCanvas.cc	Thu Feb 20 15:10:07 2014 -0500
@@ -34,27 +34,19 @@
 #include "GLCanvas.h"
 #include "gl-select.h"
 
-//////////////////////////////////////////////////////////////////////////////
-
 namespace QtHandles
 {
 
-//////////////////////////////////////////////////////////////////////////////
-
 GLCanvas::GLCanvas (QWidget* parent, const graphics_handle& handle)
   : QGLWidget (parent), Canvas (handle)
 {
   setFocusPolicy (Qt::ClickFocus);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 GLCanvas::~GLCanvas (void)
 {
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::draw (const graphics_handle& handle)
 {
   graphics_object go = gh_manager::get_object (handle);
@@ -68,8 +60,6 @@
     }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 graphics_object GLCanvas::selectFromAxes (const graphics_object& ax,
                                           const QPoint& pt)
 {
@@ -86,8 +76,6 @@
   return graphics_object ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 inline void glDrawZoomBox (const QPoint& p1, const QPoint& p2)
 {
   glVertex2d (p1.x (), p1.y ());
@@ -126,50 +114,36 @@
   glPopMatrix ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::paintGL (void)
 {
   canvasPaintEvent ();
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mouseMoveEvent (QMouseEvent* event)
 {
   canvasMouseMoveEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mousePressEvent (QMouseEvent* event)
 {
   canvasMousePressEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::mouseReleaseEvent (QMouseEvent* event)
 {
   canvasMouseReleaseEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::keyPressEvent (QKeyEvent* event)
 {
   if (! canvasKeyPressEvent (event))
     QGLWidget::keyPressEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 void GLCanvas::keyReleaseEvent (QKeyEvent* event)
 {
   if (! canvasKeyReleaseEvent (event))
     QGLWidget::keyReleaseEvent (event);
 }
 
-//////////////////////////////////////////////////////////////////////////////
-
 }; // namespace QtHandles