Home > functions > common > utility > @file_dialog > private > init_public.m

init_public

PURPOSE ^

publicメンバを初期化する。

SYNOPSIS ^

function public = init_public()

DESCRIPTION ^

 publicメンバを初期化する。

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function public = init_public()
0002 % publicメンバを初期化する。
0003 %
0004 % Copyright (C) 2011, ATR All Rights Reserved.
0005 % License : New BSD License(see VBMEG_LICENSE.txt)
0006 
0007 public = struct(...
0008     'save_mode', 0,...        % 0:Load mod, 1:Save mode
0009     'dialog_title', '', ... % dialogのタイトル
0010     'file_extensions', [],...    % 検索対象のファイル拡張子(cell配列)
0011     'current_dir', pwd,...    % current検索directory
0012     'filter_str', '*',...   % Filter文字列
0013     'hist_dir', [],...        % 検索directoryの履歴(cell配列)
0014     ...    % GUIの色を指定する。
0015     'dialog_color', [0.9, 0.9, 0.9],...    % dialogのbackground color
0016     'bgcol_panel', [0.8, 0.8, 0.8],...    % panelのbackground color
0017     'fgcol_panel', [0.1, 0.1, 0.4],...    % panelのforeground color
0018     'fgcol_text', [0.1, 0.1, 0.4],...    % static text labelのforeground color
0019     'bgcol_popup', [1.0, 1.0, 1.0],...    % pop-up menuのbackground color
0020     'fgcol_popup', [0.0, 0.0, 0.0],...    % pop-up menuのforeground color
0021     'bgcol_listbox', [1.0, 1.0, 1.0],...    % list boxのbackground color
0022     'fgcol_listbox', [0.0, 0.0, 0.0],...    % list boxのforeground color
0023     'bgcol_edit', [1.0, 1.0, 1.0],...    % edit textのbackground color
0024     'fgcol_edit', [0.0, 0.0, 0.0],...    % edit textのforeground color
0025     'bgcol_push', [0.8, 0.8, 0.9],...    % push buttonのbackground color
0026     'fgcol_push', [0.0, 0.0, 0.0]...    % push buttonのforeground color
0027     );
0028 public.file_extensions = {'.*'};
0029 public.hist_dir = {};
0030

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005