"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/common/provider/ScaledSizeProvider.h" between
ksnip-1.8.1.tar.gz and ksnip-1.8.2.tar.gz

About: ksnip is a Qt based cross-platform screenshot tool that provides many annotation features for your screenshots.

ScaledSizeProvider.h  (ksnip-1.8.1):ScaledSizeProvider.h  (ksnip-1.8.2)
skipping to change at line 25 skipping to change at line 25
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef KSNIP_SCALEDSIZEPROVIDER_H #ifndef KSNIP_SCALEDSIZEPROVIDER_H
#define KSNIP_SCALEDSIZEPROVIDER_H #define KSNIP_SCALEDSIZEPROVIDER_H
#include <QSize> #include <QSize>
#if defined(__linux__)
#include <QApplication>
#include <QScreen>
#endif
#include "src/common/platform/PlatformChecker.h" #include "src/common/platform/PlatformChecker.h"
class ScaledSizeProvider class ScaledSizeProvider
{ {
public: public:
static QSize scaledSize(const QSize &size); static QSize scaledSize(const QSize &size);
static int scaledWidth(int width); static int scaledWidth(int width);
private: private:
static qreal scaleFactor(); static qreal scaleFactor();
 End of changes. 1 change blocks. 
5 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)