Mercurial > hg > ltpda
diff m-toolbox/m/gui/gltpda/pan3repo.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/m/gui/gltpda/pan3repo.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,27 @@ +function pan3repo(varargin) + +% ======================================================================== +% ===================== Panel to recall the RepoGUI ====================== +% ======================================================================== +% +% $Id: pan3repo.m,v 1.2 2008/12/16 19:30:26 nicola Exp $ + +scaleX = getappdata(0, 'ltpda_gui_scalefactor'); +guiFontSize = round(10*scaleX); +set(gcf,'NextPlot','new'); + +% alltimers = timerfindall; +% stop(alltimers(2)); +% set(alltimers(2),'TimerFcn',@ContinuousCheck,'Period',1); +% start(alltimers(2)); + +%% + +currPanel = varargin{1}; +panelDimens = get(currPanel, 'Position'); +backColor = get(currPanel, 'BackgroundColor'); + + + uicontrol('Parent',currPanel,'Units','normalized','HorizontalAlignment','center','Position',[0.2 .5 .6 .08],'FontSize',guiFontSize,'String','Open the Repository GUI','TooltipString','Open the Repository GUI','Visible','on','Callback',@repogui2,'Style','pushbutton'); + +end