diff --git a/juci/.#notebook.h b/juci/.#notebook.h deleted file mode 120000 index 6989c31..0000000 --- a/juci/.#notebook.h +++ /dev/null @@ -1 +0,0 @@ -forgie@surface.6435:1428916838 \ No newline at end of file diff --git a/juci/terminal.cc b/juci/terminal.cc index e96a21a..001cc29 100644 --- a/juci/terminal.cc +++ b/juci/terminal.cc @@ -1,6 +1,9 @@ #include "terminal.h" - +Terminal::View::View(){ + textview_.add(buffer_); + view_.add(textview_); +} diff --git a/juci/terminal.h b/juci/terminal.h index 83d0738..c4bb4c9 100644 --- a/juci/terminal.h +++ b/juci/terminal.h @@ -10,15 +10,16 @@ namespace Terminal { class View { public: View(); - //Gtk::HBox view() {return view_;} + Gtk::HBox& view() {return view_;} private: Gtk::HBox view_; - Gtk::TextBuffer buffer_; + Glib::RefPtr buffer_; Gtk::TextView textview_; }; // class view class Controller { public: + }; // class controller