Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function pan3repo(varargin) | |
2 | |
3 % ======================================================================== | |
4 % ===================== Panel to recall the RepoGUI ====================== | |
5 % ======================================================================== | |
6 % | |
7 % $Id: pan3repo.m,v 1.2 2008/12/16 19:30:26 nicola Exp $ | |
8 | |
9 scaleX = getappdata(0, 'ltpda_gui_scalefactor'); | |
10 guiFontSize = round(10*scaleX); | |
11 set(gcf,'NextPlot','new'); | |
12 | |
13 % alltimers = timerfindall; | |
14 % stop(alltimers(2)); | |
15 % set(alltimers(2),'TimerFcn',@ContinuousCheck,'Period',1); | |
16 % start(alltimers(2)); | |
17 | |
18 %% | |
19 | |
20 currPanel = varargin{1}; | |
21 panelDimens = get(currPanel, 'Position'); | |
22 backColor = get(currPanel, 'BackgroundColor'); | |
23 | |
24 | |
25 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'); | |
26 | |
27 end |