Applying formatting and moving libraries into specific folders

This commit is contained in:
GearsProgress
2026-10-18 11:07:35 -04:00
parent 1e90aa40ce
commit f1e2b62e4a
74 changed files with 6147 additions and 5199 deletions

View File

@@ -1,27 +1,20 @@
#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)
: cursor_offset_x_(cursor_offset_x)
, cursor_offset_y_(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)
{
}
vertical_menu_cursor_handler::~vertical_menu_cursor_handler()
{
}
vertical_menu_cursor_handler::~vertical_menu_cursor_handler() {}
void vertical_menu_cursor_handler::on_show()
{
obj_unhide(point_arrow, 0);
}
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_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_;