Poke_Transporter_GB/include/button_handler.h
2023-08-10 17:16:07 -05:00

26 lines
416 B
C++

#ifndef BUTTON_HANDLER_H
#define BUTTON_HANDLER_H
#include <tonc.h>
class Button
{
public:
Button();
Button(OBJ_ATTR *L, OBJ_ATTR *R, u32 tidL, u32 tidR);
void set_location(int x, int y);
void set_highlight(bool highlight);
void hide();
void show();
private:
int x;
int y;
bool highlighted;
OBJ_ATTR *button_L;
OBJ_ATTR *button_R;
u32 tidL;
u32 tidR;
};
#endif