From 578ae644bd1652f9e2206d12218dfc623ac47e1a Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 16 Jun 2023 20:12:56 -0500 Subject: [PATCH 1/2] PGEX_SMX_Example renaming. --- sample/{SMXSample.cpp => PGEX_SMX_Example.cpp} | 0 sample/SMXSample.vcxproj | 2 +- sample/SMXSample.vcxproj.filters | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename sample/{SMXSample.cpp => PGEX_SMX_Example.cpp} (100%) diff --git a/sample/SMXSample.cpp b/sample/PGEX_SMX_Example.cpp similarity index 100% rename from sample/SMXSample.cpp rename to sample/PGEX_SMX_Example.cpp diff --git a/sample/SMXSample.vcxproj b/sample/SMXSample.vcxproj index 5332ec5..967c204 100644 --- a/sample/SMXSample.vcxproj +++ b/sample/SMXSample.vcxproj @@ -92,7 +92,7 @@ - + diff --git a/sample/SMXSample.vcxproj.filters b/sample/SMXSample.vcxproj.filters index 7c581d9..0207aba 100644 --- a/sample/SMXSample.vcxproj.filters +++ b/sample/SMXSample.vcxproj.filters @@ -10,7 +10,7 @@ - + Source Files From e4ae22e9e5a76786914e35cf0ceb152f613c8516 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 16 Jun 2023 20:43:17 -0500 Subject: [PATCH 2/2] Add GetPanel function --- sample/PGEX_SMX.h | 6 ++++++ sample/PGEX_SMX_Example.cpp | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sample/PGEX_SMX.h b/sample/PGEX_SMX.h index 6e54720..e169828 100644 --- a/sample/PGEX_SMX.h +++ b/sample/PGEX_SMX.h @@ -9,6 +9,10 @@ class PGEX_SMX : public PGEX{ public: PGEX_SMX():PGEX(true){}; + HWButton GetPanel(Key k,int pad)const{ + std::cout<