Added framed text menu.
This commit is contained in:
15
include/dawn/ui/framedtextmenu.h
Normal file
15
include/dawn/ui/framedtextmenu.h
Normal 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;
|
@ -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);
|
||||
|
Reference in New Issue
Block a user