mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
842 B
40 lines
842 B
#ifndef JUCI_WINDOW_H_ |
|
#define JUCI_WINDOW_H_ |
|
|
|
#include "api.h" |
|
#include "config.h" |
|
#include "terminal.h" |
|
#include <cstddef> |
|
|
|
|
|
class Window : public Gtk::Window { |
|
public: |
|
Window(); |
|
MainConfig& main_config() { return main_config_; } |
|
// std::string OnSaveFileAs(); |
|
Gtk::Box window_box_; |
|
virtual ~Window() { } |
|
|
|
|
|
//private: |
|
MainConfig main_config_; |
|
Keybindings::Controller keybindings_; |
|
Menu::Controller menu_; |
|
Notebook::Controller notebook_; |
|
Terminal::Controller terminal_; |
|
PluginApi api_; |
|
|
|
Keybindings::Controller& keybindings() { return keybindings_; } |
|
private: |
|
std::mutex running; |
|
Gtk::VPaned paned_; |
|
//signal handlers |
|
void OnWindowHide(); |
|
void OnOpenFile(); |
|
void OnFileOpenFolder(); |
|
bool OnMouseRelease(GdkEventButton* button); |
|
bool SaveFile(); |
|
bool SaveFileAs(); |
|
}; |
|
|
|
#endif // JUCI_WINDOW_H
|
|
|