Add backButton style.

This commit is contained in:
John Preston 2019-09-20 14:47:07 +03:00
parent 82ccac3200
commit 6fb693f606
4 changed files with 16 additions and 0 deletions

BIN
icons/box_button_back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

View file

@ -1145,3 +1145,19 @@ menuToggle: IconButton {
color: windowBgOver; color: windowBgOver;
} }
} }
backButtonIcon: icon {{ "box_button_back", menuIconFg }};
backButtonIconOver: icon {{ "box_button_back", menuIconFgOver }};
backButton: IconButton(defaultIconButton) {
width: 40px;
height: 40px;
icon: backButtonIcon;
iconOver: backButtonIconOver;
rippleAreaPosition: point(0px, 0px);
rippleAreaSize: 40px;
ripple: RippleAnimation(defaultRippleAnimation) {
color: windowBgOver;
}
}