blob: fd88fe593c8e9834a36122d30cf8f6335f7aa392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <gtkmm.h>
class Mods;
class ReaderView;
class Header : public Gtk::HeaderBar
{
public:
Header(ReaderView *reader, Gtk::Window *window);
virtual ~Header();
void updateButtons(void);
void updateMenus(void);
ReaderView *reader;
void showMods(void);
void showText(void);
protected:
//Buttons
Gtk::Button back;
Gtk::Button forward;
Gtk::MenuButton book;
Gtk::MenuButton menu;
//Menus
Gtk::PopoverMenu bookMenu;
Gtk::PopoverMenu menuMenu;
Mods *mods;
Gtk::Window *window;
};
|