aboutsummaryrefslogtreecommitdiff
path: root/include/Topbar.hpp
blob: ebb7729e71fe01634b3567c4a311acc1fb80156b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "ImageButton.hpp"
#include <gtkmm/grid.h>
#include <gtkmm/searchentry.h>
#include <gtkmm/label.h>

namespace dchat
{
    class Topbar : public Gtk::Grid
    {
    public:
        Topbar();
        void setTitle(const Glib::ustring &title);

        ImageButton roomSettingsButton;
        ImageButton roomNotificationsButton;
    private:
        Gtk::SearchEntry topbarSearchBar;
        Gtk::Label currentRoomTitle;
    };
}