Gdk::COLORSPACE_RGB,
true, 8, // has_alpha, bits_per_sample
width, height)),
- link_num(0),
links_it(doc),
link_changing(false)
{
Glib::RefPtr<Gdk::Pixbuf> norm_pixbuf;
Glib::RefPtr<Gdk::Pixbuf> diff_pixbuf;
- unsigned link_num;
link_iterator links_it, links_end;
rectangle link_rect;
continue;
}
- ++state->link_num;
-
- if (state->link_num >= unsigned(dvd::menu_buttons_max))
- {
- if (state->link_num == unsigned(dvd::menu_buttons_max))
- std::cerr << "No more than " << dvd::menu_buttons_max
- << " buttons can be placed on a menu\n";
- std::cerr << "Ignoring link to " << uri_and_fragment
- << "\n";
- continue;
- }
-
// Check whether this is a link to a video or a page then
// add it to the known resources if not already seen; then
// add it to the menu entries.