[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #4333 [Vidalia]: Mark Exit Relays on Vidalia's Tor Network Map



#4333: Mark Exit Relays on Vidalia's Tor Network Map
----------------------------+-----------------------------------------------
 Reporter:  ancientmariner  |          Owner:  sirop   
     Type:  enhancement     |         Status:  assigned
 Priority:  minor           |      Milestone:          
Component:  Vidalia         |        Version:          
 Keywords:                  |         Parent:          
   Points:                  |   Actualpoints:          
----------------------------+-----------------------------------------------

Comment(by sirop):

 1 Just checked that if we do not change lon and lat
 as in
 {{{
 void
 TorMapWidget::addRouter(const RouterDescriptor &desc, const GeoIpRecord
 &geoip)
 }}}
 where geoip is always the same for the same country, Marble only shows no
 more than four relays
 for a country.

 2. To mark exit relay is not difficult, could be something like:
 {{{
    const QPixmap *pmIcon=new QPixmap("path/to/icon");
    const QFont *pmFont=new QFont();
    const QColor *pmColor=new QColor(1,2,3);
    GeoDataStyle *pmStyle= new GeoDataStyle (*pmIcon, *pmFont, *pmColor);
    PlaceMark->setStyle(pmStyle);
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4333#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs