mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-10 03:41:26 +02:00
33 lines
596 B
C++
33 lines
596 B
C++
//
|
|
// ChatEntry.h
|
|
// interface
|
|
//
|
|
// Created by Andrzej Kapolka on 4/24/13.
|
|
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef __interface__ChatEntry__
|
|
#define __interface__ChatEntry__
|
|
|
|
#include <string>
|
|
|
|
class ChatEntry {
|
|
public:
|
|
|
|
const std::string& getContents () const { return contents; }
|
|
|
|
void clear ();
|
|
|
|
bool key(unsigned char k);
|
|
void specialKey(unsigned char k);
|
|
|
|
void render(int screenWidth, int screenHeight);
|
|
|
|
private:
|
|
|
|
std::string contents;
|
|
|
|
int cursorPos;
|
|
};
|
|
|
|
#endif /* defined(__interface__ChatEntry__) */
|