]> git.tdb.fi Git - netvis.git/blobdiff - source/netvis.h
Get rid of the separate font texture
[netvis.git] / source / netvis.h
index 9e8661e58307c43ed9efe5d289fcb1e9eaacde8a..35d9952ac826e3aed295da08405da580c1ce20d1 100644 (file)
@@ -30,6 +30,8 @@ private:
        std::string iface;
        pcap_t *pcap;
        std::list<Packet *> packets;
+       unsigned max_hosts;
+       unsigned max_visible_hosts;
        std::map<unsigned, Host *> hosts;
        std::map<unsigned, Host *> disabled_hosts;
        Msp::Graphics::Display *dpy;
@@ -38,7 +40,6 @@ private:
        Msp::Time::TimeStamp tick_t;
        std::map<unsigned, Msp::GL::Color> port_colors;
        Msp::GL::Font *font;
-       Msp::GL::Texture2D *font_tex;
        Msp::Debug::Profiler profiler;
        bool draw_labels;
        bool blend;