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.
31 lines
558 B
31 lines
558 B
#ifndef JUCI_WINDOW_H_ |
|
#define JUCI_WINDOW_H_ |
|
|
|
#include "api.h" |
|
#include "config.h" |
|
#include <cstddef> |
|
|
|
|
|
class Window : public Gtk::Window { |
|
public: |
|
Window(); |
|
// std::string OnSaveFileAs(); |
|
Gtk::Box window_box_; |
|
virtual ~Window() { } |
|
|
|
MainConfig main_config; |
|
PluginApi api; |
|
protected: |
|
bool on_key_press_event(GdkEventKey *event); |
|
private: |
|
std::mutex running; |
|
Gtk::VPaned paned_; |
|
//signal handlers |
|
void OnWindowHide(); |
|
void OnOpenFile(); |
|
void OnFileOpenFolder(); |
|
bool SaveFile(); |
|
bool SaveFileAs(); |
|
}; |
|
|
|
#endif // JUCI_WINDOW_H
|
|
|