0x0046D34D based on
| 976 | |
| 977 | // 0x0046D34D based on |
| 978 | static void setHoverItem(Window* self, int16_t y, int index) |
| 979 | { |
| 980 | uint32_t itemHover; |
| 981 | |
| 982 | if (y < 0) |
| 983 | { |
| 984 | itemHover = (1 << index); |
| 985 | } |
| 986 | else |
| 987 | { |
| 988 | itemHover = 0; |
| 989 | } |
| 990 | |
| 991 | if (itemHover != self->var_854) |
| 992 | { |
| 993 | self->var_854 = itemHover; |
| 994 | self->invalidate(); |
| 995 | } |
| 996 | |
| 997 | if (self->var_854 != 0) |
| 998 | { |
| 999 | self->invalidate(); |
| 1000 | } |
| 1001 | } |
| 1002 | |
| 1003 | static uint8_t legendWidth = 100; |
| 1004 | static uint8_t legendItemHeight = 10; |
no test coverage detected