Added framed text menu.

This commit is contained in:
2021-09-10 10:13:39 -07:00
parent 9f37156e8f
commit 896b98c9aa
11 changed files with 182 additions and 28 deletions

View File

@ -0,0 +1,15 @@
// Copyright (c) 2021 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "../libs.h"
#include "frame.h"
#include "textmenu.h"
typedef struct {
frame_t frame;
textmenu_t menu;
float width, height;
} framedtextmenu_t;

View File

@ -7,6 +7,7 @@
#pragma once
#include "../libs.h"
#include "grid.h"
/** Generic callback for menu events */
typedef void menuv2callback_t(void *user, uint8_t i);