source: trunk/src/org/expeditee/settings/experimental/ExperimentalFeatures.java@ 1051

Last change on this file since 1051 was 1051, checked in by davidb, 8 years ago

Code upgraded so frame zooming is an optional (experimental) feature controlled through settings. This is because it's just to easy to be trying to resize a text item, miss by a few pixels with the mouse cursor, and then zoom the entire page accidentaly

File size: 1.5 KB
Line 
1/**
2 * ExperimentalFeatures.java
3 * Copyright (C) 2010 New Zealand Digital Library, http://expeditee.org
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19package org.expeditee.settings.experimental;
20
21import org.expeditee.setting.BooleanSetting;
22
23public class ExperimentalFeatures {
24
25 public static final BooleanSetting AutoWrap = new BooleanSetting("Enable auto wrapping of text", false);
26
27 public static final BooleanSetting FrameZoom = new BooleanSetting("Enable zooming in and out of frame using F1/F2 or else shift with click-wheel", false);
28
29 public static final BooleanSetting FrameZoomAroundCursor = new BooleanSetting("If true, Frame Zooming uses the location of the mouse cursor as the central point to zoom in/out.", false);
30
31 public static final BooleanSetting MousePan = new BooleanSetting("Enable panning of the frame by shift-click and dragging the mouse", false);
32
33}
Note: See TracBrowser for help on using the repository browser.