kviewshell
zoomlimits.h
Go to the documentation of this file.00001 // -*- C++ -*- 00002 #ifndef ZOOMLIMITS_H 00003 #define ZOOMLIMITS_H 00004 00005 // Define the maximal and minimal zoom factor which is accepted by 00006 // the kviewshell. If the user or a configuration file asks for 00007 // smaller or bigger values, the kviewshell uses either MinZoom or 00008 // MaxZoom. Implementations of the parts should also use these 00009 // limits if they whish to implement limits on the allowed zoom 00010 // factors. 00011 00012 // We use integers which need to be divided by 1000 before use. 00013 // In this case, this means MinZoom = 0.05 and MaxZoom = 3. 00014 00015 namespace ZoomLimits { 00016 enum { MinZoom = 50, MaxZoom = 3000 }; 00017 } 00018 00019 #endif