4 #include <gtkmm/frame.h>
15 CellDiff(
const std::string& a,
const std::string& b);
18 void compare(
const std::string& a_str,
const std::string& b_str);
26 DiffViewer(std::istream& a, std::istream& b, Gtk::Window& parent);
29 using Cells = std::pair<std::vector<std::string>, std::vector<std::string>>;
31 void populate(std::istream& a, std::istream& b);
Definition: DiffViewer.hh:13
DiffTextView tv_lhs
Definition: DiffViewer.hh:20
void compare(const std::string &a_str, const std::string &b_str)
Definition: DiffViewer.cc:52
Gtk::Grid grid
Definition: DiffViewer.hh:19
Gtk::ScrolledWindow sw_rhs
Definition: DiffViewer.hh:21
DiffTextView tv_rhs
Definition: DiffViewer.hh:20
Gtk::ScrolledWindow sw_lhs
Definition: DiffViewer.hh:21
CellDiff(const std::string &a, const std::string &b)
Definition: DiffViewer.cc:24
Definition: DiffViewer.hh:8
DiffTextView()
Definition: DiffViewer.cc:12
Definition: DiffViewer.hh:24
void populate(std::istream &a, std::istream &b)
Definition: DiffViewer.cc:156
std::pair< std::vector< std::string >, std::vector< std::string > > Cells
Definition: DiffViewer.hh:29
Gtk::Box box
Definition: DiffViewer.hh:34
std::vector< CellDiff > cells
Definition: DiffViewer.hh:36
DiffViewer(std::istream &a, std::istream &b, Gtk::Window &parent)
Definition: DiffViewer.cc:128
Cells make_cells(std::istream &stream)
Definition: DiffViewer.cc:184
void run_noblock()
Definition: DiffViewer.cc:147
Gtk::ScrolledWindow scrolled_window
Definition: DiffViewer.hh:35