Vidalia 0.2.10
Defines

BandwidthGraph.cpp File Reference

#include "BandwidthGraph.h"
#include "Vidalia.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 SETTING_STYLE   "GraphStyle"
#define DEFAULT_FILTER   (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV)
#define DEFAULT_ALWAYS_ON_TOP   false
#define DEFAULT_OPACITY   100
#define DEFAULT_STYLE   GraphFrame::AreaGraph
#define ADD_TO_FILTER(f, v, b)   (f = ((b) ? ((f) | (v)) : ((f) & ~(v))))
#define DATETIME_FMT   "MMM dd hh:mm:ss"
#define IMG_AREA_GRAPH   ":/images/16x16/graph-area.png"
#define IMG_LINE_GRAPH   ":/images/16x16/graph-line.png"

Define Documentation

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

Definition at line 31 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::saveChanges().

#define BWGRAPH_LINE_RECV   (1u<<1)

Definition at line 21 of file BandwidthGraph.cpp.

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

#define BWGRAPH_LINE_SEND   (1u<<0)

Definition at line 20 of file BandwidthGraph.cpp.

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

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

Definition at line 34 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::reset().

#define DEFAULT_ALWAYS_ON_TOP   false

Definition at line 27 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define DEFAULT_FILTER   (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV)

Definition at line 26 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define DEFAULT_OPACITY   100

Definition at line 28 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define DEFAULT_STYLE   GraphFrame::AreaGraph

Definition at line 29 of file BandwidthGraph.cpp.

Referenced by BandwidthGraph::loadSettings().

#define IMG_AREA_GRAPH   ":/images/16x16/graph-area.png"

Definition at line 37 of file BandwidthGraph.cpp.

#define IMG_LINE_GRAPH   ":/images/16x16/graph-line.png"

Definition at line 38 of file BandwidthGraph.cpp.

#define SETTING_ALWAYS_ON_TOP   "AlwaysOnTop"

Definition at line 24 of file BandwidthGraph.cpp.

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

#define SETTING_FILTER   "LineFilter"

Definition at line 22 of file BandwidthGraph.cpp.

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

#define SETTING_OPACITY   "Opacity"

Definition at line 23 of file BandwidthGraph.cpp.

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

#define SETTING_STYLE   "GraphStyle"

Definition at line 25 of file BandwidthGraph.cpp.

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