(menulist_s s, int dir)
| 4692 | } |
| 4693 | |
| 4694 | private static void SpinControl_DoSlide(menulist_s s, int dir) { |
| 4695 | s.curvalue += dir; |
| 4696 | |
| 4697 | if (s.curvalue < 0) |
| 4698 | s.curvalue = 0; |
| 4699 | else if (s.curvalue >= s.itemnames.length || s.itemnames[s.curvalue] == null) |
| 4700 | s.curvalue--; |
| 4701 | |
| 4702 | if (s.callback != null) |
| 4703 | s.callback.execute(s); |
| 4704 | } |
| 4705 | |
| 4706 | private static void SpinControl_Draw(menulist_s s) { |
| 4707 |