X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetvis.h;h=989e06054555e3da34bd6f0a4e775c52bd8b51f1;hb=398c5e3e6e03080b6b057fd56858ab04694969ed;hp=3739d330ec941de08c03c2698a576269bcfa4b7a;hpb=42bd2e83d66a98584540dd8cc5b47ee2349fe844;p=netvis.git diff --git a/source/netvis.h b/source/netvis.h index 3739d33..989e060 100644 --- a/source/netvis.h +++ b/source/netvis.h @@ -20,6 +20,7 @@ Distributed unter the GPL #include #include +class History; class Host; class Packet; class Port; @@ -43,8 +44,7 @@ private: std::map disabled_hosts; std::list packets; std::map ports; - bool draw_labels; - bool blend; + History *history; Msp::Time::TimeStamp tick_t; Msp::Time::TimeStamp fps_t; @@ -64,7 +64,7 @@ private: Host &get_host(unsigned); Msp::GL::Color generate_color(bool) const; const Port &get_port(unsigned); - void key_press(unsigned, unsigned, wchar_t); + void create_history_texture(); static void capture_handler(unsigned char *, const pcap_pkthdr *, const unsigned char *);