AyuGramDesktop/Telegram/SourceFiles/ayu/ui/boxes/edit_edited_mark.h
2023-07-09 18:09:01 +00:00

32 lines
576 B
C++

// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2023
#pragma once
#include "base/timer.h"
#include "boxes/abstract_box.h"
#include "mtproto/sender.h"
class EditEditedMarkBox : public Ui::BoxContent
{
public:
EditEditedMarkBox(QWidget*);
protected:
void setInnerFocus() override;
void prepare() override;
void resizeEvent(QResizeEvent* e) override;
private:
void submit();
void save();
object_ptr<Ui::InputField> _text;
};