Digital mode for waveform widget, 2.4GHZ WLAN channels in jammer

This commit is contained in:
furrtek 2017-01-17 07:00:42 +00:00
parent b10c88e271
commit 368f0f7fb0
10 changed files with 136 additions and 47 deletions

View file

@ -507,7 +507,7 @@ private:
class Waveform : public Widget {
public:
Waveform(Rect parent_rect, int8_t * data, uint32_t length, uint32_t offset, Color color);
Waveform(Rect parent_rect, int8_t * data, uint32_t length, uint32_t offset, bool digital, Color color);
Waveform(const Waveform&) = delete;
Waveform(Waveform&&) = delete;
@ -523,6 +523,7 @@ private:
int8_t * data_;
uint32_t length_;
uint32_t offset_;
bool digital_ { false };
Color color_;
};