20 #ifndef _WIDGETS_FAST_METER_H_
21 #define _WIDGETS_FAST_METER_H_
24 #include <boost/tuple/tuple.hpp>
25 #include <boost/tuple/tuple_comparison.hpp>
26 #include <cairomm/pattern.h>
41 int clr0=0x008800ff,
int clr1=0x008800ff,
42 int clr2=0x00ff00ff,
int clr3=0x00ff00ff,
43 int clr4=0xffaa00ff,
int clr5=0xffaa00ff,
44 int clr6=0xffff00ff,
int clr7=0xffff00ff,
45 int clr8=0xff0000ff,
int clr9=0xff0000ff,
46 int bgc0=0x333333ff,
int bgc1=0x444444ff,
47 int bgh0=0x991122ff,
int bgh1=0x551111ff,
68 void render (Cairo::RefPtr<Cairo::Context>
const&, cairo_rectangle_t*);
114 int,
int,
int *,
float *,
int,
bool);
116 int,
int,
int *,
float *,
int);
118 int,
int,
int *,
float *,
int);
121 int,
int,
int *,
bool,
bool);
123 int,
int,
int *,
bool);
125 int,
int,
int *,
bool);
130 float stp0,
float stp1,
float stp2,
float stp3,
131 int c0,
int c1,
int c2,
int c3,
132 int c4,
int c5,
int c6,
int c7,
133 int c8,
int c9,
int st
136 , stp(stp0, stp1, stp2, stp3)
137 , cols(c0, c1, c2, c3, c4, c5, c6, c7, c8, c9)
141 return (dim < rhs.
dim)
142 || (dim == rhs.
dim && stp < rhs.
stp)
143 || (dim == rhs.
dim && stp == rhs.
stp && cols < rhs.
cols)
144 || (dim == rhs.
dim && stp == rhs.
stp && cols == rhs.
cols && style < rhs.
style);
146 boost::tuple<int, int>
dim;
147 boost::tuple<float, float, float, float>
stp;
148 boost::tuple<int, int, int, int, int, int, int, int, int, int>
cols;
151 typedef std::map<Pattern10MapKey, Cairo::RefPtr<Cairo::Pattern> >
Pattern10Map;
160 return (dim < rhs.
dim) || (dim == rhs.
dim && cols < rhs.
cols) || (dim == rhs.
dim && cols == rhs.
cols && (sh && !rhs.
sh));
162 boost::tuple<int, int>
dim;
166 typedef std::map<PatternBgMapKey, Cairo::RefPtr<Cairo::Pattern> >
PatternBgMap;
link region and track false waveform clip level