Redo menu a little
This commit is contained in:
parent
23c63d101a
commit
4b6fcdb1a4
4 changed files with 7 additions and 8 deletions
10
renderer.h
10
renderer.h
|
@ -1980,10 +1980,8 @@ void LCR_rendererDrawMenu(const char *tabName,const char **items,
|
|||
unsigned char itemCount,char selectedItem, char scroll)
|
||||
{
|
||||
#if !LCR_ANT_RESOLUTION
|
||||
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
|
||||
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
||||
// int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 7;
|
||||
// int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 9;
|
||||
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
|
||||
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
||||
#else
|
||||
int stripHeight = 6;
|
||||
int stripHeight2 = 0;
|
||||
|
@ -1991,7 +1989,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
|||
|
||||
int i = 0;
|
||||
#if !(LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR)
|
||||
uint16_t effect = LCR_renderer.frame >> 1;
|
||||
uint16_t effect = LCR_renderer.frame >> 2;
|
||||
#endif
|
||||
|
||||
LCR_LOG2("drawing menu");
|
||||
|
@ -2002,7 +2000,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
|||
#if LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR
|
||||
);
|
||||
#else
|
||||
^ (effect & 0x41c3));
|
||||
^ (effect & 0x1863) ^ (i & 0x1863));
|
||||
|
||||
effect += 5 + i % 4;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue