/*
- Copyright (C) 2008 Paul Davis
+ Copyright (C) 2008 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
for (int note = lnote; note < hnote + 1; ++note) {
double y = height - note * note2y;
bool draw = false;
-
+
switch (note % 12) {
case 1:
case 6:
default:
break;
}
-
+
if(draw) {
cc->set_line_width(1.4 * note2y);
cc->move_to(0, y);
MidiScroomer::on_size_request(Gtk::Requisition* r)
{
r->width = 12;
- r->height = 100;
}
-
-void
-MidiScroomer::on_size_allocate(Gtk::Allocation& a)
-{
- Scroomer::on_size_allocate(a);
-}
-