comparison view/ViewManager.h @ 1270:7527701c8076

Make selection extents more visible on hi-dpi
author Chris Cannam
date Thu, 19 Apr 2018 14:36:16 +0100
parents a34a2a25907c
children fc9d9f1103fa
comparison
equal deleted inserted replaced
1269:f2894944c6b8 1270:7527701c8076
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _VIEW_MANAGER_H_ 16 #ifndef SV_VIEW_MANAGER_H
17 #define _VIEW_MANAGER_H_ 17 #define SV_VIEW_MANAGER_H
18 18
19 #include <QObject> 19 #include <QObject>
20 #include <QTimer> 20 #include <QTimer>
21 #include <QPalette> 21 #include <QPalette>
22 22
191 /** 191 /**
192 * Take a "design pixel" size and scale it for the actual 192 * Take a "design pixel" size and scale it for the actual
193 * display. This is relevant to hi-dpi systems that do not do 193 * display. This is relevant to hi-dpi systems that do not do
194 * pixel doubling (i.e. Windows and Linux rather than OS/X). 194 * pixel doubling (i.e. Windows and Linux rather than OS/X).
195 */ 195 */
196 int scalePixelSize(int pixels); 196 static int scalePixelSize(int pixels);
197 197
198 enum OverlayMode { 198 enum OverlayMode {
199 NoOverlays, 199 NoOverlays,
200 GlobalOverlays, 200 GlobalOverlays,
201 StandardOverlays, 201 StandardOverlays,