Skip to content

Commit

Permalink
Couple last minute fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thommcgrath committed Jun 25, 2024
1 parent 33a2a15 commit 7d34aea
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Project/Modules/Game Support/Ark.xojo_code
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@ Protected Module Ark

#tag Method, Flags = &h0
Function Matches(Extends Blueprint As Ark.Blueprint, Rx As PCRE2CodeMBS) As Boolean
Return (Rx.Match(Blueprint.Path) Is Nil) = False Or (Rx.Match(Blueprint.ClassString) Is Nil) = False Or (Rx.Match(Blueprint.Label) Is Nil) = False
Return (Rx.Match(Blueprint.Path) Is Nil) = False Or (Rx.Match(Blueprint.ClassString) Is Nil) = False Or (Rx.Match(Blueprint.Label) Is Nil) = False Or (Rx.Match(Blueprint.BlueprintId) Is Nil) = False
End Function
#tag EndMethod

#tag Method, Flags = &h0
Function Matches(Extends Blueprint As Ark.Blueprint, Filter As String) As Boolean
Return Blueprint.Path.IndexOf(Filter) > -1 Or Blueprint.Path.IndexOf(Filter) > -1 Or Blueprint.Label.IndexOf(Filter) > -1
Return Blueprint.Path.IndexOf(Filter) > -1 Or Blueprint.Path.IndexOf(Filter) > -1 Or Blueprint.Label.IndexOf(Filter) > -1 Or Blueprint.BlueprintId.IndexOf(Filter) > -1
End Function
#tag EndMethod

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Begin DesktopContainer ModFilterView
Composited = False
Enabled = True
HasBackgroundColor= False
Height = 268
Height = 248
Index = -2147483648
InitialParent = ""
Left = 0
Expand All @@ -36,7 +36,7 @@ Begin DesktopContainer ModFilterView
Height = 140
Index = -2147483648
Italic = False
Left = 20
Left = 10
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -47,11 +47,11 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = ""
Top = 20
Top = 10
Transparent = False
Underline = False
Visible = True
Width = 260
Width = 280
Begin DesktopCheckBox TypeLocalCheck
AllowAutoDeactivate= True
Bold = False
Expand All @@ -64,7 +64,7 @@ Begin DesktopContainer ModFilterView
Index = -2147483648
InitialParent = "TypesGroup"
Italic = False
Left = 40
Left = 30
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -75,12 +75,13 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = "#CheckboxTooltipLocal"
Top = 56
Top = 46
Transparent = False
Underline = False
Value = False
Visible = True
VisualState = 0
Width = 220
Width = 240
End
Begin DesktopCheckBox TypeLocalReadOnlyCheck
AllowAutoDeactivate= True
Expand All @@ -94,7 +95,7 @@ Begin DesktopContainer ModFilterView
Index = -2147483648
InitialParent = "TypesGroup"
Italic = False
Left = 40
Left = 30
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -105,12 +106,13 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = "#CheckboxTooltipLocal"
Top = 88
Top = 78
Transparent = False
Underline = False
Value = False
Visible = True
VisualState = 0
Width = 220
Width = 240
End
Begin DesktopCheckBox TypeRemoteCheck
AllowAutoDeactivate= True
Expand All @@ -124,7 +126,7 @@ Begin DesktopContainer ModFilterView
Index = -2147483648
InitialParent = "TypesGroup"
Italic = False
Left = 40
Left = 30
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -135,12 +137,13 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = "#CheckboxTooltipRemote"
Top = 120
Top = 110
Transparent = False
Underline = False
Value = False
Visible = True
VisualState = 0
Width = 220
Width = 240
End
End
Begin DesktopGroupBox GamesGroup
Expand All @@ -154,7 +157,7 @@ Begin DesktopContainer ModFilterView
Height = 76
Index = -2147483648
Italic = False
Left = 20
Left = 10
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -165,11 +168,11 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = ""
Top = 172
Top = 162
Transparent = False
Underline = False
Visible = True
Width = 260
Width = 280
Begin DesktopCheckBox GameCheckboxes
AllowAutoDeactivate= True
Bold = False
Expand All @@ -182,7 +185,7 @@ Begin DesktopContainer ModFilterView
Index = 0
InitialParent = "GamesGroup"
Italic = False
Left = 40
Left = 30
LockBottom = False
LockedInPosition= False
LockLeft = True
Expand All @@ -193,12 +196,13 @@ Begin DesktopContainer ModFilterView
TabPanelIndex = 0
TabStop = True
Tooltip = ""
Top = 208
Top = 198
Transparent = False
Underline = False
Value = False
Visible = True
VisualState = 0
Width = 220
Width = 240
End
End
End
Expand All @@ -218,14 +222,14 @@ End
Check.Top = NextTop
Check.Height = 20
Check.Width = Self.Width - 80
Check.Left = 40
Check.Left = Self.GamesGroup.Left + 20
Check.Enabled = True
Check.Value = Self.mSettings.Enabled(Games(Idx))
NextTop = Check.Bottom + 12
Next

Self.GamesGroup.Height = (Games.Count * 20) + ((Games.Count - 1) * 12) + 56
Self.Height = 52 + Self.TypesGroup.Height + Self.GamesGroup.Height
Self.Height = 32 + Self.TypesGroup.Height + Self.GamesGroup.Height

Self.TypeLocalCheck.Value = Self.mSettings.Enabled(CType(ModsListView.ViewModes.Local, Integer))
Self.TypeLocalReadOnlyCheck.Value = Self.mSettings.Enabled(CType(ModsListView.ViewModes.LocalReadOnly, Integer))
Expand Down

0 comments on commit 7d34aea

Please sign in to comment.