start refactor context states with kubo_state_wall_select
This commit is contained in:
parent
c2c99e73d2
commit
7e065745d2
13 changed files with 349 additions and 103 deletions
32
states/kubo_state_wall_select.h
Normal file
32
states/kubo_state_wall_select.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright Luka Jankovic 2025
|
||||
*
|
||||
* This file is part of Kubo.
|
||||
*
|
||||
* Kubo is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* Kubo is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
* A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* Kubo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef KUBO_STATE_WALL_SELECT_H
|
||||
#define KUBO_STATE_WALL_SELECT_H
|
||||
|
||||
#include "kubo_state_data.h"
|
||||
|
||||
void kubo_state_wall_select_entered(void *context_data);
|
||||
void kubo_state_wall_select_key(void *context_data, int key_code);
|
||||
|
||||
static const struct kubo_state_data kubo_state_wall_select_data = {
|
||||
.state_entered = kubo_state_wall_select_entered,
|
||||
.state_key = kubo_state_wall_select_key
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue