Ignore:
Timestamp:
Feb 16, 2005, 3:51:26 AM (19 years ago)
Author:
altba\rryu
Message:

顔パターンを変えられる機能を無理やり追加した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/MainForm.cs

    r26 r30  
    3131                private FaceDef _currentFaceDef;
    3232                private Configuration _config;
     33                private float _patternSize;
    3334
    3435                private int prevPattern;
     
    229230                                Graphics g = this.Graphics;
    230231                                g.Clear(Color.FromArgb(0, 0, 0, 0));
    231                                 _currentFaceDef.DrawPatternImage(g, suite, pattern, markers);
     232                                _currentFaceDef.DrawPatternImage(g, suite, pattern, markers, _patternSize);
    232233                                this.Update();
    233234                        }
     
    237238                        prevMarkers = markers;
    238239                }
    239                
     240
     241                public float PatternSize
     242                {
     243                        get { return _patternSize; }
     244                        set { _patternSize = value; }
     245                }
    240246
    241247                //
     
    312318                {
    313319                        this.Opacity = (float)_config.Opacity / 100;
     320                        this.PatternSize = (float)_config.PatternSize / 100;
    314321                        this.Location = _config.Location;
    315322                        this.TransparentMouseMessage = _config.TransparentMouseMessage;
Note: See TracChangeset for help on using the changeset viewer.