Use separate top/bottom textures for chat scrollbar
This commit is contained in:
parent
4bcf35116f
commit
a35f56d080
@ -1031,9 +1031,11 @@ void GUIChatConsole::createVScrollBar()
|
|||||||
ITextureSource *tsrc = m_client->getTextureSource();
|
ITextureSource *tsrc = m_client->getTextureSource();
|
||||||
m_vscrollbar->setTextures({
|
m_vscrollbar->setTextures({
|
||||||
tsrc->getTexture("gui/scrollbar_bg.png"),
|
tsrc->getTexture("gui/scrollbar_bg.png"),
|
||||||
tsrc->getTexture("gui/scrollbar_slider_long.png"),
|
tsrc->getTexture("gui/scrollbar_slider_middle.png"),
|
||||||
tsrc->getTexture("gui/scrollbar_up.png"),
|
tsrc->getTexture("gui/scrollbar_up.png"),
|
||||||
tsrc->getTexture("gui/scrollbar_down.png"),
|
tsrc->getTexture("gui/scrollbar_down.png"),
|
||||||
|
tsrc->getTexture("gui/scrollbar_slider_top.png"),
|
||||||
|
tsrc->getTexture("gui/scrollbar_slider_bottom.png"),
|
||||||
});
|
});
|
||||||
|
|
||||||
addChild(m_vscrollbar);
|
addChild(m_vscrollbar);
|
||||||
|
BIN
textures/base/pack/gui/scrollbar_slider_bottom.png
Normal file
BIN
textures/base/pack/gui/scrollbar_slider_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 B |
Binary file not shown.
Before Width: | Height: | Size: 425 B |
BIN
textures/base/pack/gui/scrollbar_slider_middle.png
Normal file
BIN
textures/base/pack/gui/scrollbar_slider_middle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 B |
BIN
textures/base/pack/gui/scrollbar_slider_top.png
Normal file
BIN
textures/base/pack/gui/scrollbar_slider_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 254 B |
Loading…
x
Reference in New Issue
Block a user