Skip to content

Commit 211f39d

Browse files
committed
Changed icons.
1 parent 03b7f19 commit 211f39d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ReClass.NET/Nodes/EnumNode.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ public override Size Draw(ViewInfo view, int x, int y)
147147

148148
AddSelection(view, x, y, view.Font.Height);
149149

150-
x = AddOpenCloseIcon(view, x, y);
151-
x = AddIcon(view, x, y, Icons.Class, HotSpot.NoneId, HotSpotType.None);
150+
x += TextPadding;
151+
152+
x = AddIcon(view, x, y, Icons.Enum, HotSpot.NoneId, HotSpotType.None);
152153

153154
x = AddAddressOffset(view, x, y);
154155

ReClass.NET/Nodes/UnionNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public override Size Draw(ViewInfo view, int x, int y)
5656
AddSelection(view, x, y, view.Font.Height);
5757

5858
x = AddOpenCloseIcon(view, x, y);
59-
x = AddIcon(view, x, y, Icons.VTable, -1, HotSpotType.None);
59+
x = AddIcon(view, x, y, Icons.Union, -1, HotSpotType.None);
6060

6161
var tx = x;
6262
x = AddAddressOffset(view, x, y);

ReClass.NET/UI/Icons.cs

+2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ public class Icons
1111
public static Image Delete { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Button_Delete);
1212
public static Image DropArrow { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Button_Drop_Down);
1313
public static Image Class { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Class_Type);
14+
public static Image Enum { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Enum_Type);
1415
public static Image Array { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Array_Type);
16+
public static Image Union => Array;
1517
public static Image LeftArrow { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Left_Button);
1618
public static Image RightArrow { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Right_Button);
1719
public static Image Change { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Exchange_Button);

0 commit comments

Comments
 (0)