26 lines
457 B
C++
26 lines
457 B
C++
#pragma once
|
|
|
|
#include "Widget.h"
|
|
#include "Button.h"
|
|
#include "Label.h"
|
|
#include "TextBox.h"
|
|
#include "TextEditorController.h"
|
|
|
|
#include <functional>
|
|
|
|
class TextEditorView : public Widget
|
|
{
|
|
public:
|
|
TextEditorView();
|
|
|
|
static Ptr<TextEditorView> Create();
|
|
|
|
TextEditorController* getController();
|
|
|
|
void initialize();
|
|
|
|
private:
|
|
TextBox* mTextBox;
|
|
TextEditorControllerUPtr mController;
|
|
};
|
|
using TextEditorViewUPtr = Ptr<TextEditorView>;
|