Ignore:
Timestamp:
12/17/13 15:52:27 (11 years ago)
Author:
jts21
Message:

Add panning action

  • Use by shift-left-click and dragging the mouse, or by adding a "Pan" action
  • Mouse binding is disabled by default, enable via "MousePan" setting in in settings/experimental (also "AutoWrap" setting was moved to experimental too)
  • Frames now save all visible items instead of deleting items that have negative position values, this change was made so items would not be lost by panning the frame.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Text.java

    r615 r632  
    3939import org.expeditee.gui.FreeItems;
    4040import org.expeditee.math.ExpediteeJEP;
    41 import org.expeditee.settings.UserSettings;
     41import org.expeditee.settings.experimental.ExperimentalFeatures;
    4242import org.nfunk.jep.Node;
    4343
     
    14341434                List<Point[]> lines = null;
    14351435               
    1436                 if(_autoWrap || UserSettings.AutoWrap) {
     1436                if(_autoWrap || ExperimentalFeatures.AutoWrap) {
    14371437                lines = new LinkedList<Point[]>();
    14381438                if(DisplayIO.getCurrentFrame() == null) {
     
    15001500                        _textLayouts.add(layout);
    15011501                                               
    1502                         if(_autoWrap || UserSettings.AutoWrap) {
     1502                        if(_autoWrap || ExperimentalFeatures.AutoWrap) {
    15031503                               
    15041504                        if(lineHeight != Float.NaN) {
     
    16451645                        return;
    16461646               
    1647                 if(_autoWrap || UserSettings.AutoWrap) {
     1647                if(_autoWrap || ExperimentalFeatures.AutoWrap) {
    16481648                        invalidateAll();
    16491649               
     
    21142114               
    21152115                // if autowrap is on, wrapping is done every time we draw
    2116                 if(UserSettings.AutoWrap) {
     2116                if(ExperimentalFeatures.AutoWrap) {
    21172117                        return;
    21182118                }
Note: See TracChangeset for help on using the changeset viewer.