Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-mac"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
<PackageReference Include="Gum.MonoGame" Version="2026.5.8.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGameLibrary\MonoGameLibrary.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace DungeonSlime.UI;
/// A custom button implementation that inherits from Gum's Button class to provide
/// animated visual feedback when focused.
/// </summary>
internal class AnimatedButton : Button
public class AnimatedButton : Button
{
/// <summary>
/// Creates a new AnimatedButton instance using graphics from the specified texture atlas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
offBackground.TextureWidth = offBackgroundRegion.Width;
offBackground.Width = 28f;
offBackground.WidthUnits = DimensionUnitType.Absolute;
offBackground.Dock(Gum.Wireframe.Dock.Left);
innerContainer.AddChild(offBackground);

TextureRegion middleBackgroundRegion = atlas.GetRegion("slider-middle-background");

// Create the middle track portion of the slider
NineSliceRuntime middleBackground = new NineSliceRuntime();
middleBackground.Dock(Gum.Wireframe.Dock.FillVertically);
middleBackground.Texture = middleBackgroundRegion.Texture;
middleBackground.TextureAddress = TextureAddress.Custom;
middleBackground.TextureHeight = middleBackgroundRegion.Height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4">
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-mac"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
<PackageReference Include="Gum.MonoGame" Version="2026.5.8.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGameLibrary\MonoGameLibrary.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace DungeonSlime.UI;
/// A custom button implementation that inherits from Gum's Button class to provide
/// animated visual feedback when focused.
/// </summary>
internal class AnimatedButton : Button
public class AnimatedButton : Button
{
/// <summary>
/// Creates a new AnimatedButton instance using graphics from the specified texture atlas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
offBackground.TextureWidth = offBackgroundRegion.Width;
offBackground.Width = 28f;
offBackground.WidthUnits = DimensionUnitType.Absolute;
offBackground.Dock(Gum.Wireframe.Dock.Left);
innerContainer.AddChild(offBackground);

TextureRegion middleBackgroundRegion = atlas.GetRegion("slider-middle-background");

// Create the middle track portion of the slider
NineSliceRuntime middleBackground = new NineSliceRuntime();
middleBackground.Dock(Gum.Wireframe.Dock.FillVertically);
middleBackground.Texture = middleBackgroundRegion.Texture;
middleBackground.TextureAddress = TextureAddress.Custom;
middleBackground.TextureHeight = middleBackgroundRegion.Height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4">
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions Tutorials/2dShaders/src/04-Debug-UI/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-mac"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
<PackageReference Include="Gum.MonoGame" Version="2026.5.8.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGameLibrary\MonoGameLibrary.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace DungeonSlime.UI;
/// A custom button implementation that inherits from Gum's Button class to provide
/// animated visual feedback when focused.
/// </summary>
internal class AnimatedButton : Button
public class AnimatedButton : Button
{
/// <summary>
/// Creates a new AnimatedButton instance using graphics from the specified texture atlas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
offBackground.TextureWidth = offBackgroundRegion.Width;
offBackground.Width = 28f;
offBackground.WidthUnits = DimensionUnitType.Absolute;
offBackground.Dock(Gum.Wireframe.Dock.Left);
innerContainer.AddChild(offBackground);

TextureRegion middleBackgroundRegion = atlas.GetRegion("slider-middle-background");

// Create the middle track portion of the slider
NineSliceRuntime middleBackground = new NineSliceRuntime();
middleBackground.Dock(Gum.Wireframe.Dock.FillVertically);
middleBackground.Texture = middleBackgroundRegion.Texture;
middleBackground.TextureAddress = TextureAddress.Custom;
middleBackground.TextureHeight = middleBackgroundRegion.Height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4">
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-mac"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
<PackageReference Include="Gum.MonoGame" Version="2026.5.8.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGameLibrary\MonoGameLibrary.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace DungeonSlime.UI;
/// A custom button implementation that inherits from Gum's Button class to provide
/// animated visual feedback when focused.
/// </summary>
internal class AnimatedButton : Button
public class AnimatedButton : Button
{
/// <summary>
/// Creates a new AnimatedButton instance using graphics from the specified texture atlas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
offBackground.TextureWidth = offBackgroundRegion.Width;
offBackground.Width = 28f;
offBackground.WidthUnits = DimensionUnitType.Absolute;
offBackground.Dock(Gum.Wireframe.Dock.Left);
innerContainer.AddChild(offBackground);

TextureRegion middleBackgroundRegion = atlas.GetRegion("slider-middle-background");

// Create the middle track portion of the slider
NineSliceRuntime middleBackground = new NineSliceRuntime();
middleBackground.Dock(Gum.Wireframe.Dock.FillVertically);
middleBackground.Texture = middleBackgroundRegion.Texture;
middleBackground.TextureAddress = TextureAddress.Custom;
middleBackground.TextureHeight = middleBackgroundRegion.Height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4">
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
"isRoot": true,
"tools": {
"dotnet-mgcb": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb"
]
},
"dotnet-mgcb-editor": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor"
]
},
"dotnet-mgcb-editor-linux": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-linux"
]
},
"dotnet-mgcb-editor-windows": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-windows"
]
},
"dotnet-mgcb-editor-mac": {
"version": "3.8.4",
"version": "3.8.4.1",
"commands": [
"mgcb-editor-mac"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Gum.MonoGame" Version="2025.12.9.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4" />
<PackageReference Include="Gum.MonoGame" Version="2026.5.8.1" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.4.1" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MonoGameLibrary\MonoGameLibrary.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace DungeonSlime.UI;
/// A custom button implementation that inherits from Gum's Button class to provide
/// animated visual feedback when focused.
/// </summary>
internal class AnimatedButton : Button
public class AnimatedButton : Button
{
/// <summary>
/// Creates a new AnimatedButton instance using graphics from the specified texture atlas.
Expand Down
Loading
Loading