mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-08 22:34:33 +00:00
use std::string_view instead
This commit is contained in:
parent
7ff139e7b1
commit
23fb414fd4
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
#define MWGUI_CONTROLLERBUTTONSOVERLAY_H
|
#define MWGUI_CONTROLLERBUTTONSOVERLAY_H
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <string_view>
|
||||||
|
|
||||||
#include <MyGUI_ImageBox.h>
|
#include <MyGUI_ImageBox.h>
|
||||||
#include <MyGUI_TextBox.h>
|
#include <MyGUI_TextBox.h>
|
||||||
|
|
@ -49,7 +50,7 @@ namespace MWGui
|
||||||
struct ButtonDefinition
|
struct ButtonDefinition
|
||||||
{
|
{
|
||||||
Button mButton;
|
Button mButton;
|
||||||
const char* mName;
|
std::string_view mName;
|
||||||
InputType mInputType;
|
InputType mInputType;
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue