Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000336MPfmUI | Custom Controls | Windows (WinForms)public2012-04-14 18:292012-04-14 18:42
Reporterycastonguay 
Assigned Toycastonguay 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version0.6.0.0Fixed in Version0.6.0.0 
Summary0000336: Add transparency to the Fader and TrackBar controls
DescriptionAdd transparency by calling the same code found in the Label and LinkLabel controls.

                // Check if the gradient background should be used
                if (!theme.IsBackgroundTransparent)
                {
                    // Draw background gradient (cover -1 pixel to fix graphic bug)
                    Rectangle rectBackground = new Rectangle(-1, -1, ClientRectangle.Width + 2, ClientRectangle.Height + 2);
                    Rectangle rectBorder = new Rectangle(0, 0, ClientRectangle.Width - 1, ClientRectangle.Height - 1);
                    PaintHelper.RenderBackgroundGradient(g, rectBackground, rectBorder, theme.TextGradient);
                }
                else
                {
                    // Call paint background
                    base.OnPaintBackground(pe); // CPU intensive when transparent
                }
TagsNo tags attached.
Attached Files

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

-  Notes
(0000598)
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

- Issue History
Date Modified Username Field Change
2012-04-14 18:29 ycastonguay New Issue
2012-04-14 18:29 ycastonguay Status new => assigned
2012-04-14 18:29 ycastonguay Assigned To => ycastonguay
2012-04-14 18:29 ycastonguay Relationship added child of 0000307
2012-04-14 18:41 svn Checkin
2012-04-14 18:41 svn Note Added: 0000598
2012-04-14 18:42 ycastonguay Status assigned => resolved
2012-04-14 18:42 ycastonguay Fixed in Version => 0.6.0.0
2012-04-14 18:42 ycastonguay Resolution open => fixed
2012-04-17 19:10 ycastonguay Category Controls => Windows Controls
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)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker