Skip to content

Commit

Permalink
Merged a new batch of filter icons and added code to render them
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Oct 10, 2024
1 parent 22f9a01 commit b641500
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc
2 changes: 1 addition & 1 deletion lib
4 changes: 4 additions & 0 deletions src/ngscopeclient/MainWindow_Icons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
#include "../scopeprotocols/PkPkMeasurement.h"
#include "../scopeprotocols/PulseWidthMeasurement.h"
#include "../scopeprotocols/PRBSCheckerFilter.h"
#include "../scopeprotocols/PRBSGeneratorFilter.h"
#include "../scopeprotocols/QSGMIIDecoder.h"
#include "../scopeprotocols/RiseMeasurement.h"
#include "../scopeprotocols/SawtoothGeneratorFilter.h"
Expand Down Expand Up @@ -251,6 +252,7 @@ void MainWindow::LoadFilterIcons()
m_texmgr.LoadTexture("filter-peaktopeak", FindDataFile("icons/filters/filter-peaktopeak.png"));
m_texmgr.LoadTexture("filter-period", FindDataFile("icons/filters/filter-period.png"));
m_texmgr.LoadTexture("filter-pulse-width", FindDataFile("icons/filters/filter-pulse-width.png"));
m_texmgr.LoadTexture("filter-prbs", FindDataFile("icons/filters/filter-prbs.png"));
m_texmgr.LoadTexture("filter-prbs-checker", FindDataFile("icons/filters/filter-prbs-checker.png"));
m_texmgr.LoadTexture("filter-rise", FindDataFile("icons/filters/filter-rise.png"));
m_texmgr.LoadTexture("filter-rj45", FindDataFile("icons/filters/filter-rj45.png"));
Expand Down Expand Up @@ -295,6 +297,7 @@ void MainWindow::LoadFilterIcons()
m_filterIconMap[type_index(typeid(ACCoupleFilter))] = "filter-ac-couple";
m_filterIconMap[type_index(typeid(ACRMSMeasurement))] = "filter-ac-rms";
m_filterIconMap[type_index(typeid(AddFilter))] = "filter-add";
m_filterIconMap[type_index(typeid(AutocorrelationFilter))] = "filter-autocorrelation";
m_filterIconMap[type_index(typeid(AreaMeasurement))] = "filter-area-under-curve";
m_filterIconMap[type_index(typeid(AverageFilter))] = "filter-average";
m_filterIconMap[type_index(typeid(BandwidthMeasurement))] = "filter-bandwidth";
Expand Down Expand Up @@ -368,6 +371,7 @@ void MainWindow::LoadFilterIcons()
m_filterIconMap[type_index(typeid(PkPkMeasurement))] = "filter-peaktopeak";
m_filterIconMap[type_index(typeid(PeriodMeasurement))] = "filter-period";
m_filterIconMap[type_index(typeid(PulseWidthMeasurement))] = "filter-pulse-width";
m_filterIconMap[type_index(typeid(PRBSGeneratorFilter))] = "filter-prbs";
m_filterIconMap[type_index(typeid(PRBSCheckerFilter))] = "filter-prbs-checker";
m_filterIconMap[type_index(typeid(QSGMIIDecoder))] = "filter-rj45";
m_filterIconMap[type_index(typeid(RiseMeasurement))] = "filter-rise";
Expand Down

0 comments on commit b641500

Please sign in to comment.