mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Add a little header to the colour cube menu so you see the state of ALL of the colours, not just the three that fit on screen at once.
https://cdn.discordapp.com/attachments/293238104096112641/307998638246723597/srb20016.png
This commit is contained in:
parent
3523d6ab8a
commit
52b19da009
1 changed files with 10 additions and 0 deletions
10
src/m_menu.c
10
src/m_menu.c
|
@ -8632,6 +8632,16 @@ static void M_DrawColorMenu(void)
|
|||
x = currentMenu->x;
|
||||
y = currentMenu->y;
|
||||
|
||||
V_DrawFill(19 , y-4, 47, 1, 35);
|
||||
V_DrawFill(19+( 47), y-4, 47, 1, 73);
|
||||
V_DrawFill(19+(2*47), y-4, 47, 1, 112);
|
||||
V_DrawFill(19+(3*47), y-4, 47, 1, 255);
|
||||
V_DrawFill(19+(4*47), y-4, 47, 1, 152);
|
||||
V_DrawFill(19+(5*47), y-4, 46, 1, 181);
|
||||
|
||||
V_DrawFill(300, y-4, 1, 1, 26);
|
||||
V_DrawFill( 19, y-3, 282, 1, 26);
|
||||
|
||||
if ((currentMenu->menuitems[itemOn].alphaKey*2 - currentMenu->menuitems[0].alphaKey*2) <= scrollareaheight)
|
||||
tempcentery = currentMenu->y - currentMenu->menuitems[0].alphaKey*2;
|
||||
else if ((currentMenu->menuitems[currentMenu->numitems-1].alphaKey*2 - currentMenu->menuitems[itemOn].alphaKey*2) <= scrollareaheight)
|
||||
|
|
Loading…
Reference in a new issue