20 #ifndef _WIDGETS_FAST_METER_H_
21 #define _WIDGETS_FAST_METER_H_
25 #include <cairomm/pattern.h>
40 int clr0=0x008800ff,
int clr1=0x008800ff,
41 int clr2=0x00ff00ff,
int clr3=0x00ff00ff,
42 int clr4=0xffaa00ff,
int clr5=0xffaa00ff,
43 int clr6=0xffff00ff,
int clr7=0xffff00ff,
44 int clr8=0xff0000ff,
int clr9=0xff0000ff,
45 int bgc0=0x333333ff,
int bgc1=0x444444ff,
46 int bgh0=0x991122ff,
int bgh1=0x551111ff,
67 void render (Cairo::RefPtr<Cairo::Context>
const&, cairo_rectangle_t*);
113 int,
int,
int *,
float *,
int,
bool);
115 int,
int,
int *,
float *,
int);
117 int,
int,
int *,
float *,
int);
120 int,
int,
int *,
bool,
bool);
122 int,
int,
int *,
bool);
124 int,
int,
int *,
bool);
129 float stp0,
float stp1,
float stp2,
float stp3,
130 int c0,
int c1,
int c2,
int c3,
131 int c4,
int c5,
int c6,
int c7,
132 int c8,
int c9,
int st
135 , stp(stp0, stp1, stp2, stp3)
136 , cols(c0, c1, c2, c3, c4, c5, c6, c7, c8, c9)
140 return (dim < rhs.
dim)
141 || (dim == rhs.
dim && stp < rhs.
stp)
142 || (dim == rhs.
dim && stp == rhs.
stp && cols < rhs.
cols)
143 || (dim == rhs.
dim && stp == rhs.
stp && cols == rhs.
cols && style < rhs.
style);
146 std::tuple<float, float, float, float>
stp;
147 std::tuple<int, int, int, int, int, int, int, int, int, int>
cols;
150 typedef std::map<Pattern10MapKey, Cairo::RefPtr<Cairo::Pattern> >
Pattern10Map;
159 return (dim < rhs.
dim) || (dim == rhs.
dim && cols < rhs.
cols) || (dim == rhs.
dim && cols == rhs.
cols && (sh && !rhs.
sh));
165 typedef std::map<PatternBgMapKey, Cairo::RefPtr<Cairo::Pattern> >
PatternBgMap;
link region and track false waveform clip level