mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-23 16:03:34 -05:00
Formatting (again)
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user