diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-04-27 09:04:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-04-27 09:04:24 +0000 |
commit | 982d639d44f23ac46aa19ddb08055fa8cec9b0fd (patch) | |
tree | 2acfb1920e1bf4b8eb0390a34db131302c85a71e /gtk2_ardour/time_axis_view_item.h | |
parent | d2ff9e40e3d1990eba4024b945bdf0a6bb1625cf (diff) |
"The In-Flight Hack, 2006"
a) measure lines extend the full height of the canvas
b) region name color bars and text positioning now adjusted to match
font size for different display resolutions
c) vertical scrollbar limited to cover visible tracks only
git-svn-id: svn://localhost/trunk/ardour2@486 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.h')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index b1e9939449..c9e4fd5dd5 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -272,10 +272,13 @@ class TimeAxisViewItem : public sigc::trackable, public Selectable static Pango::FontDescription NAME_FONT ; static bool have_name_font; static const double NAME_X_OFFSET ; - static const double NAME_Y_OFFSET ; - static const double NAME_HIGHLIGHT_SIZE ; - static const double NAME_HIGHLIGHT_THRESH ; static const double GRAB_HANDLE_LENGTH ; + /* these are not constant, but vary with the pixel size + of the font used to display the item name. + */ + static double NAME_Y_OFFSET ; + static double NAME_HIGHLIGHT_SIZE ; + static double NAME_HIGHLIGHT_THRESH ; /** * Handles the Removal of this time axis item |