use larger font for bars on BBT ruler
This commit is contained in:
parent
20029ec7e6
commit
14318dd342
@ -131,6 +131,7 @@ Editor::initialize_rulers ()
|
|||||||
ruler_grabbed_widget = 0;
|
ruler_grabbed_widget = 0;
|
||||||
|
|
||||||
Pango::FontDescription font (UIConfiguration::instance().get_SmallerFont());
|
Pango::FontDescription font (UIConfiguration::instance().get_SmallerFont());
|
||||||
|
Pango::FontDescription larger_font (UIConfiguration::instance().get_SmallFont());
|
||||||
|
|
||||||
_timecode_metric = new TimecodeMetric (this);
|
_timecode_metric = new TimecodeMetric (this);
|
||||||
_bbt_metric = new BBTMetric (this);
|
_bbt_metric = new BBTMetric (this);
|
||||||
@ -157,6 +158,7 @@ Editor::initialize_rulers ()
|
|||||||
bbt_ruler = new ArdourCanvas::Ruler (_time_markers_group, *_bbt_metric,
|
bbt_ruler = new ArdourCanvas::Ruler (_time_markers_group, *_bbt_metric,
|
||||||
ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, timebar_height));
|
ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, timebar_height));
|
||||||
bbt_ruler->set_font_description (font);
|
bbt_ruler->set_font_description (font);
|
||||||
|
bbt_ruler->set_second_font_description (larger_font);
|
||||||
CANVAS_DEBUG_NAME (bbt_ruler, "bbt ruler");
|
CANVAS_DEBUG_NAME (bbt_ruler, "bbt ruler");
|
||||||
timecode_nmarks = 0;
|
timecode_nmarks = 0;
|
||||||
|
|
||||||
|
@ -1105,6 +1105,9 @@ MidiRegionView::get_events (Events& e, Evoral::Sequence<Temporal::Beats>::NoteOp
|
|||||||
void
|
void
|
||||||
MidiRegionView::redisplay_model()
|
MidiRegionView::redisplay_model()
|
||||||
{
|
{
|
||||||
|
cerr << "REDISPLAY\n";
|
||||||
|
PBD::stacktrace (cout, 20);
|
||||||
|
|
||||||
if (_active_notes) {
|
if (_active_notes) {
|
||||||
// Currently recording
|
// Currently recording
|
||||||
const samplecnt_t zoom = trackview.editor().get_current_zoom();
|
const samplecnt_t zoom = trackview.editor().get_current_zoom();
|
||||||
|
Loading…
Reference in New Issue
Block a user