Show
Ignore:
Timestamp:
04/11/06 14:53:06 (3 years ago)
Author:
jordi
Message:

The presenter is now able to control the Zoom: In, Out, toFit and toWidth.
The ZoomIn? and ZoomOut? controls also get sensitived depending if we can zoom in/out or not.

This puts an end to the presenter. I still need to check why compiling MainPterTest?.cxx takes this insane amount of time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbDocument.cxx

    r30 r31  
    7474DumbDocument::getPageSize (gdouble *width, gdouble *height) 
    7575{ 
    76     *width = 100; 
    77     *height = 250; 
     76    if ( 0 == getRotation () || 270 == getRotation () ) 
     77    { 
     78        *width = 100; 
     79        *height = 250; 
     80    } 
     81    else 
     82    { 
     83        *width = 250; 
     84        *height = 100; 
     85    } 
    7886} 
    7987