Parent Directory | Revision Log | Patch
revision 1396 by schoenebeck, Wed Oct 10 15:48:54 2007 UTC | revision 1411 by schoenebeck, Fri Oct 12 17:46:29 2007 UTC | |
---|---|---|
# | Line 145 bool RegionChooser::on_expose_event(GdkE | Line 145 bool RegionChooser::on_expose_event(GdkE |
145 | } | } |
146 | if (note == 3) { | if (note == 3) { |
147 | char buf[30]; | char buf[30]; |
148 | sprintf(buf, "<span size=\"x-small\">%d</span>", octave); | sprintf(buf, "<span size=\"8000\">%d</span>", octave); |
149 | layout->set_markup(buf); | layout->set_markup(buf); |
150 | Pango::Rectangle rectangle = layout->get_logical_extents(); | Pango::Rectangle rectangle = layout->get_logical_extents(); |
151 | double text_w = double(rectangle.get_width()) / Pango::SCALE; | double text_w = double(rectangle.get_width()) / Pango::SCALE; |
|
ViewVC Help | |
Powered by ViewVC |