bwgraph.cpp File Reference

Displays a graph of Tor's bandwidth usage. More...

#include <vidalia.h>
#include <control/bandwidthevent.h>
#include "bwgraph.h"

Go to the source code of this file.

Defines

#define BWGRAPH_LINE_SEND   (1u<<0)
#define BWGRAPH_LINE_RECV   (1u<<1)
#define SETTING_FILTER   "LineFilter"
#define SETTING_OPACITY   "Opacity"
#define SETTING_ALWAYS_ON_TOP   "AlwaysOnTop"
#define DEFAULT_FILTER   (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV)
#define DEFAULT_ALWAYS_ON_TOP   false
#define DEFAULT_OPACITY   100
#define ADD_TO_FILTER(f, v, b)   (f = ((b) ? ((f) | (v)) : ((f) & ~(v))))
#define DATETIME_FMT   "MMM dd hh:mm:ss"


Detailed Description

Displays a graph of Tor's bandwidth usage.

Version:
Id
bwgraph.cpp 1238 2006-09-25 17:50:57Z edmanm

Definition in file bwgraph.cpp.


Define Documentation

#define ADD_TO_FILTER ( f,
v,
 )     (f = ((b) ? ((f) | (v)) : ((f) & ~(v))))

Definition at line 41 of file bwgraph.cpp.

Referenced by BandwidthGraph::saveChanges(), and MessageLog::saveSettings().

#define BWGRAPH_LINE_RECV   (1u<<1)

Definition at line 33 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().

#define BWGRAPH_LINE_SEND   (1u<<0)

Definition at line 32 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().

#define DATETIME_FMT   "MMM dd hh:mm:ss"

Definition at line 44 of file bwgraph.cpp.

Referenced by BandwidthGraph::reset(), LogTreeItem::setTimestamp(), and LogTreeItem::timestamp().

#define DEFAULT_ALWAYS_ON_TOP   false

Definition at line 38 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define DEFAULT_FILTER   (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV)

Definition at line 37 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define DEFAULT_OPACITY   100

Definition at line 39 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define SETTING_ALWAYS_ON_TOP   "AlwaysOnTop"

Definition at line 36 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().

#define SETTING_FILTER   "LineFilter"

Definition at line 34 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().

#define SETTING_OPACITY   "Opacity"

Definition at line 35 of file bwgraph.cpp.

Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().


Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0