Skip to content

Commit b23c9dd

Browse files
committed
Fixed text drawn above icon. (same as d696d9e)
1 parent 0757f54 commit b23c9dd

13 files changed

Lines changed: 13 additions & 26 deletions

ReClass.NET/Nodes/BaseFunctionPtrNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ protected Size Draw(ViewInfo view, int x, int y, string type, string name)
3333
return DrawHidden(view, x, y);
3434
}
3535

36-
DrawInvalidMemoryIndicator(view, y);
37-
3836
var origX = x;
3937

4038
AddSelection(view, x, y, view.Font.Height);
@@ -73,6 +71,7 @@ protected Size Draw(ViewInfo view, int x, int y, string type, string name)
7371
}
7472
}
7573

74+
DrawInvalidMemoryIndicator(view, y);
7675
AddTypeDrop(view, y);
7776
AddDelete(view, y);
7877

ReClass.NET/Nodes/BaseHexNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ protected Size Draw(ViewInfo view, int x, int y, string text, int length)
3535
return DrawHidden(view, x, y);
3636
}
3737

38-
DrawInvalidMemoryIndicator(view, y);
39-
4038
var origX = x;
4139

4240
AddSelection(view, x, y, view.Font.Height);
@@ -85,6 +83,7 @@ protected Size Draw(ViewInfo view, int x, int y, string text, int length)
8583

8684
x = AddComment(view, x, y);
8785

86+
DrawInvalidMemoryIndicator(view, y);
8887
AddTypeDrop(view, y);
8988
AddDelete(view, y);
9089

ReClass.NET/Nodes/BaseMatrixNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ protected Size DrawMatrixType(ViewInfo view, int x, int y, string type, DrawMatr
2727
return DrawHidden(view, x, y);
2828
}
2929

30-
DrawInvalidMemoryIndicator(view, y);
31-
3230
var origX = x;
3331
var origY = y;
3432

@@ -53,6 +51,7 @@ protected Size DrawMatrixType(ViewInfo view, int x, int y, string type, DrawMatr
5351

5452
x = AddComment(view, x, y);
5553

54+
DrawInvalidMemoryIndicator(view, y);
5655
AddTypeDrop(view, y);
5756
AddDelete(view, y);
5857

ReClass.NET/Nodes/BaseNumericNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ protected Size DrawNumeric(ViewInfo view, int x, int y, Image icon, string type,
2727
return DrawHidden(view, x, y);
2828
}
2929

30-
DrawInvalidMemoryIndicator(view, y);
31-
3230
var origX = x;
3331

3432
AddSelection(view, x, y, view.Font.Height);
@@ -52,6 +50,7 @@ protected Size DrawNumeric(ViewInfo view, int x, int y, Image icon, string type,
5250

5351
x = AddComment(view, x, y);
5452

53+
DrawInvalidMemoryIndicator(view, y);
5554
AddTypeDrop(view, y);
5655
AddDelete(view, y);
5756

ReClass.NET/Nodes/BaseTextNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ protected Size DrawText(ViewInfo view, int x, int y, string type)
3737
var length = MemorySize / CharacterSize;
3838
var text = ReadValueFromMemory(view.Memory);
3939

40-
DrawInvalidMemoryIndicator(view, y);
41-
4240
var origX = x;
4341

4442
AddSelection(view, x, y, view.Font.Height);
@@ -62,6 +60,7 @@ protected Size DrawText(ViewInfo view, int x, int y, string type)
6260

6361
x = AddComment(view, x, y);
6462

63+
DrawInvalidMemoryIndicator(view, y);
6564
AddTypeDrop(view, y);
6665
AddDelete(view, y);
6766

ReClass.NET/Nodes/BaseTextPtrNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public Size DrawText(ViewInfo view, int x, int y, string type)
3232
var ptr = view.Memory.ReadIntPtr(Offset);
3333
var text = view.Memory.Process.ReadRemoteString(Encoding, ptr, 64);
3434

35-
DrawInvalidMemoryIndicator(view, y);
36-
3735
var origX = x;
3836

3937
AddSelection(view, x, y, view.Font.Height);
@@ -54,6 +52,7 @@ public Size DrawText(ViewInfo view, int x, int y, string type)
5452

5553
x = AddComment(view, x, y);
5654

55+
DrawInvalidMemoryIndicator(view, y);
5756
AddTypeDrop(view, y);
5857
AddDelete(view, y);
5958

ReClass.NET/Nodes/BaseWrapperArrayNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ protected Size Draw(ViewInfo view, int x, int y, string type)
3434
return DrawHidden(view, x, y);
3535
}
3636

37-
DrawInvalidMemoryIndicator(view, y);
38-
3937
var origX = x;
4038

4139
AddSelection(view, x, y, view.Font.Height);
@@ -67,6 +65,7 @@ protected Size Draw(ViewInfo view, int x, int y, string type)
6765
x += view.Font.Width;
6866
x = AddComment(view, x, y);
6967

68+
DrawInvalidMemoryIndicator(view, y);
7069
AddTypeDrop(view, y);
7170
AddDelete(view, y);
7271

ReClass.NET/Nodes/BitFieldNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ public override Size Draw(ViewInfo view, int x, int y)
9898
return DrawHidden(view, x, y);
9999
}
100100

101-
DrawInvalidMemoryIndicator(view, y);
102-
103101
var origX = x;
104102
var origY = y;
105103

@@ -130,6 +128,7 @@ public override Size Draw(ViewInfo view, int x, int y)
130128

131129
x = AddComment(view, x, y);
132130

131+
DrawInvalidMemoryIndicator(view, y);
133132
AddTypeDrop(view, y);
134133
AddDelete(view, y);
135134

ReClass.NET/Nodes/BoolNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ public override Size Draw(ViewInfo view, int x, int y)
2020
return DrawHidden(view, x, y);
2121
}
2222

23-
DrawInvalidMemoryIndicator(view, y);
24-
2523
var origX = x;
2624

2725
AddSelection(view, x, y, view.Font.Height);
@@ -42,6 +40,7 @@ public override Size Draw(ViewInfo view, int x, int y)
4240

4341
x = AddComment(view, x, y);
4442

43+
DrawInvalidMemoryIndicator(view, y);
4544
AddTypeDrop(view, y);
4645
AddDelete(view, y);
4746

ReClass.NET/Nodes/ClassInstanceNode.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ public override Size Draw(ViewInfo view, int x, int y)
3535
return DrawHidden(view, x, y);
3636
}
3737

38-
DrawInvalidMemoryIndicator(view, y);
39-
4038
var origX = x;
4139
var origY = y;
4240

@@ -58,6 +56,7 @@ public override Size Draw(ViewInfo view, int x, int y)
5856

5957
x = AddComment(view, x, y);
6058

59+
DrawInvalidMemoryIndicator(view, y);
6160
AddTypeDrop(view, y);
6261
AddDelete(view, y);
6362

0 commit comments

Comments
 (0)