Exemplo n.º 1
0
 public RenderProfile(CommonOptions opt)
 {
     Init(opt);
 }
Exemplo n.º 2
0
        private void Init(CommonOptions opt)
        {
            //�N���̍������̂��߁A�t�H���g�̍쐬�͒x���]��
            _fontName = opt.FontName;
            _japaneseFontName = opt.JapaneseFontName;
            _fontSize = opt.FontSize;
            _useClearType = opt.UseClearType;
            _japaneseFont = _font = null;
            _esColorSet = (EscapesequenceColorSet)opt.ESColorSet.Clone();

            _forecolor = opt.TextColor;
            _bgcolor = opt.BGColor;
            _bgbrush = _brush = null;

            _backgroundImageFileName = opt.BackgroundImageFileName;
            _imageLoadIsAttempted = false;
            _imageStyle = opt.ImageStyle;
        }
Exemplo n.º 3
0
 public void ApplyOptions(CommonOptions opt)
 {
     int i;
     for(i=0; i<_panes.Length; i++) {
         if(_panes[i]!=null) _panes[i].ApplyOptions(opt);
     }
 }
Exemplo n.º 4
0
 public void ApplyOptions(CommonOptions opt)
 {
     if(_tag!=null && _tag.RenderProfile!=null) return; //�ŗL��Profile������Ȃ�I�v�V�����ɂ͔������Ȃ�
     ApplyRenderProfile(new RenderProfile(opt));
 }
Exemplo n.º 5
0
        public void CopyTo(CommonOptions o)
        {
            o._closeOnDisconnect = _closeOnDisconnect;
            o._disconnectNotification = _disconnectNotification;
            o._beepOnBellChar = _beepOnBellChar;
            o._askCloseOnExit = _askCloseOnExit;
            o._quitAppWithLastPane = _quitAppWithLastPane;
            o._autoCopyByLeftButton = _autoCopyByLeftButton;
            o._send0x7FByDel = _send0x7FByDel;
            o._keepAliveInterval = _keepAliveInterval;
            o._adjustsTabTitleToWindowTitle = _adjustsTabTitleToWindowTitle;
            o._allowsScrollInAppMode = _allowsScrollInAppMode;
            o._wheelAmount = _wheelAmount;
            o._terminalBufferSize = _terminalBufferSize;
            o._retainsPassphrase = _retainsPassphrase;
            o._warningOption = _warningOption;
            o._localBufferScrollModifier = _localBufferScrollModifier;

            o._rightButtonAction = _rightButtonAction;
            o._leftAltKey = _leftAltKey;
            o._rightAltKey = _rightAltKey;
            o._additionalWordElement = _additionalWordElement;

            o._font = null;
            o._japaneseFont = null;
            o._fontName = _fontName;
            o._japaneseFontName = _japaneseFontName;
            o._useClearType = _useClearType;
            o._fontSize = _fontSize;
            o._bgColor = _bgColor;
            o._textColor = _textColor;
            o._esColorSet = (EscapesequenceColorSet)_esColorSet.Clone();
            o._backgroundImageFileName = _backgroundImageFileName;
            o._caretType = _caretType;
            o._caretColor = _caretColor;
            o._imageStyle = _imageStyle;

            o._cipherAlgorithmOrder = (string[])_cipherAlgorithmOrder.Clone();
            o._hostKeyAlgorithmOrder = (string[])_hostKeyAlgorithmOrder.Clone();
            o._sshWindowSize = _sshWindowSize;
            o._sshCheckMAC = _sshCheckMAC;
            o._defaultLogType = _defaultLogType;
            o._defaultLogDirectory = _defaultLogDirectory;
            o._useSocks = _useSocks;
            o._socksServer = _socksServer;
            o._socksPort = _socksPort;
            o._socksAccount = _socksAccount;
            o._socksPassword = _socksPassword;
            o._socksNANetworks = _socksNANetworks;
        }
Exemplo n.º 6
0
 public virtual object Clone()
 {
     CommonOptions o = new CommonOptions();
     CopyTo(o);
     return o;
 }