File tree Expand file tree Collapse file tree 7 files changed +0
-14
lines changed
Tutorials/learn-monogame-2d/src
21-Customizing-Gum-UI/DungeonSlime/UI
22-Snake-Game-Mechanics/DungeonSlime/UI
23-Completing-The-Game/DungeonSlime/UI
24-Shaders/DungeonSlime/UI
25-Packaging-Game/DungeonSlime/UI
26-Publish-To-Itch/DungeonSlime/UI
27-Conclusion/DungeonSlime/UI Expand file tree Collapse file tree 7 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
You can’t perform that action at this time.
0 commit comments