22#ifndef ULTIMA3_VIEWS_MENU_INPUT_H
23#define ULTIMA3_VIEWS_MENU_INPUT_H
25#include "common/keyboard.h"
26#include "common/str.h"
27#include "graphics/views/view.h"
33using namespace Graphics::Views;
35constexpr int GLYPH_UP_ARROW = 0x1E;
40bool isModifierKey(Common::KeyCode key);
55 const char *_keys =
nullptr;
56 const char *
const *_words =
nullptr;
58 int _col = 0, _row = 0;
66 void setup(
const char *keys,
const char *
const *words,
int count,
int col,
int row);
83 return _words[_choice];
97 return _keys[_choice];
118 int _col = 0, _row = 0;
123 void setup(uint maxLength,
int col,
int row);
151 void setup(
int col,
int row) {
152 LineInput::setup(2, col, row);
161 int decimal()
const {
Definition: gfx_surface.h:34
Definition: messages.h:54