diff --git a/juci/CMakeLists.txt b/juci/CMakeLists.txt index 2f3755a..e4869d0 100644 --- a/juci/CMakeLists.txt +++ b/juci/CMakeLists.txt @@ -106,6 +106,8 @@ add_executable(${project_name} entry.cc directories.h directories.cc + terminal.h + terminal.cc ) add_library(${module} SHARED diff --git a/juci/notebook.cc b/juci/notebook.cc index a377bea..16cbea2 100644 --- a/juci/notebook.cc +++ b/juci/notebook.cc @@ -18,7 +18,9 @@ Notebook::Controller::Controller(Keybindings::Controller& keybindings, directories_(dir_cfg) { OnNewPage("juCi++"); refClipboard_ = Gtk::Clipboard::get(); + view().pack1(directories_.widget(),true,true); CreateKeybindings(keybindings); + }// Constructor void Notebook::Controller::CreateKeybindings(Keybindings::Controller diff --git a/juci/notebook.h b/juci/notebook.h index ffe904d..b3fb6f9 100644 --- a/juci/notebook.h +++ b/juci/notebook.h @@ -8,10 +8,10 @@ #include "directories.h" - // #include + #include - // #include - // #include + #include + #include namespace Notebook { diff --git a/juci/terminal.cc b/juci/terminal.cc new file mode 100644 index 0000000..e96a21a --- /dev/null +++ b/juci/terminal.cc @@ -0,0 +1,6 @@ +#include "terminal.h" + + + + + diff --git a/juci/terminal.h b/juci/terminal.h new file mode 100644 index 0000000..83d0738 --- /dev/null +++ b/juci/terminal.h @@ -0,0 +1,27 @@ + +#ifndef JUCI_NOTEBOOK_H_ +#define JUCI_NOTEBOOK_H_ + +#include +#include "gtkmm.h" + +namespace Terminal { + + class View { + public: + View(); + //Gtk::HBox view() {return view_;} + private: + Gtk::HBox view_; + Gtk::TextBuffer buffer_; + Gtk::TextView textview_; + }; // class view + + class Controller { + public: + + + }; // class controller +} // namespace Terminal + +#endif // JUCI_NOTEBOOK_H_ diff --git a/juci/window.cc b/juci/window.cc index ec3a174..1097e52 100644 --- a/juci/window.cc +++ b/juci/window.cc @@ -37,7 +37,6 @@ Window::Window() : window_box_.pack_start(menu_.view(), Gtk::PACK_SHRINK); window_box_.pack_start(notebook_.entry_view(), Gtk::PACK_SHRINK); window_box_.pack_start(notebook_.view()); - show_all_children(); } // Window constructor