Changeset 155 for aedes_resviewer.m


Ignore:
Timestamp:
Jan 24, 2011, 10:22:47 AM (8 years ago)
Author:
tjniskan
Message:
  • Added support for multiple monitor systems

M aedes_inputdlg.m
M aedes_roi_copy_gui.m
A aedes_dialoglocation.m
M aedes_readfidprefs.m
M aedes_rotateflip.m
M aedes_resviewer.m
M aedes.m
M aedes_helpabout.m
M plugins/fat_analysis.m
M plugins/copy_data_to_workspace.m
M aedes_export_gui.m
M aedes_headerbrowser.m
M aedes_revision.m
M aedes_juigetfiles.m
M aedes_editstack.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_resviewer.m

    r150 r155  
    4949
    5050% If Res-structure is given as an input argument, go to "single-file" mode
    51 if nargin==1
     51if nargin == 1
    5252  % Check that the Res structure is valid
    5353  if isstruct(Res_in) && isfield(Res_in,'Stat') && ...
     
    5757  else
    5858    error('The Res-structure is not valid!')
    59   end
    60  
    61 elseif nargin>1
     59        end
     60 
     61elseif nargin > 1
    6262  error('Too many input arguments')
    6363end
     64
    6465
    6566l_DrawGUI;
     
    7677 
    7778%% Load default font and colors
    78   GD=aedes_gui_defaults;
    79  
    80   % Position figure to the center of the screen
    81   scrsz = get(0,'screensize');
     79  GD=aedes_gui_defaults;       
     80
    8281  fig_w = 1000;
    8382  fig_h = 600;
    84   fig_pos = [scrsz(3)/2-fig_w/2 scrsz(4)/2-fig_h/2 fig_w fig_h];
    85  
     83        fig_location = aedes_dialoglocation([fig_w,fig_h]);
     84        fig_pos = [fig_location(1) fig_location(2) fig_w fig_h];
     85       
    8686  %% Main Figure ----------------------------
    8787  H.MAINFIG = figure('Units','Pixel', ...
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008