シンプル化

This commit is contained in:
2026-01-19 00:20:27 +09:00
parent 4a9266fe9a
commit ffa9c69270
11 changed files with 510 additions and 452 deletions

14
control.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <suwaui.h>
typedef struct {
SuwaLabel *res;
SuwaLabel *problem;
} CtrlLabels;
void control_expose(SuwaWindow *window, CtrlLabels *labels);
void handle_button_press(SuwaWindow *window, int mx, int my);
void handle_button_release(SuwaWindow *window, CtrlLabels *labels, int mx, int my);
void handle_key_press(SuwaWindow *window, CtrlLabels *labels);
// void handle_mouse_hover(SuwaWindow *window);