// Get dimensions given a zoom
void Canvas::calculate_sizes(float aspect_ratio,
int output_w, int output_h, float zoom,
// Get dimensions given a zoom
void Canvas::calculate_sizes(float aspect_ratio,
int output_w, int output_h, float zoom,
{
// It isn't a problem to delete the canvas from in here because the event
// dispatcher is the canvas subwindow.
{
// It isn't a problem to delete the canvas from in here because the event
// dispatcher is the canvas subwindow.
CanvasFullScreenItem::CanvasFullScreenItem(Canvas *canvas)
: BC_MenuItem(_("Fullscreen"), "f", 'f')
{
CanvasFullScreenItem::CanvasFullScreenItem(Canvas *canvas)
: BC_MenuItem(_("Fullscreen"), "f", 'f')
{