blob: a50a799ac84269d55bb731746b0906fd5c7fccfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "DynamicImage.hpp"
#include <dchat/types.hpp>
#include <gtkmm/grid.h>
#include <gtkmm/label.h>
namespace dchat
{
class ChatMessage : public Gtk::Grid
{
public:
ChatMessage(const Glib::ustring &username, const Glib::ustring &text, uint32_t timestampSeconds);
DynamicImage avatar;
Gtk::Label username;
Gtk::Label text;
uint32_t timestampSeconds;
};
}
|