aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleVerticalScrollBar.gui
blob: 9242a05cd3ec29773315333c53044c7e7d9bea3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
  ~ Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
  ~ Copyright (C) 2023  cyoung06 (syeyoung)
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU Affero General Public License as published
  ~ by the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU Affero General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->

<wrapper thickness="7" min="0" max="100" thumbValue="10" minThumbSize="20" thumbColor="#FF4F4F4F" thumbHoverColor="#FF555758" thumbActiveColor="#FF555758" backgroundColor="#FF1F1F1F">
    <size bind:width="thickness">
        <AbstractScrollBar bind:max="max" bind:min="min" bind:current="current" bind:thumbValue="thumbValue" bind:minThumbSize="minThumbSize"
                           orientation="VERTICAL">
            <bgcolor slot="track" bind:backgroundColor="backgroundColor"/>
            <align slot="thumb">
                <size width="4">
                    <ColorButton
                            bind:backgroundColor="thumbColor"          textColor="#FFFFFFFF"
                            bind:hoveredBackgroundColor="thumbHoverColor"   hoveredTextColor="#FFFFFFFF"
                            disabledBackgroundColor="#00000000"  disabledTextColor="#FFFFFFFF"
                            bind:pressedBackgroundColor="thumbActiveColor"   pressedTextColor="#FFFFFFFF"
                            text=""
                    />
                </size>
            </align>
        </AbstractScrollBar>
    </size>
</wrapper>