Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000335MPfmUI | Custom Controls | Windows (WinForms)public2012-04-09 12:122012-04-28 22:33
Reporterycastonguay 
Assigned Toycastonguay 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version0.6.0.0Fixed in Version0.6.0.0 
Summary0000335: Add a PaintHelper static class to regroup rendering code
DescriptionBackground gradients are rendered frequently in the custom controls and it would be a great idea to regroup all this code under a few methods in a PaintHelper static class.
TagsNo tags attached.
Attached Files

- Relationships
child of 0000307assignedycastonguay Add themes (only for the Windows platform) 

-  Notes
(0000579)
svn (developer)
2012-04-09 13:08

The user animal has checked in files related to this issue (revision 408).

Comment:
MPfm 0.6.0.0
- Added custom FlowLayoutPanel control with gradient background.
- Added ThemeHelper static class with the RenderBackgroundGradient method.
- Moved container controls into Container folder.

Related to issue 0000334 and issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
A MPfm/branches/current/MPfm.WindowsControls/Containers/
A MPfm/branches/current/MPfm.WindowsControls/Containers/FlowLayoutPanel.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/FlowLayoutPanelTheme.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/Form.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
A MPfm/branches/current/MPfm.WindowsControls/Containers/PanelTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Control.cs
U MPfm/branches/current/MPfm.WindowsControls/MPfm.WindowsControls.csproj
A MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
D MPfm/branches/current/MPfm.WindowsControls/Panel-Forms/
(0000586)
svn (developer)
2012-04-12 11:12

The user animal has checked in files related to this issue (revision 416).

Comment:
MPfm 0.6.0.0
- PaintHelper: Added the LoadFont and SetAntiAliasing methods
- Label: Now using PaintHelper methods.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
(0000589)
svn (developer)
2012-04-14 10:10

The user animal has checked in files related to this issue (revision 419).

Comment:
MPfm 0.6.0.0

* Panel
  - Now inheriting from Control instead of System.Windows.Forms.Panel.
  - Now using PaintHelper methods instead of separate code.
  - Added TextAlign to control properties.
* Label
  - Moved TextAlign to control properties.
* PaintHelper
  - RenderBackgroundGradient: Fixed non visible border on bottom and right side.
  - Added the RenderTextWithAlignment method.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LabelTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
(0000590)
svn (developer)
2012-04-14 10:19

The user animal has checked in files related to this issue (revision 420).

Comment:
MPfm 0.6.0.0
* LinkLabel
  - Added TextAlign to control properties.
  - Now using PaintHelper methods for rendering.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm/frmSplash.Designer.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabelTheme.cs
(0000591)
svn (developer)
2012-04-14 10:48

The user animal has checked in files related to this issue (revision 421).

Comment:
MPfm 0.6.0.0
* PaintHelper
  - Added the RenderImageWithAlignment method.
* Button
  - Now inheriting from MPfm.WindowsControls.Control instead of System.Windows.Forms.Button.
  - Added TextAlign, ImageAlign and Image to control properties.
  - Now using PaintHelper methods for rendering.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmAddEditLoop.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmAddEditMarker.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmEditSongMetadata.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmEffects.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmLoadPlaylist.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmPlaylist.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmRenameSavePlaylist.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmSettings.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmThemes.Designer.cs
U MPfm/branches/current/MPfm/frmFirstRun.Designer.cs
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.Designer.cs
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
U MPfm/branches/current/MPfm.WindowsControls/MPfm.WindowsControls.csproj
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
D MPfm/branches/current/MPfm.WindowsControls/Themes/ExampleTheme.xml
(0000592)
svn (developer)
2012-04-14 13:59

The user animal has checked in files related to this issue (revision 422).

Comment:
MPfm 0.6.0.0
* PaintHelper
  - Added an overload to the RenderBackgroundGradient method (added rectangle for border).
* Button
  - Fixed artifacts by drawing the rectangle slightly off the control (-1, -1 to width+1, height+1).
* Panel
  - Fixed artifacts by drawing the rectangle slightly off the control (-1, -1 to width+1, height+1).

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
(0000593)
svn (developer)
2012-04-14 15:51

The user animal has checked in files related to this issue (revision 423).

Comment:
MPfm 0.6.0.0
* PaintHelper
  - Added padding to the RenderTextGradient method.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/TextGradient.cs
(0000597)
svn (developer)
2012-04-14 18:41

The user animal has checked in files related to this issue (revision 427).

Comment:
MPfm 0.6.0.0
* Fader
  - Added transparency
  - Now using PaintHelper methods
* TrackBar
  - Added transparency
  - Now using PaintHelper methods
* Label
  - Fixed background border bug.
* LinkLabel
  - Fixed background border bug.
* Panel
  - Fixed background border bug.

Related to issue 0000335 and issue 0000336.



Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmEffects.Designer.cs
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm.WindowsControls/Audio/Fader.cs
U MPfm/branches/current/MPfm.WindowsControls/Audio/FaderTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/TrackBar.cs
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/TrackBarTheme.cs
U MPfm/branches/current/MPfm.WindowsControls/Containers/Panel.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
(0000615)
svn (developer)
2012-04-22 09:48

