summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-10-03 03:44:17 +0000
committerJon A. Cruz <jon@joncruz.org>2011-10-03 03:44:17 +0000
commit20097d47e6945bceb57d2335d23fe764f493ab59 (patch)
tree47a1f62624d42e0302c2c370c1c23b2670e814ed /src/desktop.cpp
parentNext pass of doxygen @brief cleanup. (diff)
downloadinkscape-20097d47e6945bceb57d2335d23fe764f493ab59.tar.gz
inkscape-20097d47e6945bceb57d2335d23fe764f493ab59.zip
Another minor pass of Doxygen cleanup.
(bzr r10659)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp46
1 files changed, 22 insertions, 24 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index dc06f773e..2bec9afec 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -736,11 +736,10 @@ SPItem *SPDesktop::getGroupAtPoint(Geom::Point const p) const
}
/**
- * \brief Returns the mouse point in document coordinates; if mouse is
- * outside the canvas, returns the center of canvas viewpoint
+ * Returns the mouse point in document coordinates; if mouse is
+ * outside the canvas, returns the center of canvas viewpoint.
*/
-Geom::Point
-SPDesktop::point() const
+Geom::Point SPDesktop::point() const
{
Geom::Point p = _widget->getPointer();
Geom::Point pw = sp_canvas_window_to_world (canvas, p);
@@ -882,8 +881,7 @@ SPDesktop::prev_zoom()
/**
* Set zoom to next in list.
*/
-void
-SPDesktop::next_zoom()
+void SPDesktop::next_zoom()
{
if (zooms_future.empty()) {
this->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("No next zoom."));
@@ -901,12 +899,12 @@ SPDesktop::next_zoom()
zooms_future.pop_front();
}
-/** \brief Performs a quick zoom into what the user is working on
- \param enable Whether we're going in or out of quick zoom
-
-*/
-void
-SPDesktop::zoom_quick (bool enable)
+/**
+ * Performs a quick zoom into what the user is working on.
+ *
+ * @param enable Whether we're going in or out of quick zoom.
+ */
+void SPDesktop::zoom_quick(bool enable)
{
if (enable == _quick_zoom_enabled) {
return;
@@ -1241,22 +1239,22 @@ SPDesktop::fullscreen()
_widget->setFullscreen();
}
-/** \brief Checks to see if the user is working in focused mode
-
- Returns the value of \c _focusMode
-*/
-bool
-SPDesktop::is_focusMode()
+/**
+ * Checks to see if the user is working in focused mode.
+ *
+ * @return the value of \c _focusMode.
+ */
+bool SPDesktop::is_focusMode()
{
return _focusMode;
}
-/** \brief Changes whether the user is in focus mode or not
- \param mode Which mode the view should be in
-
-*/
-void
-SPDesktop::focusMode (bool mode)
+/**
+ * Changes whether the user is in focus mode or not.
+ *
+ * @param mode Which mode the view should be in.
+ */
+void SPDesktop::focusMode(bool mode)
{
if (mode == _focusMode) { return; }