blob: e001fd0ce0bb7725630a363b62a14c2c30905e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __FILTERS_HPP__
#define __FILTERS_HPP__
#include <imgui.h>
#include <string>
class Filters
{
public:
Filters();
~Filters();
void Clear();
void Draw( float w );
bool IsActive() const;
bool FailAddr( const char* addr );
bool FailPort( uint16_t port );
bool FailProg( const char* prog );
private:
std::string m_fn;
ImGuiTextFilter m_addrFilter, m_portFilter, m_progFilter;
};
#endif
|