r5sdk/r5dev/thirdparty/cppnet/cppkore/LabelEditEventArgs.h
Kawe Mazidjatari 04bee896be Fix string/wstring type conflict
cppkore uses string/wstring as StringBase while we use std::string/std::wstring as string/wstring. Changed all types in cppkore to String/WString instead.
2022-05-21 21:51:35 +02:00

23 lines
458 B
C++

#pragma once
#include <cstdint>
#include "StringBase.h"
namespace Forms
{
// Provides data for the LabelEdit event.
class LabelEditEventArgs
{
public:
LabelEditEventArgs(int32_t Item);
LabelEditEventArgs(int32_t Item, const String& Label);
~LabelEditEventArgs() = default;
// The new text for the item.
String Label;
// The index of the item being edited.
int32_t Item;
// Whether or not to cancel the changes.
bool CancelEdit;
};
}