mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
swap arrow_down and arrow_up
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2146 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
19cfb4a2c5
commit
0f0bd47812
1 changed files with 2 additions and 2 deletions
|
@ -1218,10 +1218,10 @@ void SL_SliderDraw (int x, int y, menucustom_t *ths, menu_t *menu)
|
||||||
{
|
{
|
||||||
Draw_ScalePic(x + ths->common.width - 8, y+8, 8, ths->common.height-16, pic);
|
Draw_ScalePic(x + ths->common.width - 8, y+8, 8, ths->common.height-16, pic);
|
||||||
|
|
||||||
pic = Draw_SafeCachePic("scrollbars/arrow_down.png");
|
pic = Draw_SafeCachePic("scrollbars/arrow_up.png");
|
||||||
Draw_ScalePic(x + ths->common.width - 8, y, 8, 8, pic);
|
Draw_ScalePic(x + ths->common.width - 8, y, 8, 8, pic);
|
||||||
|
|
||||||
pic = Draw_SafeCachePic("scrollbars/arrow_up.png");
|
pic = Draw_SafeCachePic("scrollbars/arrow_down.png");
|
||||||
Draw_ScalePic(x + ths->common.width - 8, y + ths->common.height - 8, 8, 8, pic);
|
Draw_ScalePic(x + ths->common.width - 8, y + ths->common.height - 8, 8, 8, pic);
|
||||||
|
|
||||||
y += ((info->scrollpos) / ((float)info->numslots - info->visibleslots)) * (float)(ths->common.height-(64+16-1));
|
y += ((info->scrollpos) / ((float)info->numslots - info->visibleslots)) * (float)(ths->common.height-(64+16-1));
|
||||||
|
|
Loading…
Reference in a new issue