mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
23 lines
458 B
C
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;
|
||
|
};
|
||
|
}
|