summaryrefslogtreecommitdiff
path: root/gtk2_ardour/verbose_cursor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-18 22:48:24 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-18 22:48:24 -0400
commit9f4f9c205d02486578da9e79e3257a8dc9ae02b3 (patch)
treea103e328843f06035eaaaf4ec9d5ee99b2ed4020 /gtk2_ardour/verbose_cursor.cc
parente7895e1f802e9d12a9c8ccfa7b0ade15b4172708 (diff)
change verbose cursor font selection to use canvas variable mechanism, plus a few developing comment edits
Diffstat (limited to 'gtk2_ardour/verbose_cursor.cc')
-rw-r--r--gtk2_ardour/verbose_cursor.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/verbose_cursor.cc b/gtk2_ardour/verbose_cursor.cc
index 7006f6c80a..d6f89bde2b 100644
--- a/gtk2_ardour/verbose_cursor.cc
+++ b/gtk2_ardour/verbose_cursor.cc
@@ -46,7 +46,7 @@ VerboseCursor::VerboseCursor (Editor* editor)
_canvas_item = new ArdourCanvas::Text (_editor->get_hvscroll_group());
CANVAS_DEBUG_NAME (_canvas_item, "verbose canvas cursor");
_canvas_item->set_ignore_events (true);
- _canvas_item->set_font_description (get_font_for_style (N_("VerboseCanvasCursor")));
+ _canvas_item->set_font_description (Pango::FontDescription (ARDOUR_UI::config()->get_canvasvar_LargerBoldFont()));
}
ArdourCanvas::Item *
@@ -55,6 +55,8 @@ VerboseCursor::canvas_item () const
return _canvas_item;
}
+/** Set the contents and position of the cursor. Coordinates are in window space
+ */
void
VerboseCursor::set (string const & text, double x, double y)
{
@@ -255,6 +257,8 @@ VerboseCursor::set_color (uint32_t color)
/** Set the position of the verbose cursor. Any x/y offsets
* passed to the last call to show() will be applied to the
* coordinates passed in here.
+ *
+ * Coordinates are in window space.
*/
void
VerboseCursor::set_position (double x, double y)