]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/zoom-control/ephy-zoom.h
[libview] Fix a crash when loading document with inverted colors enabled
[evince.git] / cut-n-paste / zoom-control / ephy-zoom.h
index 5632b4ff8f0545758c586496e957b0467415cd30..bf01f0d7e638a3b05c079dd230e82e80c3a78048 100644 (file)
@@ -15,7 +15,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  *  $Id$
  */
@@ -48,20 +48,25 @@ zoom_levels[] =
        { N_("Best Fit"),       EPHY_ZOOM_BEST_FIT  },
        { N_("Fit Page Width"), EPHY_ZOOM_FIT_WIDTH },
        { NULL,                 EPHY_ZOOM_SEPARATOR },
-       { N_("50%"), 0.7071067811 },
-       { N_("75%"), 0.8408964152 },
+       { N_("50%"), 0.5 },
+       { N_("70%"), 0.7071067811 },
+       { N_("85%"), 0.8408964152 },
        { N_("100%"), 1.0 },
        { N_("125%"), 1.1892071149 },
        { N_("150%"), 1.4142135623 },
        { N_("175%"), 1.6817928304 },
        { N_("200%"), 2.0 },
        { N_("300%"), 2.8284271247 },
-       { N_("400%"), 4.0 }
+       { N_("400%"), 4.0 },
+       { N_("800%"), 8.0 },
+       { N_("1600%"), 16.0 },
+       { N_("3200%"), 32.0 },
+       { N_("6400%"), 64.0 }
 };
 static const guint n_zoom_levels = G_N_ELEMENTS (zoom_levels);
 
 #define ZOOM_MINIMAL   (EPHY_ZOOM_SEPARATOR)
-#define ZOOM_MAXIMAL   (zoom_levels[n_zoom_levels - 4].level)
+#define ZOOM_MAXIMAL   (zoom_levels[n_zoom_levels - 1].level)
 #define ZOOM_IN                (-1.0)
 #define ZOOM_OUT       (-2.0)