Skip to content

Commit

Permalink
renamed ProgressDial to ProgressGauge
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOfDragons committed Sep 19, 2024
1 parent af0c1a9 commit 91eb6f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dstestproject/data/guithemes/ui.guitheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@


<!-- scrollbars -->
<designer name='ProgressDial.Dial1' type='ProgressDial'>
<designer name='ProgressGauge.Gauge1' type='ProgressGauge'>
<canvasCreator parameter='normal.canvas' type='Image'>
<image parameter='image'>test1/dial/background.webp</image>
</canvasCreator>
Expand All @@ -175,7 +175,7 @@
<point parameter='normal.minimumSize' x='64' y='64'/>
</designer>

<designer name='ProgressDial.Dial2' extendNamed='ProgressDial.Dial1'>
<designer name='ProgressGauge.Gauge2' extendNamed='ProgressGauge.Gauge1'>
<float parameter='blendWidth'>0.2</float>
</designer>

Expand Down
6 changes: 4 additions & 2 deletions dstestproject/data/scripts/WindowScrollbars.ds
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ pin Dragengine.Gui
pin Dragengine.Gui.Layouts
pin Dragengine.Gui.Layouts
pin Dragengine.Gui
pin Dragengine.Gui
pin Dragengine.Gui



Expand Down Expand Up @@ -149,8 +151,8 @@ class WindowScrollbars extends Window
p.addWidget(ScrollPanel.new(textArea))

p.addWidget(Panel.new(FlowLayout.new(LayoutAxis.x, 5), block Panel p2
p2.addWidget(ProgressDial.new(modelScroll, "ProgressDial.Dial1"))
p2.addWidget(ProgressDial.new(modelScroll, "ProgressDial.Dial2"))
p2.addWidget(ProgressGauge.new(modelScroll, "ProgressDial.Gauge1"))
p2.addWidget(ProgressGauge.new(modelScroll, "ProgressDial.Gauge2"))
end))
end), BorderLayout.Area.content)
end
Expand Down

0 comments on commit 91eb6f5

Please sign in to comment.