Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
1.0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdelrhman-AK committed Aug 13, 2022
1 parent 253d40b commit 918c2fe
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 35 deletions.
18 changes: 9 additions & 9 deletions WinPaletter/GUI/RetroUI.vb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Public Class RetroButton : Inherits Button
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
Dim B As New Bitmap(Width, Height)
Dim G As Graphics = Graphics.FromImage(B)
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -303,7 +303,7 @@ Public Class RetroCheckBox

Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -412,7 +412,7 @@ Public Class RetroRadioButton

Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -715,7 +715,7 @@ End Class
Dim G As Graphics = Graphics.FromImage(B)
G = Graphics.FromImage(B)
DoubleBuffered = True
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint

MyBase.OnPaint(e)
Expand Down Expand Up @@ -792,7 +792,7 @@ Public Class RetroGroupBox : Inherits GroupBox
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
Dim B As New Bitmap(Width, Height)
Dim G As Graphics = Graphics.FromImage(B)
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True
G.Clear(BackColor)
Expand Down Expand Up @@ -881,7 +881,7 @@ Public Class RetroPanel : Inherits Panel

Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -917,7 +917,7 @@ Public Class RetroPanelRaised : Inherits Panel

Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -963,7 +963,7 @@ Public Class RetroWindow : Inherits Panel
Public Property ButtonLight As Color = Color.FromArgb(192, 192, 192)
Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down Expand Up @@ -1021,7 +1021,7 @@ Public Class RetroScrollBar : Inherits Panel
Public Property ButtonHilight As Color = Color.White
Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
Dim G As Graphics = e.Graphics
G.SmoothingMode = SmoothingMode.AntiAlias
G.SmoothingMode = SmoothingMode.HighSpeed
G.TextRenderingHint = My.Application.TextRenderingHint
DoubleBuffered = True

Expand Down
73 changes: 48 additions & 25 deletions WinPaletter/Win32UI.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 918c2fe

Please sign in to comment.