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.
43 lines
968 B
43 lines
968 B
#ifndef JUCI_ENTRY_H_ |
|
#define JUCI_ENTRY_H_ |
|
|
|
#include <iostream> |
|
#include "gtkmm.h" |
|
#include "keybindings.h" |
|
|
|
namespace Entry { |
|
class View { |
|
public: |
|
View(); |
|
Gtk::Box& view(); |
|
Gtk::Entry& entry(){return entry_;} |
|
Gtk::Button& button_apply(){return button_apply_;}; |
|
Gtk::Button& button_cancel(){return button_cancel_;}; |
|
void OnShowSetFilenName(std::string exstension); |
|
void OnHideEntry(); |
|
protected: |
|
Gtk::Box view_; |
|
Gtk::Entry entry_; |
|
Gtk::Button button_apply_, button_cancel_; |
|
}; |
|
class Model { |
|
public: |
|
Model(); |
|
std::string next(){return next_;}; |
|
std::string prev(){return prev_;}; |
|
private: |
|
std::string next_, prev_; |
|
}; |
|
class Controller { |
|
public: |
|
Controller(); |
|
Gtk::Box& view(); |
|
Gtk::Button& button_apply(); |
|
void OnShowSetFilenName(std::string exstension); |
|
void OnHideEntries(); |
|
View view_; |
|
};// class controller |
|
} // namespace notebook |
|
|
|
|
|
#endif // JUCI_ENTRY_H_
|
|
|