diff options
author | Your Name <you@example.com> | 2022-02-19 10:54:35 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2022-02-19 10:54:35 -0500 |
commit | 4f26d55e01f9424ba5660cb27076eafba4c88b21 (patch) | |
tree | 41131c34e6610cd1b3c52b2b771ef550134a725d /src/header.h | |
parent | a5cdc506789ac6aeb6f4256b892fedf046fff06c (diff) | |
download | biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.gz biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.bz2 biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.zip |
Reorganized sources
Diffstat (limited to 'src/header.h')
-rw-r--r-- | src/header.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/header.h b/src/header.h new file mode 100644 index 0000000..fd88fe5 --- /dev/null +++ b/src/header.h @@ -0,0 +1,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; +}; |