Changeset 405 for trunk/loci/visbio/view


Ignore:
Timestamp:
05/25/05 14:45:16 (15 years ago)
Author:
curtis
Message:

Add options for adjusting thumbnailing parameters.

Location:
trunk/loci/visbio/view
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/DisplayManager.java

    r404 r405  
    4040  /** Maximum number of simultaneous displays. */ 
    4141  public static final int MAX_DISPLAYS = 32; 
     42 
     43  /** Default maximum resolution for images in a stack. */ 
     44  public static final int DEFAULT_STACK_RESOLUTION = 192; 
    4245 
    4346  /** String for image stack resolution limit option. */ 
     
    122125  } 
    123126 
    124   /** Gets associated control panel. */ 
    125   public DisplayControls getControls() { return displayControls; } 
    126  
    127127  /** Gets maximum resolution of stacked images from VisBio options. */ 
    128128  public int[] getStackResolution() { 
     
    134134  } 
    135135 
     136  /** Gets associated control panel. */ 
     137  public DisplayControls getControls() { return displayControls; } 
     138 
    136139 
    137140  // -- LogicManager API methods -- 
     
    210213    bio.setSplashStatus(null); 
    211214    OptionManager om = (OptionManager) bio.getManager(OptionManager.class); 
    212     int stackRes = StackHandler.DEFAULT_STACK_RESOLUTION; 
     215    int stackRes = DEFAULT_STACK_RESOLUTION; 
    213216    om.addOption("Visualization", new ResolutionToggleOption(STACK_LIMIT, 'l', 
    214217      "Adjusts resolution limit of image stacks", true, stackRes, stackRes)); 
  • trunk/loci/visbio/view/StackHandler.java

    r404 r405  
    4040 
    4141  // -- Constants -- 
    42  
    43   /** Default maximum resolution for images in a stack. */ 
    44   public static final int DEFAULT_STACK_RESOLUTION = 192; 
    4542 
    4643  /** Starting FPS for animation for image stacks. */ 
Note: See TracChangeset for help on using the changeset viewer.