======================================================================== ======================= Panel yet to come ============================== ======================================================================== This is the GUI m-file to show that the relative panel (see ltpdagui.m) is yet to be programmed. $Id: panXyettocome.m,v 1.1 2008/03/01 13:43:20 nicola Exp $
0001 function varargout = panXyettocome(varargin) 0002 0003 % ======================================================================== 0004 % ======================= Panel yet to come ============================== 0005 % ======================================================================== 0006 % This is the GUI m-file to show that the relative panel (see ltpdagui.m) 0007 % is yet to be programmed. 0008 % 0009 % $Id: panXyettocome.m,v 1.1 2008/03/01 13:43:20 nicola Exp $ 0010 0011 currPanel = varargin{1}; 0012 panelDimens = get(currPanel, 'Position'); 0013 backColor = get(currPanel, 'BackgroundColor'); 0014 0015 uicontrol(... 0016 'Parent',currPanel,... 0017 'BackgroundColor',backColor,... 0018 'Units','pixels',... 0019 'HorizontalAlignment','center',... 0020 'Position',[50, (panelDimens(4)-30)/2, panelDimens(3)-100, 30],... 0021 'Fontname','Times New Roman',... 0022 'FontSize',13,... 0023 'FontAngle','italic',... 0024 'String','This panel is yet to come, but it''s not intended for release in v1.0',... 0025 'TooltipString','You ain''t seen anything yet',... 0026 'Visible','on',... 0027 'Style','text'); 0028