Changeset 43
- Timestamp:
- Feb 26, 2005, 4:54:48 AM (19 years ago)
- Location:
- trunk/MacFaceFloat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/MacFaceApp.cs
r41 r43 197 197 198 198 patternWindow.FaceDef = newFaceDef; 199 patternWindow.Refresh Pattern();199 patternWindow.Refresh(); 200 200 201 201 notifyIcon.Text = "MacFace - " + patternWindow.FaceDef.Title; … … 238 238 patternWindow.TransparentMouseMessage = config.TransparentMouseMessage; 239 239 240 patternWindow.Refresh Pattern();240 patternWindow.Refresh(); 241 241 } 242 242 -
trunk/MacFaceFloat/PatternWindow.cs
r42 r43 25 25 { 26 26 InitializeComponent(); 27 TransparentMouseMessage = false; 28 MoveAtFormDrag = true; 27 29 28 this.TransparentMouseMessage = false; 29 this.MoveAtFormDrag = true; 30 30 patternSize = 1.0F; 31 31 curSuite = FaceDef.PatternSuite.Normal; 32 32 curPattern = 0; … … 72 72 curPattern = patternNo; 73 73 curMarkers = markers; 74 Refresh Pattern();74 Refresh(); 75 75 } 76 76 } 77 77 78 public void RefreshPattern()78 public override void Refresh() 79 79 { 80 80 Graphics g = this.Graphics; 81 81 g.Clear(Color.FromArgb(0, 0, 0, 0)); 82 82 curFaceDef.DrawPatternImage(g, curSuite, curPattern, curMarkers, patternSize); 83 this.Update();83 base.Refresh(); 84 84 } 85 85 }
Note: See TracChangeset
for help on using the changeset viewer.