Formatting (again)

This commit is contained in:
GearsProgress
2026-10-22 15:04:58 -04:00
parent 1738b2ebdd
commit 0577a450da
61 changed files with 1873 additions and 2673 deletions

View File

@@ -1,8 +1,7 @@
#include "vertical_menu_cursor_handler.h"
#include "sprite_data.h"
vertical_menu_cursor_handler::vertical_menu_cursor_handler(
s16 cursor_offset_x, s16 cursor_offset_y)
vertical_menu_cursor_handler::vertical_menu_cursor_handler(s16 cursor_offset_x, s16 cursor_offset_y)
: cursor_offset_x_(cursor_offset_x), cursor_offset_y_(cursor_offset_y)
{
}
@@ -13,8 +12,7 @@ void vertical_menu_cursor_handler::on_show() { obj_unhide(point_arrow, 0); }
void vertical_menu_cursor_handler::on_hide() { obj_hide(point_arrow); }
void vertical_menu_cursor_handler::on_selection_changed(
unsigned new_index, unsigned x, unsigned y)
void vertical_menu_cursor_handler::on_selection_changed(unsigned new_index, unsigned x, unsigned y)
{
// set the cursor pos accordingly
const int cursor_x = static_cast<int>(x) + cursor_offset_x_;