├── .gitattributes
├── .gitignore
├── Generated Files
├── App.g.h
├── App.g.hpp
├── App.xaml
├── App.xbf
├── Overlay.g.h
├── Overlay.g.hpp
├── Overlay.xaml
├── Overlay.xbf
├── XamlBindingInfo.g.h
├── XamlBindingInfo.g.hpp
├── XamlLibMetadataProvider.g.cpp
├── XamlMetaDataProvider.cpp
├── XamlMetaDataProvider.h
├── XamlMetaDataProvider.idl
├── XamlTypeInfo.Impl.g.cpp
├── XamlTypeInfo.g.cpp
├── XamlTypeInfo.g.h
└── sources
│ ├── XamlMetaDataProvider.cpp
│ └── XamlMetaDataProvider.h
├── Images
├── 1.png
├── OverlayApp.png
└── Widget.png
├── Include
└── json.hpp
├── Instructions.md
├── LICENSE
├── Overlay
├── App.xaml
├── App.xaml.cpp
├── App.xaml.h
├── Assets
│ ├── LargeTile.scale-100.png
│ ├── LargeTile.scale-125.png
│ ├── LargeTile.scale-150.png
│ ├── LargeTile.scale-200.png
│ ├── LargeTile.scale-400.png
│ ├── LockScreenLogo.scale-200.png
│ ├── SmallTile.scale-100.png
│ ├── SmallTile.scale-125.png
│ ├── SmallTile.scale-150.png
│ ├── SmallTile.scale-200.png
│ ├── SmallTile.scale-400.png
│ ├── SplashScreen.scale-100.png
│ ├── SplashScreen.scale-125.png
│ ├── SplashScreen.scale-150.png
│ ├── SplashScreen.scale-200.png
│ ├── SplashScreen.scale-400.png
│ ├── Square150x150Logo.scale-100.png
│ ├── Square150x150Logo.scale-125.png
│ ├── Square150x150Logo.scale-150.png
│ ├── Square150x150Logo.scale-200.png
│ ├── Square150x150Logo.scale-400.png
│ ├── Square44x44Logo.altform-lightunplated_targetsize-16.png
│ ├── Square44x44Logo.altform-lightunplated_targetsize-24.png
│ ├── Square44x44Logo.altform-lightunplated_targetsize-256.png
│ ├── Square44x44Logo.altform-lightunplated_targetsize-32.png
│ ├── Square44x44Logo.altform-lightunplated_targetsize-48.png
│ ├── Square44x44Logo.altform-unplated_targetsize-16.png
│ ├── Square44x44Logo.altform-unplated_targetsize-256.png
│ ├── Square44x44Logo.altform-unplated_targetsize-32.png
│ ├── Square44x44Logo.altform-unplated_targetsize-48.png
│ ├── Square44x44Logo.scale-100.png
│ ├── Square44x44Logo.scale-125.png
│ ├── Square44x44Logo.scale-150.png
│ ├── Square44x44Logo.scale-200.png
│ ├── Square44x44Logo.scale-400.png
│ ├── Square44x44Logo.targetsize-16.png
│ ├── Square44x44Logo.targetsize-24.png
│ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ ├── Square44x44Logo.targetsize-256.png
│ ├── Square44x44Logo.targetsize-32.png
│ ├── Square44x44Logo.targetsize-48.png
│ ├── StoreLogo.backup.png
│ ├── StoreLogo.png
│ ├── StoreLogo.scale-100.png
│ ├── StoreLogo.scale-125.png
│ ├── StoreLogo.scale-150.png
│ ├── StoreLogo.scale-200.png
│ ├── StoreLogo.scale-400.png
│ ├── Wide310x150Logo.scale-100.png
│ ├── Wide310x150Logo.scale-125.png
│ ├── Wide310x150Logo.scale-150.png
│ ├── Wide310x150Logo.scale-200.png
│ └── Wide310x150Logo.scale-400.png
├── Graphics
│ ├── Drawing.cpp
│ ├── Drawing.h
│ ├── Entities
│ │ ├── Button.cpp
│ │ ├── Button.h
│ │ ├── ColourPicker.cpp
│ │ ├── ColourPicker.h
│ │ ├── ComboBox.cpp
│ │ ├── ComboBox.h
│ │ ├── DropDown.cpp
│ │ ├── DropDown.h
│ │ ├── Entity.cpp
│ │ ├── Entity.h
│ │ ├── Form.cpp
│ │ ├── Form.h
│ │ ├── GroupBox.cpp
│ │ ├── GroupBox.h
│ │ ├── KeyBind.cpp
│ │ ├── KeyBind.h
│ │ ├── Label.cpp
│ │ ├── Label.h
│ │ ├── Slider.h
│ │ ├── Tab.cpp
│ │ ├── Tab.h
│ │ ├── TabController.cpp
│ │ ├── TabController.h
│ │ ├── TabListBox.cpp
│ │ ├── TabListBox.h
│ │ ├── TabListBoxController.cpp
│ │ ├── TabListBoxController.h
│ │ ├── TextBox.cpp
│ │ ├── TextBox.h
│ │ ├── Toggle.cpp
│ │ └── Toggle.h
│ ├── Graphics.h
│ ├── Start Up
│ │ ├── GUI.cpp
│ │ └── GUI.h
│ └── Utility
│ │ ├── Animation.cpp
│ │ ├── Animation.h
│ │ ├── Colour.cpp
│ │ ├── Colour.h
│ │ ├── Font.cpp
│ │ └── Font.h
├── Images
│ ├── LockScreenLogo.scale-200.png
│ ├── SplashScreen.scale-200.png
│ ├── Square150x150Logo.scale-200.png
│ ├── Square44x44Logo.scale-200.png
│ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ ├── StoreLogo.png
│ └── Wide310x150Logo.scale-200.png
├── Misc
│ ├── Input.cpp
│ ├── Input.h
│ ├── Pch
│ │ ├── pch.cpp
│ │ └── pch.h
│ ├── Vector.cpp
│ └── Vector.h
├── Overlay.vcxproj
├── Overlay.vcxproj.filters
├── Overlay.xaml
├── Overlay.xaml.cpp
├── Overlay.xaml.h
├── Package.appxmanifest
└── packages.config
├── OverlayGUI.sln
├── README.md
└── installer script.bat
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/Generated Files/App.g.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | //------------------------------------------------------------------------------
3 | // This code was generated by a tool.
4 | //
5 | // Changes to this file may cause incorrect behavior and will be lost if
6 | // the code is regenerated.
7 | //------------------------------------------------------------------------------
8 |
9 | #include "XamlTypeInfo.g.h"
10 |
11 | namespace Cheat
12 | {
13 | partial ref class App : public ::Windows::UI::Xaml::Application,
14 | public ::Windows::UI::Xaml::Markup::IXamlMetadataProvider
15 | {
16 | public:
17 | void InitializeComponent();
18 | [::Windows::Foundation::Metadata::DefaultOverload]
19 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Windows::UI::Xaml::Interop::TypeName type);
20 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Platform::String^ fullName);
21 | virtual ::Platform::Array<::Windows::UI::Xaml::Markup::XmlnsDefinition>^ GetXmlnsDefinitions();
22 | private:
23 | ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ __provider;
24 | bool _contentLoaded;
25 | property ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ _AppProvider
26 | {
27 | ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ get();
28 | }
29 | };
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/Generated Files/App.g.hpp:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // This code was generated by a tool.
3 | //
4 | // Changes to this file may cause incorrect behavior and will be lost if
5 | // the code is regenerated.
6 | //------------------------------------------------------------------------------
7 |
8 | #include "pch.h"
9 | #include "App.xaml.h"
10 |
11 |
12 | #if defined _DEBUG && !defined DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
13 | extern "C" __declspec(dllimport) int __stdcall IsDebuggerPresent();
14 | #endif
15 |
16 |
17 | #if (defined(_M_IX86) || defined(_M_AMD64)) && !defined(_VSDESIGNER_DONT_LOAD_AS_DLL)
18 | #if defined(_M_IX86)
19 | #pragma comment(linker, "/EXPORT:DllGetActivationFactory=_DllGetActivationFactory@8,PRIVATE")
20 | #pragma comment(linker, "/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
21 | #pragma comment(linker, "/EXPORT:VSDesignerDllMain=_VSDesignerDllMain@12,PRIVATE")
22 | #pragma comment(linker, "/INCLUDE:___refMTAThread")
23 | #elif defined(_M_AMD64)
24 | #pragma comment(linker, "/EXPORT:DllGetActivationFactory=DllGetActivationFactory,PRIVATE")
25 | #pragma comment(linker, "/EXPORT:DllCanUnloadNow,PRIVATE")
26 | #pragma comment(linker, "/EXPORT:VSDesignerDllMain,PRIVATE")
27 | #pragma comment(linker, "/INCLUDE:__refMTAThread")
28 | #endif
29 |
30 | extern int __abi___threading_model;
31 |
32 | extern "C"
33 | {
34 | int __stdcall _DllMainCRTStartup(void* hinstDLL, unsigned long fdwReason, void** lpvReserved);
35 |
36 | int __stdcall VSDesignerDllMain(void* hinstDLL, unsigned long fdwReason, void** lpvReserved)
37 | {
38 | __abi___threading_model = _VCCORLIB_THREADING_MODEL_OVERRIDE;
39 | return _DllMainCRTStartup(hinstDLL, fdwReason, lpvReserved);
40 | }
41 | }
42 |
43 | #endif // (defined(_M_IX86) || defined(_M_AMD64)) && !defined(_VSDESIGNER_DONT_LOAD_AS_DLL)
44 |
45 | void ::Cheat::App::InitializeComponent()
46 | {
47 | #if defined _DEBUG && !defined DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
48 | UnhandledException += ref new ::Windows::UI::Xaml::UnhandledExceptionEventHandler(
49 | [](::Platform::Object^ sender, ::Windows::UI::Xaml::UnhandledExceptionEventArgs^ e)
50 | {
51 | (void)sender; // Unused parameter
52 | if (IsDebuggerPresent())
53 | {
54 | ::Platform::String^ errorMessage = e->Message;
55 | __debugbreak();
56 | }
57 | });
58 | #endif
59 | }
60 |
61 | ::Windows::UI::Xaml::Markup::IXamlType^ ::Cheat::App::GetXamlType(::Windows::UI::Xaml::Interop::TypeName type)
62 | {
63 | return _AppProvider->GetXamlTypeByType(type);
64 | }
65 |
66 | ::Windows::UI::Xaml::Markup::IXamlType^ ::Cheat::App::GetXamlType(::Platform::String^ fullName)
67 | {
68 | return _AppProvider->GetXamlTypeByName(fullName);
69 | }
70 |
71 | ::Platform::Array<::Windows::UI::Xaml::Markup::XmlnsDefinition>^ ::Cheat::App::GetXmlnsDefinitions()
72 | {
73 | return ref new ::Platform::Array<::Windows::UI::Xaml::Markup::XmlnsDefinition>(0);
74 | }
75 |
76 | ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ ::Cheat::App::_AppProvider::get()
77 | {
78 | if (__provider == nullptr)
79 | {
80 | __provider = ref new ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider();
81 | }
82 | return __provider;
83 | }
84 |
85 | #ifndef DISABLE_XAML_GENERATED_MAIN
86 | int __cdecl main(::Platform::Array<::Platform::String^>^ args)
87 | {
88 | (void)args; // Unused parameter
89 | ::Windows::UI::Xaml::Application::Start(ref new ::Windows::UI::Xaml::ApplicationInitializationCallback(
90 | [](::Windows::UI::Xaml::ApplicationInitializationCallbackParams^ p) {
91 | (void)p; // Unused parameter
92 | auto app = ref new ::Cheat::App();
93 | }));
94 | }
95 | #endif
96 |
97 |
98 |
--------------------------------------------------------------------------------
/Generated Files/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
--------------------------------------------------------------------------------
/Generated Files/App.xbf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelSDM/GameBarGUI/df8c643ca1e15f87a35d756311733c77c8c7426a/Generated Files/App.xbf
--------------------------------------------------------------------------------
/Generated Files/Overlay.g.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | //------------------------------------------------------------------------------
3 | // This code was generated by a tool.
4 | //
5 | // Changes to this file may cause incorrect behavior and will be lost if
6 | // the code is regenerated.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | namespace Microsoft {
11 | namespace Graphics {
12 | namespace Canvas {
13 | namespace UI {
14 | namespace Xaml {
15 | ref class CanvasSwapChainPanel;
16 | }
17 | }
18 | }
19 | }
20 | }
21 |
22 | namespace Cheat
23 | {
24 | [::Windows::Foundation::Metadata::WebHostHidden]
25 | partial ref class Overlay : public ::Windows::UI::Xaml::Controls::Page,
26 | public ::Windows::UI::Xaml::Markup::IComponentConnector,
27 | public ::Windows::UI::Xaml::Markup::IComponentConnector2
28 | {
29 | public:
30 | void InitializeComponent();
31 | virtual void Connect(int connectionId, ::Platform::Object^ target);
32 | virtual ::Windows::UI::Xaml::Markup::IComponentConnector^ GetBindingConnector(int connectionId, ::Platform::Object^ target);
33 |
34 | private:
35 | void UnloadObject(::Windows::UI::Xaml::DependencyObject^ dependencyObject);
36 | void DisconnectUnloadedObject(int connectionId);
37 |
38 | private:
39 | bool _contentLoaded;
40 |
41 | class Overlay_obj1_Bindings;
42 |
43 | private: ::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^ SwapChainPanel;
44 | };
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/Generated Files/Overlay.g.hpp:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // This code was generated by a tool.
3 | //
4 | // Changes to this file may cause incorrect behavior and will be lost if
5 | // the code is regenerated.
6 | //------------------------------------------------------------------------------
7 | #include "pch.h"
8 |
9 | #pragma warning(push)
10 | #pragma warning(disable: 4100) // unreferenced formal parameter
11 |
12 | #if defined _DEBUG && !defined DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT
13 | extern "C" __declspec(dllimport) int __stdcall IsDebuggerPresent();
14 | #endif
15 |
16 | #include "Overlay.xaml.h"
17 |
18 | void ::Cheat::Overlay::InitializeComponent()
19 | {
20 | if (_contentLoaded)
21 | {
22 | return;
23 | }
24 | _contentLoaded = true;
25 | ::Windows::Foundation::Uri^ resourceLocator = ref new ::Windows::Foundation::Uri(L"ms-appx:///Overlay.xaml");
26 | ::Windows::UI::Xaml::Application::LoadComponent(this, resourceLocator, ::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation::Application);
27 | }
28 |
29 | void ::Cheat::Overlay::Connect(int __connectionId, ::Platform::Object^ __target)
30 | {
31 | switch (__connectionId)
32 | {
33 | case 2:
34 | {
35 | this->SwapChainPanel = safe_cast<::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^>(__target);
36 | (safe_cast<::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^>(this->SwapChainPanel))->Loaded += ref new ::Windows::UI::Xaml::RoutedEventHandler(this, (void (::Cheat::Overlay::*)
37 | (::Platform::Object^, ::Windows::UI::Xaml::RoutedEventArgs^))&Overlay::SwapChainPanel_Loaded);
38 | (safe_cast<::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^>(this->SwapChainPanel))->PointerMoved += ref new ::Windows::UI::Xaml::Input::PointerEventHandler(this, (void (::Cheat::Overlay::*)
39 | (::Platform::Object^, ::Windows::UI::Xaml::Input::PointerRoutedEventArgs^))&Overlay::PointerMoved);
40 | (safe_cast<::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^>(this->SwapChainPanel))->PointerPressed += ref new ::Windows::UI::Xaml::Input::PointerEventHandler(this, (void (::Cheat::Overlay::*)
41 | (::Platform::Object^, ::Windows::UI::Xaml::Input::PointerRoutedEventArgs^))&Overlay::PointerPressed);
42 | (safe_cast<::Microsoft::Graphics::Canvas::UI::Xaml::CanvasSwapChainPanel^>(this->SwapChainPanel))->PointerReleased += ref new ::Windows::UI::Xaml::Input::PointerEventHandler(this, (void (::Cheat::Overlay::*)
43 | (::Platform::Object^, ::Windows::UI::Xaml::Input::PointerRoutedEventArgs^))&Overlay::PointerReleased);
44 | }
45 | break;
46 | }
47 | _contentLoaded = true;
48 | }
49 |
50 | ::Windows::UI::Xaml::Markup::IComponentConnector^ ::Cheat::Overlay::GetBindingConnector(int __connectionId, ::Platform::Object^ __target)
51 | {
52 | __connectionId; // unreferenced
53 | __target; // unreferenced
54 | return nullptr;
55 | }
56 |
57 | #pragma warning(pop)
58 |
59 |
60 |
--------------------------------------------------------------------------------
/Generated Files/Overlay.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Generated Files/Overlay.xbf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IntelSDM/GameBarGUI/df8c643ca1e15f87a35d756311733c77c8c7426a/Generated Files/Overlay.xbf
--------------------------------------------------------------------------------
/Generated Files/XamlBindingInfo.g.hpp:
--------------------------------------------------------------------------------
1 |
2 | //------------------------------------------------------------------------------
3 | //
4 | // This code was generated by a tool.
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 | #include "pch.h"
11 | #include "XamlBindingInfo.g.h"
12 |
13 | // XamlBindings
14 |
15 | ::XamlBindingInfo::XamlBindings::XamlBindings(::XamlBindingInfo::IXamlBindings* pBindings)
16 | : _pBindings(pBindings)
17 | {
18 | _pBindings->SetOwningBindingsClass(this);
19 | }
20 |
21 | ::XamlBindingInfo::XamlBindings::~XamlBindings()
22 | {
23 | delete _pBindings;
24 | }
25 |
26 | void ::XamlBindingInfo::XamlBindings::Initialize()
27 | {
28 | if (!this->_pBindings->IsInitialized())
29 | {
30 | this->_pBindings->Update();
31 | }
32 | }
33 |
34 | void ::XamlBindingInfo::XamlBindings::Update()
35 | {
36 | this->_pBindings->Update();
37 | }
38 |
39 | void ::XamlBindingInfo::XamlBindings::StopTracking()
40 | {
41 | this->_pBindings->StopTracking();
42 | }
43 |
44 | void ::XamlBindingInfo::XamlBindings::Loading(::Windows::UI::Xaml::FrameworkElement^, ::Platform::Object^)
45 | {
46 | this->Initialize();
47 | }
48 |
49 | void ::XamlBindingInfo::XamlBindings::DataContextChanged(::Windows::UI::Xaml::FrameworkElement^, ::Windows::UI::Xaml::DataContextChangedEventArgs^ args)
50 | {
51 | if (this->_pBindings->SetDataRoot(args->NewValue))
52 | {
53 | this->Update();
54 | }
55 | }
56 |
57 | void ::XamlBindingInfo::XamlBindings::SubscribeForDataContextChanged(::Windows::UI::Xaml::FrameworkElement^ object)
58 | {
59 | this->_pBindings->SubscribeForDataContextChanged(object, this);
60 | }
61 |
62 | void ::XamlBindingInfo::XamlBindings::DisconnectUnloadedObject(int connectionId)
63 | {
64 | this->_pBindings->DisconnectUnloadedObject(connectionId);
65 | }
66 |
67 | void ::XamlBindingInfo::XamlBindings::Connect(int connectionId, ::Platform::Object^ target)
68 | {
69 | this->_pBindings->Connect(connectionId, target);
70 | }
71 |
72 | bool ::XamlBindingInfo::XamlBindings::ProcessBinding(unsigned int)
73 | {
74 | throw ref new ::Platform::NotImplementedException();
75 | }
76 |
77 | int ::XamlBindingInfo::XamlBindings::ProcessBindings(::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs^ args)
78 | {
79 | int nextPhase = -1;
80 | int phase = static_cast(args->Phase);
81 | if (phase < 0)
82 | {
83 | throw ref new ::Platform::InvalidArgumentException();
84 | }
85 | this->_pBindings->ProcessBindings(args->Item, args->ItemIndex, phase, &nextPhase);
86 | return nextPhase;
87 | }
88 |
89 | void ::XamlBindingInfo::XamlBindings::ResetTemplate()
90 | {
91 | this->_pBindings->Recycle();
92 | }
93 |
94 | void ::XamlBindingInfo::XamlBindings::ProcessBindings(::Platform::Object^ item, int itemIndex, int phase, int* nextPhase)
95 | {
96 | this->_pBindings->ProcessBindings(item, itemIndex, phase, nextPhase);
97 | }
98 |
99 | void ::XamlBindingInfo::XamlBindings::Recycle()
100 | {
101 | this->_pBindings->Recycle();
102 | }
103 |
104 | void ::XamlBindingInfo::XamlBindings::Disable(int lineNumber, int columnNumber)
105 | {
106 | this->_pBindings->Disable(lineNumber, columnNumber);
107 | }
108 |
109 | ::Windows::UI::Xaml::Markup::IComponentConnector^ ::XamlBindingInfo::XamlBindings::GetBindingConnector(int connectionId, ::Platform::Object^ target)
110 | {
111 | return this->_pBindings->GetBindingConnector(connectionId, target);
112 | }
113 |
114 | ::XamlBindingInfo::XamlBindings^ ::XamlBindingInfo::XamlBindings::GetParent()
115 | {
116 | return this->_pBindings->GetParent();
117 | }
118 |
119 | void ::XamlBindingInfo::XamlBindings::SetParent(::XamlBindingInfo::XamlBindings^ parent)
120 | {
121 | this->_pBindings->SetParent(parent);
122 | }
123 |
124 | bool ::XamlBindingInfo::XamlBindings::ContainsElement(int connectionId)
125 | {
126 | return this->_pBindings->ContainsElement(connectionId);
127 | }
128 |
129 | void ::XamlBindingInfo::XamlBindings::RegisterForElementConnection(int connectionId, ::XamlBindingInfo::XamlBindings^ connector)
130 | {
131 | this->_pBindings->RegisterForElementConnection(connectionId, connector);
132 | }
133 |
134 | // XamlBindingTrackingBase
135 |
136 | ::XamlBindingInfo::XamlBindingTrackingBase::XamlBindingTrackingBase()
137 | {
138 | }
139 |
140 | void ::XamlBindingInfo::XamlBindingTrackingBase::SetListener(::XamlBindingInfo::IXamlBindingTracking* pBindings)
141 | {
142 | this->_pBindingsTrackingWeakRef = pBindings;
143 | }
144 |
145 | void ::XamlBindingInfo::XamlBindingTrackingBase::PropertyChanged(Platform::Object^ sender, ::Windows::UI::Xaml::Data::PropertyChangedEventArgs^ e)
146 | {
147 | if (this->_pBindingsTrackingWeakRef != nullptr)
148 | {
149 | this->_pBindingsTrackingWeakRef->PropertyChanged(sender, e);
150 | }
151 | }
152 |
153 | void ::XamlBindingInfo::XamlBindingTrackingBase::CollectionChanged(::Platform::Object^ sender, ::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs^ e)
154 | {
155 | if (this->_pBindingsTrackingWeakRef != nullptr)
156 | {
157 | this->_pBindingsTrackingWeakRef->CollectionChanged(sender, e);
158 | }
159 | }
160 |
161 | void ::XamlBindingInfo::XamlBindingTrackingBase::DependencyPropertyChanged(::Windows::UI::Xaml::DependencyObject^ sender, ::Windows::UI::Xaml::DependencyProperty^ prop)
162 | {
163 | if (this->_pBindingsTrackingWeakRef != nullptr)
164 | {
165 | this->_pBindingsTrackingWeakRef->DependencyPropertyChanged(sender, prop);
166 | }
167 | }
168 |
169 | void ::XamlBindingInfo::XamlBindingTrackingBase::VectorChanged(::Platform::Object^ sender, ::Windows::Foundation::Collections::IVectorChangedEventArgs^ e)
170 | {
171 | if (this->_pBindingsTrackingWeakRef != nullptr)
172 | {
173 | this->_pBindingsTrackingWeakRef->VectorChanged(sender, e);
174 | }
175 | }
176 |
177 | void ::XamlBindingInfo::XamlBindingTrackingBase::MapChanged(::Platform::Object^ sender, ::Windows::Foundation::Collections::IMapChangedEventArgs<::Platform::String^>^ e)
178 | {
179 | if (this->_pBindingsTrackingWeakRef != nullptr)
180 | {
181 | this->_pBindingsTrackingWeakRef->MapChanged(sender, e);
182 | }
183 | }
184 |
185 | void ::XamlBindingInfo::XamlBindingTrackingBase::UpdatePropertyChangedListener(::Windows::UI::Xaml::Data::INotifyPropertyChanged^ obj, ::Windows::UI::Xaml::Data::INotifyPropertyChanged^* pCache, ::Windows::Foundation::EventRegistrationToken* pToken)
186 | {
187 | if (*pCache != nullptr && !(*pCache)->Equals(obj))
188 | {
189 | (*pCache)->PropertyChanged -= *pToken;
190 | *pCache = nullptr;
191 | }
192 |
193 | if (*pCache == nullptr && obj != nullptr)
194 | {
195 | *pCache = obj;
196 | *pToken = obj->PropertyChanged += ref new ::Windows::UI::Xaml::Data::PropertyChangedEventHandler(
197 | this, &::XamlBindingInfo::XamlBindingTrackingBase::PropertyChanged);
198 | }
199 | }
200 |
201 | void ::XamlBindingInfo::XamlBindingTrackingBase::UpdatePropertyChangedListener(::Windows::UI::Xaml::Data::INotifyPropertyChanged^ obj, ::Platform::WeakReference& cacheRef, ::Windows::Foundation::EventRegistrationToken* pToken)
202 | {
203 | ::Windows::UI::Xaml::Data::INotifyPropertyChanged^ cache = cacheRef.Resolve<::Windows::UI::Xaml::Data::INotifyPropertyChanged>();
204 | if (cache != nullptr && !cache->Equals(obj))
205 | {
206 | cache->PropertyChanged -= *pToken;
207 | cache = nullptr;
208 | cacheRef = nullptr;
209 | }
210 |
211 | if (cache == nullptr && obj != nullptr)
212 | {
213 | cacheRef = cache = obj;
214 | *pToken = obj->PropertyChanged += ref new ::Windows::UI::Xaml::Data::PropertyChangedEventHandler(
215 | this, &::XamlBindingInfo::XamlBindingTrackingBase::PropertyChanged);
216 | }
217 | }
218 |
219 | void ::XamlBindingInfo::XamlBindingTrackingBase::UpdateCollectionChangedListener(::Windows::UI::Xaml::Interop::INotifyCollectionChanged^ obj, ::Windows::UI::Xaml::Interop::INotifyCollectionChanged^* pCache, ::Windows::Foundation::EventRegistrationToken* pToken)
220 | {
221 | if (*pCache != nullptr && !(*pCache)->Equals(obj))
222 | {
223 | (*pCache)->CollectionChanged -= *pToken;
224 | *pCache = nullptr;
225 | }
226 |
227 | if (*pCache == nullptr && obj != nullptr)
228 | {
229 | *pCache = obj;
230 | *pToken = obj->CollectionChanged += ref new ::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler(
231 | this, &::XamlBindingInfo::XamlBindingTrackingBase::CollectionChanged);
232 | }
233 | }
234 |
235 | void ::XamlBindingInfo::XamlBindingTrackingBase::UpdateDependencyPropertyChangedListener(::Windows::UI::Xaml::DependencyObject^ obj, ::Windows::UI::Xaml::DependencyProperty^ property, ::Windows::UI::Xaml::DependencyObject^* pCache, __int64* pToken)
236 | {
237 | if (*pCache != nullptr && !(*pCache)->Equals(obj))
238 | {
239 | (*pCache)->UnregisterPropertyChangedCallback(property, *pToken);
240 | *pCache = nullptr;
241 | }
242 |
243 | if (*pCache == nullptr && obj != nullptr)
244 | {
245 | *pCache = obj;
246 | *pToken = obj->RegisterPropertyChangedCallback(property, ref new ::Windows::UI::Xaml::DependencyPropertyChangedCallback(
247 | this, &::XamlBindingInfo::XamlBindingTrackingBase::DependencyPropertyChanged));
248 | }
249 | }
250 |
251 | void ::XamlBindingInfo::XamlBindingTrackingBase::UpdateDependencyPropertyChangedListener(::Windows::UI::Xaml::DependencyObject^ obj, ::Windows::UI::Xaml::DependencyProperty^ property, ::Platform::WeakReference& cacheRef, __int64* pToken)
252 | {
253 | ::Windows::UI::Xaml::DependencyObject^ cache = cacheRef.Resolve<::Windows::UI::Xaml::DependencyObject>();
254 | if (cache != nullptr && !cache->Equals(obj))
255 | {
256 | cache->UnregisterPropertyChangedCallback(property, *pToken);
257 | cache = nullptr;
258 | cacheRef = nullptr;
259 | }
260 |
261 | if (cache == nullptr && obj != nullptr)
262 | {
263 | cacheRef = cache = obj;
264 | *pToken = obj->RegisterPropertyChangedCallback(property, ref new ::Windows::UI::Xaml::DependencyPropertyChangedCallback(
265 | this, &::XamlBindingInfo::XamlBindingTrackingBase::DependencyPropertyChanged));
266 | }
267 | }
268 |
269 |
--------------------------------------------------------------------------------
/Generated Files/XamlLibMetadataProvider.g.cpp:
--------------------------------------------------------------------------------
1 |
2 | #include "pch.h"
3 |
--------------------------------------------------------------------------------
/Generated Files/XamlMetaDataProvider.cpp:
--------------------------------------------------------------------------------
1 | // This file is generated by the build to support Xaml apps
2 | #include "pch.h"
3 | #include "XamlMetaDataProvider.h"
4 | #include "XamlMetaDataProvider.g.cpp"
5 |
--------------------------------------------------------------------------------
/Generated Files/XamlMetaDataProvider.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | //
5 | // Changes to this file may cause incorrect behavior and will be lost if
6 | // the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 | #pragma once
10 |
11 | #include
12 | #include