The user animal has checked in files related to this issue (revision 442).

Comment:
MPfm 0.6.0.0
* OutputMeter (Windows Controls)
  - Using PaintHelper methods for rendering.
* PaintHelper (Windows Controls)
  - Added more overload methods for RenderBackgroundGradient (now supports RectangleF objects and a different rectangle for gradient).

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Audio/OutputMeter.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
(0000638)
svn (developer)
2012-04-28 22:02

The user animal has checked in files related to this issue (revision 459).

Comment:
MPfm 0.6.0.0
* PaintHelper (Windows Controls)
  - Fixed positiong issue with Junction font.
* First Run Window (WinForms)
  - Reset the look to the original theme.
* Main Window (WinForms)
  - Minor visual bug fixes.
* Edit Metadata Window (WinForms)
  - Minor visual bug fixes.
* Playlist Window (WinForms)
  - Minor visual bug fixes.
* Update Library Window (WinForms)
  - Minor visual bug fixes.

Related to issue 0000333 and issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmEditSongMetadata.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmPlaylist.Designer.cs
U MPfm/branches/current/MPfm/Other Screens/frmPlaylist.cs
U MPfm/branches/current/MPfm/Other Screens/frmPlaylist.resx
U MPfm/branches/current/MPfm/frmFirstRun.Designer.cs
U MPfm/branches/current/MPfm/frmFirstRun.resx
U MPfm/branches/current/MPfm/frmMain.Designer.cs
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.Designer.cs
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.resx
U MPfm/branches/current/MPfm.WindowsControls/Misc/PaintHelper.cs
(0000640)
svn (developer)
2012-04-28 22:31

The user animal has checked in files related to this issue (revision 461).

Comment:
MPfm 0.6.0.0
* Wave Form Display (Windows Controls)
  - Now using PaintHelper methods for loading embedded fonts and anti-alisasing.
* Main Window (WinForms)
  - Minor visual bug fixes.

Related to issue 0000335.



Files modified:
U MPfm/branches/current/MPfm/frmMain.resx
U MPfm/branches/current/MPfm.WindowsControls/Audio/WaveFormDisplay.cs
(0000641)
ycastonguay (administrator)
2012-04-28 22:33

There is still work on this task to be done; the SongGridView control needs to be updated, but that will be quite time consuming. So it will be done later.

- Issue History
Date Modified Username Field Change
2012-04-09 12:12 ycastonguay New Issue
2012-04-09 12:12 ycastonguay Status new => assigned
2012-04-09 12:12 ycastonguay Assigned To => ycastonguay
2012-04-09 12:12 ycastonguay Relationship added child of 0000307
2012-04-09 13:08 svn Checkin
2012-04-09 13:08 svn Note Added: 0000579
2012-04-12 11:12 svn Checkin
2012-04-12 11:12 svn Note Added: 0000586
2012-04-14 10:09 ycastonguay Summary Add a ThemeHelper static class to regroup rendering code => Add a PaintHelper static class to regroup rendering code
2012-04-14 10:09 ycastonguay Description Updated View Revisions
2012-04-14 10:10 svn Checkin
2012-04-14 10:10 svn Note Added: 0000589
2012-04-14 10:19 svn Checkin
2012-04-14 10:19 svn Note Added: 0000590
2012-04-14 10:48 svn Checkin
2012-04-14 10:48 svn Note Added: 0000591
2012-04-14 13:59 svn Checkin
2012-04-14 13:59 svn Note Added: 0000592
2012-04-14 15:51 svn Checkin
2012-04-14 15:51 svn Note Added: 0000593
2012-04-14 18:41 svn Checkin
2012-04-14 18:41 svn Note Added: 0000597
2012-04-17 19:10 ycastonguay Category Controls => Windows Controls
2012-04-22 09:48 svn Checkin
2012-04-22 09:48 svn Note Added: 0000615
2012-04-24 20:59 ycastonguay Category Windows Controls => UI | Windows | Custom Controls
2012-04-24 20:59 ycastonguay Category UI | Windows | Custom Controls => Custom Controls | Windows
2012-04-24 21:00 ycastonguay Category Custom Controls | Windows => UI | Custom Controls | Windows
2012-04-24 21:01 ycastonguay Category UI | Custom Controls | Windows => UI | Custom Controls | Windows (WinForms)
2012-04-28 22:02 svn Checkin
2012-04-28 22:02 svn Note Added: 0000638
2012-04-28 22:31 svn Checkin
2012-04-28 22:31 svn Note Added: 0000640
2012-04-28 22:33 ycastonguay Note Added: 0000641
2012-04-28 22:33 ycastonguay Status assigned => resolved
2012-04-28 22:33 ycastonguay Fixed in Version => 0.6.0.0
2012-04-28 22:33 ycastonguay Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker