ppsspp/UI/ChatScreen.h

22 lines
618 B
C
Raw Normal View History

2016-10-21 10:35:54 +00:00
#pragma once
#include "file/file_util.h"
#include "ui/ui_screen.h"
class ChatMenu : public PopupScreen {
public:
2017-06-07 18:18:45 +00:00
ChatMenu() : PopupScreen("Chat") , toBottom_(false) {}
~ChatMenu();
2016-10-21 10:35:54 +00:00
void CreatePopupContents(UI::ViewGroup *parent) override;
void CreateViews() override;
void dialogFinished(const Screen *dialog, DialogResult result) override;
bool touch(const TouchInput &touch) override;
2017-06-07 18:18:45 +00:00
void update() override;
void UpdateChat();
2016-10-21 10:35:54 +00:00
private:
UI::EventReturn OnSubmit(UI::EventParams &e);
UI::TextEdit *chatEdit_;
UI::ScrollView *scroll_;
UI::LinearLayout *chatVert_;
UI::ViewGroup *box_;
bool toBottom_;
};