id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
4,902
simplefactory.hpp
TranslucentTB_TranslucentTB/Common/simplefactory.hpp
#pragma once #include <Unknwn.h> #include "winrt.hpp" template<class T> struct SimpleFactory : winrt::implements<SimpleFactory<T>, IClassFactory, winrt::non_agile> { HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown* pUnkOuter, REFIID riid, void** ppvObject) override try { if (!pUnkOuter) { *ppvObject = nullp...
668
C++
.h
35
16.514286
106
0.703175
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,903
undefgetcurrenttime.h
TranslucentTB_TranslucentTB/Common/undefgetcurrenttime.h
#ifndef GET_CURRENT_TIME_UNDEFINED # ifdef GetCurrentTime # pragma push_macro("GetCurrentTime") # undef GetCurrentTime # define GET_CURRENT_TIME_UNDEFINED # else # error "GetCurrentTime is not defined" # endif #else # error "GetCurrentTime has already been undefined" #endif
279
C++
.h
11
24.363636
51
0.80597
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,904
arch.h
TranslucentTB_TranslucentTB/Common/arch.h
#pragma once // Those are defines required by various Windows headers to build. #if defined(_M_AMD64) # ifndef _AMD64_ # define _AMD64_ # endif #elif defined(_M_ARM64) # ifndef _ARM64_ # define _ARM64_ # endif #else # error "Target architecture not recognized" #endif
272
C++
.h
13
19.769231
66
0.754864
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,905
wilx.hpp
TranslucentTB_TranslucentTB/Common/wilx.hpp
#pragma once #include "arch.h" #include <cstddef> #include <tuple> #include <type_traits> #include <utility> #include <wil/resource.h> #include <winnt.h> #include "util/concepts.hpp" namespace wilx { // Send help namespace impl { template<typename T> struct function_traits; template<typename Parent, typename...
2,463
C++
.h
56
41.214286
154
0.72982
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,906
redefgetcurrenttime.h
TranslucentTB_TranslucentTB/Common/redefgetcurrenttime.h
#ifdef GET_CURRENT_TIME_UNDEFINED # pragma pop_macro("GetCurrentTime") # undef GET_CURRENT_TIME_UNDEFINED #else # error "GetCurrentTime has not been undefined" #endif
167
C++
.h
6
26.833333
47
0.813665
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,907
winrt.hpp
TranslucentTB_TranslucentTB/Common/winrt.hpp
#pragma once #include <guiddef.h> #include <Unknwn.h> #include <winrt/base.h> // forward declare namespaces we alias namespace winrt { namespace Microsoft::UI::Xaml::Controls {} namespace TranslucentTB::Xaml::Models::Primitives {} namespace Windows { namespace ApplicationModel {} namespace Foundation::Collectio...
849
C++
.h
27
29.703704
64
0.768293
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,908
numbers.hpp
TranslucentTB_TranslucentTB/Common/util/numbers.hpp
#pragma once #include <concepts> #include <cstddef> #include <cstdint> #include <limits> #include <stdexcept> #include <string_view> #include "strings.hpp" namespace Util { namespace impl { constexpr bool IsDecimalDigit(wchar_t character) { return character >= L'0' && character <= L'9'; } constexpr bool ...
1,878
C++
.h
70
23.728571
91
0.652755
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,909
maybe_delete.hpp
TranslucentTB_TranslucentTB/Common/util/maybe_delete.hpp
#pragma once namespace Util { struct maybe_delete { private: bool m_ShouldDelete; public: template<class T> void operator()(T *that) const noexcept { if (m_ShouldDelete) { delete that; } } maybe_delete(bool shouldDelete) noexcept : m_ShouldDelete(shouldDelete) { } }; }
302
C++
.h
17
14.882353
77
0.705674
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,910
type_traits.hpp
TranslucentTB_TranslucentTB/Common/util/type_traits.hpp
#pragma once #include <type_traits> namespace Util { template<typename T> class decay_array { using U = std::remove_reference_t<T>; public: using type = std::conditional_t<std::is_array_v<U>, std::remove_extent_t<U>*, T>; }; template<typename T> using decay_array_t = typename decay_array<T>::type; templa...
555
C++
.h
18
28.611111
83
0.73258
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,911
thread_independent_mutex.hpp
TranslucentTB_TranslucentTB/Common/util/thread_independent_mutex.hpp
#pragma once #include <chrono> #include <semaphore> namespace Util { class thread_independent_mutex { std::binary_semaphore semaphore; public: constexpr thread_independent_mutex() noexcept /* strengthened */ : semaphore(1) { } void lock() noexcept /* strengthened */ { semaphore.acquire(); } void un...
790
C++
.h
32
21.71875
85
0.713715
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,912
color.hpp
TranslucentTB_TranslucentTB/Common/util/color.hpp
#pragma once #include <bit> #include <cstdint> #include <format> #include <stdexcept> #include <string> #include <string_view> #include "../winrt.hpp" #include <winrt/Windows.Foundation.Numerics.h> #include <winrt/Windows.UI.h> #include "numbers.hpp" #include "strings.hpp" #if __has_include(<winrt/TranslucentTB.Xaml....
6,514
C++
.h
234
24.021368
135
0.610924
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,913
hash.hpp
TranslucentTB_TranslucentTB/Common/util/hash.hpp
#pragma once #include <cstddef> #include <cstdint> namespace Util { #ifdef _WIN64 namespace impl { static constexpr std::size_t FNV_PRIME = 0x100000001B3; } static constexpr std::size_t INITIAL_HASH_VALUE = 0xCBF29CE484222325; #else namespace impl { static constexpr std::size_t FNV_PRIME = 0x1000193; } sta...
644
C++
.h
26
22.653846
70
0.722675
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,914
string_macros.hpp
TranslucentTB_TranslucentTB/Common/util/string_macros.hpp
#pragma once #define UTIL_WIDEN_INNER(x) L##x #define UTIL_WIDEN(x) UTIL_WIDEN_INNER(x) #define UTIL_STRINGIFY_INNER(x) #x #define UTIL_STRINGIFY(x) UTIL_WIDEN(UTIL_STRINGIFY_INNER(x)) #define UTIL_STRINGIFY_UTF8(x) UTIL_STRINGIFY_INNER(x)
241
C++
.h
6
39
61
0.773504
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,915
concepts.hpp
TranslucentTB_TranslucentTB/Common/util/concepts.hpp
#pragma once #include <type_traits> namespace Util { template<typename T> concept function_pointer = std::is_pointer_v<T> && std::is_function_v<std::remove_pointer_t<T>>; }
176
C++
.h
6
27.833333
97
0.739645
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,916
null_terminated_string_view.hpp
TranslucentTB_TranslucentTB/Common/util/null_terminated_string_view.hpp
#pragma once #include <format> #include <string> #include <string_view> namespace Util { template<typename char_type, class traits = std::char_traits<char_type>> class basic_null_terminated_string_view : public std::basic_string_view<char_type, traits> { using base = std::basic_string_view<char_type, traits>; c...
1,867
C++
.h
38
46.5
163
0.764835
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,917
strings.hpp
TranslucentTB_TranslucentTB/Common/util/strings.hpp
#pragma once #include <cassert> #include <cstddef> #include <iterator> #include <string> #include <string_view> namespace Util { namespace impl { // https://en.cppreference.com/w/cpp/string/wide/iswspace static constexpr std::wstring_view WHITESPACES = L" \f\n\r\t\v"; } constexpr bool IsAscii(wchar_t c) { r...
1,959
C++
.h
69
25.57971
106
0.691693
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,918
winternl.hpp
TranslucentTB_TranslucentTB/Common/undoc/winternl.hpp
#pragma once #include "../arch.h" #include <windef.h> #include <winternl.h> // UserDefinedType: _SYSTEM_PROCESS_ID_INFORMATION // Data : this+0x0, Member, Type: void *, ProcessId // Data : this+0x8, Member, Type: struct _UNICODE_STRING, ImageName struct SYSTEM_PROCESS_ID_INFORMATION { PVOID ...
1,325
C++
.h
25
51.72
222
0.722994
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,919
winuser.hpp
TranslucentTB_TranslucentTB/Common/undoc/winuser.hpp
#pragma once #include "../arch.h" #include <windef.h> static constexpr DWORD EVENT_SYSTEM_PEEKSTART = 0x0021; static constexpr DWORD EVENT_SYSTEM_PEEKEND = 0x0022;
167
C++
.h
5
32.2
55
0.782609
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,920
explorer.hpp
TranslucentTB_TranslucentTB/Common/undoc/explorer.hpp
#pragma once #include "../arch.h" #include <guiddef.h> #include <rpcndr.h> #include <Unknwn.h> #include <windef.h> #include <winerror.h> static constexpr CLSID CLSID_ImmersiveShell = { 0xC2F03A33, 0x21F5, 0x47FA, { 0xB4, 0xBB, 0x15, 0x63, 0x62, 0xA2, 0xF2, 0x39 } }; static constexpr GUID SID_MultitaskingViewVisibility...
1,589
C++
.h
32
48.1875
145
0.795235
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,921
user32.hpp
TranslucentTB_TranslucentTB/Common/undoc/user32.hpp
#pragma once #include "../arch.h" #include <windef.h> // Enum : ACCENT_STATE, Type: int // Data : constant 0x0, Constant, Type: int, ACCENT_DISABLED // Data : constant 0x1, Constant, Type: int, ACCENT_ENABLE_GRADIENT // Data : constant 0x2, Constant, Type: int, ACCENT_ENAB...
3,422
C++
.h
53
63.150943
118
0.694618
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,922
uxtheme.hpp
TranslucentTB_TranslucentTB/Common/undoc/uxtheme.hpp
#pragma once #include "../arch.h" #include <windef.h> // Enum : PreferredAppMode, Type: int // Data : constant 0x0, Constant, Type: int, Default // Data : constant 0x1, Constant, Type: int, AllowDark // Data : constant 0x2, Constant, Type: int, ForceDark // Data ...
767
C++
.h
19
39
87
0.670241
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,923
optionaltaskbarappearance.hpp
TranslucentTB_TranslucentTB/Common/config/optionaltaskbarappearance.hpp
#pragma once #include <string_view> #include "rapidjsonhelper.hpp" #include "taskbarappearance.hpp" struct OptionalTaskbarAppearance : TaskbarAppearance { bool Enabled = false; constexpr OptionalTaskbarAppearance() noexcept = default; constexpr OptionalTaskbarAppearance(bool enabled, ACCENT_STATE accent, Util::Co...
1,725
C++
.h
51
31.313725
131
0.762477
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,924
taskbarappearance.hpp
TranslucentTB_TranslucentTB/Common/config/taskbarappearance.hpp
#pragma once #include "../arch.h" #include <array> #include <string_view> #include <windef.h> #if __has_include(<winrt/TranslucentTB.Xaml.Models.Primitives.h>) #define HAS_WINRT_CONFIG #include "../winrt.hpp" #include <winrt/TranslucentTB.Xaml.Models.Primitives.h> #endif #if __has_include(<rapidjson/rapidjson.h>) #de...
4,164
C++
.h
142
26.359155
117
0.712038
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,925
activeinactivetaskbarappearance.hpp
TranslucentTB_TranslucentTB/Common/config/activeinactivetaskbarappearance.hpp
#pragma once #include <string_view> #include <optional> #include "rapidjsonhelper.hpp" #include "taskbarappearance.hpp" struct ActiveInactiveTaskbarAppearance : TaskbarAppearance { std::optional<TaskbarAppearance> Inactive; constexpr ActiveInactiveTaskbarAppearance() noexcept = default; constexpr ActiveInactiveT...
1,365
C++
.h
38
33.105263
166
0.75569
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,926
rapidjsonhelper.hpp
TranslucentTB_TranslucentTB/Common/config/rapidjsonhelper.hpp
#pragma once #include <algorithm> #include <array> #include <cassert> #include <concepts> #include <format> #include <optional> #include <rapidjson/document.h> #include <rapidjson/encodings.h> #include <string> #include <string_view> #include <type_traits> #include <utility> #include "../util/type_traits.hpp" namespa...
4,711
C++
.h
147
29.489796
126
0.70412
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,927
windowfilter.hpp
TranslucentTB_TranslucentTB/Common/config/windowfilter.hpp
#pragma once #include <rapidjson/document.h> #include <rapidjson/encodings.h> #include <string> #include <string_view> #include <unordered_set> #include "rapidjsonhelper.hpp" #include "../win32.hpp" #include "../constants.hpp" #ifdef _TRANSLUCENTTB_EXE #include "../../TranslucentTB/windows/window.hpp" #include "../.....
3,601
C++
.h
132
23.916667
147
0.693688
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,928
ruledtaskbarappearance.hpp
TranslucentTB_TranslucentTB/Common/config/ruledtaskbarappearance.hpp
#pragma once #include <format> #include <string_view> #include <vector> #include "optionaltaskbarappearance.hpp" #include "activeinactivetaskbarappearance.hpp" #include "rapidjsonhelper.hpp" #include "taskbarappearance.hpp" #include "../constants.hpp" #include "../win32.hpp" #ifdef _TRANSLUCENTTB_EXE #include "../../...
5,703
C++
.h
182
27.967033
328
0.716209
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,929
config.hpp
TranslucentTB_TranslucentTB/Common/config/config.hpp
#pragma once #include <array> #include <format> #include <regex> #include <spdlog/common.h> #include <string_view> #include <optional> #include "optionaltaskbarappearance.hpp" #include "rapidjsonhelper.hpp" #include "ruledtaskbarappearance.hpp" #include "taskbarappearance.hpp" #include "../win32.hpp" #include "windowf...
6,355
C++
.h
168
34.678571
136
0.725786
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,930
swcadetour.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/swcadetour.hpp
#pragma once #include "arch.h" #include <wil/resource.h> #include <windef.h> #include "undoc/user32.hpp" #include "wilx.hpp" class SWCADetour { private: static void FreeLibraryFailFast(HMODULE hModule) noexcept; using unique_module_failfast = wilx::unique_any<FreeLibraryFailFast>; static unique_module_failfast s_...
723
C++
.h
19
36.210526
96
0.823782
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,931
detourtransaction.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/detourtransaction.hpp
#pragma once #include "arch.h" #include <memory> #include <type_traits> #include <windef.h> #include <processsnapshot.h> #include <wil/resource.h> #include "common.hpp" #include "util/concepts.hpp" #include "util/null_terminated_string_view.hpp" #include "wilx.hpp" class DetourTransaction { private: static void Heap...
2,079
C++
.h
55
35.672727
90
0.787743
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,932
api.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/api.hpp
#pragma once #include "arch.h" #include <windef.h> extern "C" #ifdef EXPLORERHOOKS_EXPORTS __declspec(dllexport) #else __declspec(dllimport) #endif HHOOK InjectExplorerHook(HWND window) noexcept; using PFN_INJECT_EXPLORER_HOOK = decltype(&InjectExplorerHook);
262
C++
.h
11
22.636364
63
0.819277
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,933
multitaskingviewvisibilitysink.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/multitaskingviewvisibilitysink.hpp
#pragma once #include "arch.h" #include <type_traits> #include <wrl/implements.h> #include "constants.hpp" #include "taskviewvisibilitymonitor.hpp" #include "undoc/explorer.hpp" class MultitaskingViewVisibilitySink : public Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>, IM...
1,056
C++
.h
36
26.944444
180
0.784585
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,934
taskviewvisibilitymonitor.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/taskviewvisibilitymonitor.hpp
#pragma once #include "arch.h" #include <atomic> #include <windef.h> #include <wil/com.h> #include <wil/resource.h> #include "common.hpp" #include "undoc/explorer.hpp" #include "wilx.hpp" class TaskViewVisibilityMonitor { private: static void UnregisterClassFailFast(ATOM atom) noexcept; using unique_class_atom_fail...
1,756
C++
.h
36
46.805556
159
0.829725
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,935
common.hpp
TranslucentTB_TranslucentTB/ExplorerHooks/common.hpp
#pragma once #include "arch.h" #include <wil/resource.h> #include <windef.h> #include "wilx.hpp" void CloseHandleFailFast(HANDLE handle) noexcept; using unique_handle_failfast = wilx::unique_any<CloseHandleFailFast>;
219
C++
.h
7
30
69
0.804762
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,936
loadabledll.hpp
TranslucentTB_TranslucentTB/TranslucentTB/loadabledll.hpp
#pragma once #include "arch.h" #include <filesystem> #include <libloaderapi.h> #include <optional> #include <string_view> #include <wil/resource.h> #include "util/null_terminated_string_view.hpp" #include "../ProgramLog/error/win32.hpp" class LoadableDll { wil::unique_hmodule m_hMod; static std::filesystem::path G...
885
C++
.h
28
29.5
123
0.753521
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,937
application.hpp
TranslucentTB_TranslucentTB/TranslucentTB/application.hpp
#pragma once #include "arch.h" #include <filesystem> #include <memory> #include <optional> #include <windef.h> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/Windows.Foundation.h> #include <winrt/Windows.UI.Xaml.Hosting.h> #include "redefgetcurrenttime.h" #include <winrt/TranslucentTB.Xaml.h> #in...
2,522
C++
.h
61
39.409836
139
0.800491
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,938
localization.hpp
TranslucentTB_TranslucentTB/TranslucentTB/localization.hpp
#pragma once #include "arch.h" #include <cstdint> #include <windef.h> #include <wil/win32_helpers.h> #include "constants.hpp" #include "util/null_terminated_string_view.hpp" #include "windows/window.hpp" namespace Localization { bool SetProcessLangOverride(std::wstring_view langOverride); Util::null_terminated_wst...
1,725
C++
.h
33
49.878788
188
0.77019
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,939
mainappwindow.hpp
TranslucentTB_TranslucentTB/TranslucentTB/mainappwindow.hpp
#pragma once #include "arch.h" #include "tray/traycontextmenu.hpp" #include <cstddef> #include <spdlog/common.h> #include <tuple> #include <windef.h> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/TranslucentTB.Xaml.Models.Primitives.h> #include <winrt/TranslucentTB.Xaml.Pages.h> #include "redefg...
3,088
C++
.h
67
44.149254
125
0.842491
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,940
dynamicloader.hpp
TranslucentTB_TranslucentTB/TranslucentTB/dynamicloader.hpp
#pragma once #include "arch.h" #include <libloaderapi.h> #include <windef.h> #include <winuser.h> #include <wil/resource.h> #include "undoc/user32.hpp" #include "undoc/uxtheme.hpp" #include "../ProgramLog/error/win32.hpp" class DynamicLoader { wil::unique_hmodule m_User32, m_UxTheme; PFN_SHOULD_SYSTEM_USE_DARK_MOD...
2,673
C++
.h
86
28.186047
157
0.74359
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,941
folderwatcher.hpp
TranslucentTB_TranslucentTB/TranslucentTB/folderwatcher.hpp
#pragma once #include "arch.h" #include <fileapi.h> #include <filesystem> #include <string_view> #include <type_traits> #include <windef.h> #include <wil/resource.h> class FolderWatcher { using callback_t = std::add_pointer_t<void(void *, DWORD, std::wstring_view)>; // this needs to be first for our little casting ...
900
C++
.h
26
32.653846
116
0.771991
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,942
basecontextmenu.hpp
TranslucentTB_TranslucentTB/TranslucentTB/tray/basecontextmenu.hpp
#pragma once #include "arch.h" #include <unordered_set> #include <windef.h> #include <wil/resource.h> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/Windows.Foundation.Collections.h> #include <winrt/Windows.UI.Xaml.Controls.h> #include <winrt/Windows.UI.Xaml.Hosting.h> #include "redefgetcurrentti...
1,888
C++
.h
61
28.655738
94
0.771649
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,943
contextmenu.hpp
TranslucentTB_TranslucentTB/TranslucentTB/tray/contextmenu.hpp
#pragma once #include "basecontextmenu.hpp" #include "arch.h" #include <shellscalingapi.h> #include <utility> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/Windows.UI.Xaml.Controls.h> #include "redefgetcurrenttime.h" template<typename T> class ContextMenu : public BaseContextMenu { private: T ...
1,382
C++
.h
64
18.890625
108
0.708174
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,944
traycontextmenu.hpp
TranslucentTB_TranslucentTB/TranslucentTB/tray/traycontextmenu.hpp
#pragma once #include "contextmenu.hpp" #include "trayicon.hpp" #include <windowsx.h> #include "../dynamicloader.hpp" #include "../uwp/uwp.hpp" template<typename T> class TrayContextMenu : public TrayIcon, public ContextMenu<T> { private: static constexpr POINT PointFromParam(WPARAM wParam) noexcept { return { ...
1,815
C++
.h
70
22.428571
151
0.70951
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,945
trayicon.hpp
TranslucentTB_TranslucentTB/TranslucentTB/tray/trayicon.hpp
#pragma once #include "../windows/messagewindow.hpp" #include <optional> #include <shellapi.h> #include <windef.h> #include <wil/resource.h> #include "undoc/uxtheme.hpp" class TrayIcon : public virtual MessageWindow { private: NOTIFYICONDATA m_IconData; const wchar_t *m_whiteIconResource; const wchar_t *m_darkIco...
1,491
C++
.h
41
34.195122
88
0.781882
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,946
uwp.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/uwp.hpp
#pragma once #include <filesystem> #include <optional> #include <string> #include "winrt.hpp" #include <winrt/Windows.System.h> #include "undefgetcurrenttime.h" #include <winrt/Windows.UI.Xaml.Hosting.h> #include "redefgetcurrenttime.h" #include "../windows/window.hpp" namespace UWP { std::optional<std::wstring> Get...
635
C++
.h
19
31.947368
80
0.796417
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,947
dynamicdependency.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/dynamicdependency.hpp
#pragma once #include "arch.h" #include <windef.h> #include <WinBase.h> #include <appmodel.h> #include <wil/resource.h> #include "util/null_terminated_string_view.hpp" class DynamicDependency { wil::unique_process_heap_string m_dependencyId; PACKAGEDEPENDENCY_CONTEXT m_Context; public: DynamicDependency(HMODULE h...
611
C++
.h
16
36.5
150
0.811864
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,948
xamlpagehost.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamlpagehost.hpp
#pragma once #include "basexamlpagehost.hpp" #include <concepts> #include <ShObjIdl_core.h> #include <tuple> #include <type_traits> #include <windowsx.h> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/Windows.Foundation.h> #include <winrt/Windows.UI.Xaml.h> #include <winrt/Windows.UI.Xaml.Contro...
9,291
C++
.h
289
28.653979
160
0.720863
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,949
xamlthread.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamlthread.hpp
#pragma once #include "arch.h" #include <cassert> #include <functional> #include <memory> #include <mutex> #include <utility> #include <windef.h> #include <WinBase.h> #include <wil/resource.h> #include <windows.ui.xaml.hosting.desktopwindowxamlsource.h> #include "winrt.hpp" #include <winrt/Windows.System.h> #include "u...
3,033
C++
.h
90
31.377778
208
0.764203
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,950
xamlthreadpool.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamlthreadpool.hpp
#pragma once #include "arch.h" #include <memory> #include <utility> #include <vector> #include <windef.h> #include "../../ProgramLog/error/winrt.hpp" #include "undoc/uxtheme.hpp" #include "../windows/windowclass.hpp" #include "xamlpagehost.hpp" #include "xamlthread.hpp" class XamlThreadPool { WindowClass m_WndClass;...
1,340
C++
.h
36
35.222222
146
0.770833
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,951
basexamlpagehost.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/basexamlpagehost.hpp
#pragma once #include "../windows/messagewindow.hpp" #include "arch.h" #include <windef.h> #include "winrt.hpp" #include "undefgetcurrenttime.h" #include <winrt/Windows.Foundation.h> #include <winrt/Windows.UI.Xaml.Hosting.h> #include <winrt/TranslucentTB.Xaml.Pages.h> #include "redefgetcurrenttime.h" #include "../w...
2,071
C++
.h
62
31.080645
154
0.769076
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,952
xamldragregion.hpp
TranslucentTB_TranslucentTB/TranslucentTB/uwp/xamldragregion.hpp
#pragma once #include "winrt.hpp" #include <winrt/Windows.Foundation.h> #include "../windows/messagewindow.hpp" class XamlDragRegion final : public MessageWindow { private: wf::Rect m_ButtonsRegion = { }; bool m_Tracking = false; void HandleClick(UINT msg, LPARAM lParam) noexcept; LRESULT MessageHandler(UINT uMs...
590
C++
.h
15
37.533333
94
0.787719
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,953
ids.h
TranslucentTB_TranslucentTB/TranslucentTB/resources/ids.h
#pragma once #define IDI_MAINICON 101 #define IDI_TRAYWHITEICON 102 #define IDI_TRAYBLACKICON 103 #define IDS_WELCOME_NOTIFICATION 60001 #define IDS_HIDE_TRAY 60002 #define IDS_ALREADY_RUNNING 60003 #define IDS_LANGU...
597
C++
.h
13
44.769231
48
0.611684
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,954
configmanager.hpp
TranslucentTB_TranslucentTB/TranslucentTB/managers/configmanager.hpp
#pragma once #include "arch.h" #include <filesystem> #include <optional> #include <string_view> #include <synchapi.h> #include <type_traits> #include <wil/resource.h> #include "config/config.hpp" #include "../folderwatcher.hpp" class ConfigManager { // we use settings.json because it makes VS Code automatically reco...
1,549
C++
.h
45
32.422222
128
0.77882
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,955
startupmanager.hpp
TranslucentTB_TranslucentTB/TranslucentTB/managers/startupmanager.hpp
#pragma once #include <optional> #include "winrt.hpp" #include <winrt/Windows.ApplicationModel.h> #include <winrt/Windows.Foundation.h> class StartupManager { private: winrt::Windows::ApplicationModel::StartupTask m_StartupTask; public: inline StartupManager() noexcept : m_StartupTask(nullptr) { } winrt::fire_and...
600
C++
.h
20
28.15
84
0.789565
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,956
launchervisibilitysink.hpp
TranslucentTB_TranslucentTB/TranslucentTB/taskbar/launchervisibilitysink.hpp
#pragma once #include "arch.h" #include <ShObjIdl.h> #include "winrt.hpp" #include "../windows/window.hpp" class LauncherVisibilitySink : public winrt::implements<LauncherVisibilitySink, IAppVisibilityEvents> { Window m_Wnd; UINT m_Msg; IFACEMETHODIMP LauncherVisibilityChange(BOOL currentVisibleState) noexcept ov...
638
C++
.h
20
29.9
121
0.799347
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,957
taskbarattributeworker.hpp
TranslucentTB_TranslucentTB/TranslucentTB/taskbar/taskbarattributeworker.hpp
#pragma once #include "arch.h" #include <array> #include <chrono> #include <member_thunk/page.hpp> #include <optional> #include <ShObjIdl.h> #include <string_view> #include <unordered_map> #include <unordered_set> #include <vector> #include <wil/com.h> #include <wil/resource.h> #include "winrt.hpp" #include <winrt/Tran...
9,749
C++
.h
230
40.217391
146
0.798882
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,958
window.hpp
TranslucentTB_TranslucentTB/TranslucentTB/windows/window.hpp
#pragma once #include "arch.h" #include <dwmapi.h> #include <errhandlingapi.h> #include <filesystem> #include <string> #include <optional> #include <utility> #include <windef.h> #include <winerror.h> #include <winuser.h> #include "../ProgramLog/error/win32.hpp" #include "util/null_terminated_string_view.hpp" #include ...
11,311
C++
.h
390
26.44359
216
0.752122
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,959
messagewindow.hpp
TranslucentTB_TranslucentTB/TranslucentTB/windows/messagewindow.hpp
#pragma once #include "arch.h" #include <member_thunk/page.hpp> #include <memory> #include <windef.h> #include "../resources/ids.h" #include "util/maybe_delete.hpp" #include "util/null_terminated_string_view.hpp" #include "window.hpp" #include "windowclass.hpp" class MessageWindow : public Window { private: std::uni...
1,843
C++
.h
43
40.697674
252
0.78256
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,960
windowclass.hpp
TranslucentTB_TranslucentTB/TranslucentTB/windows/windowclass.hpp
#pragma once #include "arch.h" #include <functional> #include <string> #include <windef.h> #include <WinUser.h> #include <wil/resource.h> #include "util/null_terminated_string_view.hpp" class Window; class WindowClass { private: ATOM m_Atom; HINSTANCE m_hInstance; wil::unique_hicon m_hIconSmall, m_hIcon; wil::sr...
1,764
C++
.h
52
31.538462
225
0.738824
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,961
dependencyproperty.h
TranslucentTB_TranslucentTB/Xaml/dependencyproperty.h
#pragma once #ifndef __midl # include "winrt.hpp" # include <winrt/Windows.UI.Xaml.h> # include "util/string_macros.hpp" # define DEPENDENCY_PROPERTY_FIELD(NAME) s_ ## NAME ## Property_ # define DECL_DEPENDENCY_PROPERTY_FUNCS(TYPE, NAME, FIELD) \ static wux::DependencyProperty NAME ## Property() noexcept \ { \ retu...
1,648
C++
.h
53
29.245283
77
0.737304
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,962
pch.h
TranslucentTB_TranslucentTB/Xaml/pch.h
#pragma once #include "winrt.hpp" // Remove intrusive macro from Windows headers #include "undefgetcurrenttime.h" #include <winrt/Microsoft.UI.Xaml.Controls.h> #include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h> #include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h> #include <winrt/Windows.ApplicationModel.Resources....
1,513
C++
.h
36
40.916667
57
0.80516
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,963
FunctionalConverters.h
TranslucentTB_TranslucentTB/Xaml/FunctionalConverters.h
#pragma once #include "factory.h" #include "winrt.hpp" #include "winrt/TranslucentTB.Xaml.Models.Primitives.h" #include "FunctionalConverters.g.h" namespace winrt::TranslucentTB::Xaml::implementation { struct FunctionalConverters { static bool InvertedBool(bool value) noexcept; static wux::Visibility InvertedBo...
602
C++
.h
16
35.75
91
0.821612
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,964
StyleResources.h
TranslucentTB_TranslucentTB/Xaml/StyleResources.h
#pragma once #include "factory.h" #include "winrt.hpp" #include "StyleResources.g.h" namespace winrt::TranslucentTB::Xaml::implementation { // ResourceDictionary with marker interface to be able to find out the MergedDictionary we inserted MIDL_INTERFACE("A240AC45-8961-4B2F-9259-7F9C8740BFFC") IStyleResourceDiction...
1,374
C++
.h
44
28.272727
142
0.786525
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,965
App.h
TranslucentTB_TranslucentTB/Xaml/App.h
#pragma once #include "factory.h" #include "App.g.h" #include "App.base.hpp" namespace winrt::TranslucentTB::Xaml::implementation { struct App : AppT2<App> { App(); }; } FACTORY(winrt::TranslucentTB::Xaml, App);
220
C++
.h
12
16.666667
52
0.736585
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,966
factory.h
TranslucentTB_TranslucentTB/Xaml/factory.h
#pragma once #define FACTORY(NAMESPACE, CLASS) \ namespace NAMESPACE::factory_implementation \ { \ struct CLASS : CLASS ## T<CLASS, implementation::CLASS> \ { \ }; \ }
171
C++
.h
8
20
58
0.717791
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,967
property.h
TranslucentTB_TranslucentTB/Xaml/property.h
#pragma once #include <utility> #include <type_traits> #define PROPERTY_FIELD(NAME) m_ ## NAME ## Property_ #define DECL_PROPERTY_FUNCS(TYPE, NAME, FIELD) \ TYPE NAME() const noexcept(std::is_nothrow_copy_constructible_v<TYPE>) \ { \ return FIELD; \ }\ \ void NAME(TYPE value) noexcept(std::is_nothrow_move_assig...
526
C++
.h
20
24.5
74
0.710317
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,968
PropertyChangedBase.hpp
TranslucentTB_TranslucentTB/Xaml/PropertyChangedBase.hpp
#pragma once #include <type_traits> #include "winrt.hpp" #include <winrt/Windows.UI.Xaml.Data.h> #include "event.h" #include "util/string_macros.hpp" #define PROPERTY_CHANGED_FIELD(NAME) m_ ## NAME ## Property_ #define DECL_PROPERTY_CHANGED_FUNCS(TYPE, NAME, FIELD) \ TYPE NAME() const noexcept(std::is_nothrow_copy_c...
1,062
C++
.h
37
26.72973
92
0.740196
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
4,969
BindableObjectReference.h
TranslucentTB_TranslucentTB/Xaml/BindableObjectReference.h
#pragma once #include "dependencyproperty.h" #include "factory.h" #include "winrt.hpp" #include "BindableObjectReference.g.h" namespace winrt::TranslucentTB::Xaml::implementation { struct BindableObjectReference : BindableObjectReferenceT<BindableObjectReference> { BindableObjectReference() = default;...
444
C++
.h
14
28.857143
86
0.800469
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,970
event.h
TranslucentTB_TranslucentTB/Xaml/event.h
#pragma once #include "winrt.hpp" #define DECL_EVENT(TYPE, NAME, FIELD) \ private: \ winrt::event<TYPE> FIELD; \ \ public: \ winrt::event_token NAME(const TYPE &handler_) \ { \ return FIELD.add(handler_); \ }\ \ void NAME(const winrt::event_token &token_) \ { \ FIELD.remove(token_); \ }
301
C++
.h
16
17
48
0.669014
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,971
App.base.hpp
TranslucentTB_TranslucentTB/Xaml/App.base.hpp
#pragma once #include "winrt.hpp" #include <winrt/Windows.UI.Xaml.Interop.h> #include <winrt/Windows.UI.Xaml.Markup.h> namespace winrt::TranslucentTB::Xaml::implementation { template<typename D, typename... I> struct App_baseWithProvider : public App_base<D, wux::Markup::IXamlMetadataProvider> { using IXamlType = ...
1,028
C++
.h
35
26.457143
87
0.742655
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,972
RelativeAncestor.h
TranslucentTB_TranslucentTB/Xaml/RelativeAncestor.h
#pragma once #include "factory.h" #include "winrt.hpp" #include <utility> #include <vector> #include "RelativeAncestor.g.h" namespace winrt::TranslucentTB::Xaml::implementation { struct RelativeAncestor { static wux::DependencyProperty AncestorProperty() noexcept { return m_AncestorProperty; } static w...
2,067
C++
.h
60
31.266667
119
0.772431
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,973
FluentColorPalette.h
TranslucentTB_TranslucentTB/Xaml/Models/FluentColorPalette.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include <array> #include "Models/FluentColorPalette.g.h" namespace winrt::TranslucentTB::Xaml::Models::implementation { struct FluentColorPalette : FluentColorPaletteT<FluentColorPalette> { private: /* Values were taken from the Settings App, Personaliz...
4,255
C++
.h
111
33.72973
93
0.567369
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,974
Action.h
TranslucentTB_TranslucentTB/Xaml/Models/Action.h
#pragma once #include "../event.h" #include "../factory.h" #include "../PropertyChangedBase.hpp" #include "winrt.hpp" #include "Models/Action.g.h" namespace winrt::TranslucentTB::Xaml::Models::implementation { struct Action : ActionT<Action>, PropertyChangedBase { Action() = default; DECL_PROPERTY_CHANGED_PROP...
702
C++
.h
21
31.238095
82
0.765579
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,975
TaskbarAppearance.h
TranslucentTB_TranslucentTB/Xaml/Models/Primitives/TaskbarAppearance.h
#pragma once #include "../../factory.h" #include "../../property.h" #include "Models/Primitives/TaskbarAppearance.g.h" namespace winrt::TranslucentTB::Xaml::Models::Primitives::implementation { struct TaskbarAppearance : TaskbarAppearanceT<TaskbarAppearance> { TaskbarAppearance() noexcept = default; TaskbarAppe...
964
C++
.h
27
33.111111
106
0.748927
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,976
OptionalTaskbarAppearance.h
TranslucentTB_TranslucentTB/Xaml/Models/Primitives/OptionalTaskbarAppearance.h
#pragma once #include "../../factory.h" #include "../../property.h" #include "TaskbarAppearance.h" #include "Models/Primitives/OptionalTaskbarAppearance.g.h" namespace winrt::TranslucentTB::Xaml::Models::Primitives::implementation { struct OptionalTaskbarAppearance : OptionalTaskbarAppearanceT<OptionalTaskbarAppeara...
781
C++
.h
20
36.8
128
0.793651
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,977
WelcomePage.h
TranslucentTB_TranslucentTB/Xaml/Pages/WelcomePage.h
#pragma once #include "../event.h" #include "../factory.h" #include "winrt.hpp" #include "FramelessPage.h" #include "Pages/WelcomePage.g.h" namespace winrt::TranslucentTB::Xaml::Pages::implementation { struct WelcomePage : wux::Markup::ComponentConnectorT<WelcomePageT<WelcomePage>> { wf::Rect ExpandedDragRegion()...
1,187
C++
.h
23
49.347826
93
0.82038
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,978
TrayFlyoutPage.h
TranslucentTB_TranslucentTB/Xaml/Pages/TrayFlyoutPage.h
#pragma once #include "../event.h" #include "../factory.h" #include "../PropertyChangedBase.hpp" #include "winrt.hpp" #include "Models/Primitives/TaskbarAppearance.h" #include "Pages/TrayFlyoutPage.g.h" namespace winrt::TranslucentTB::Xaml::Pages::implementation { struct TrayFlyoutPage : TrayFlyoutPageT<TrayFlyoutPa...
4,407
C++
.h
69
60.956522
132
0.837538
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,979
FramelessPage.h
TranslucentTB_TranslucentTB/Xaml/Pages/FramelessPage.h
#pragma once #include "../dependencyproperty.h" #include "../event.h" #include "../factory.h" #include "winrt.hpp" #include "Pages/FramelessPage.g.h" #include "Controls/ChromeButton.h" namespace winrt::TranslucentTB::Xaml::Pages::implementation { struct FramelessPage : FramelessPageT<FramelessPage> { void Initial...
2,253
C++
.h
50
42.22
135
0.79241
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,980
ColorPickerPage.h
TranslucentTB_TranslucentTB/Xaml/Pages/ColorPickerPage.h
#pragma once #include "../event.h" #include "../factory.h" #include "../PropertyChangedBase.hpp" #include "winrt.hpp" #include "FramelessPage.h" #include "Pages/ColorPickerPage.g.h" namespace winrt::TranslucentTB::Xaml::Pages::implementation { struct ColorPickerPage : wux::Markup::ComponentConnectorT<ColorPickerPage...
1,509
C++
.h
32
44.625
105
0.806958
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,981
ActionList.h
TranslucentTB_TranslucentTB/Xaml/Controls/ActionList.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include "Controls/ActionList.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct ActionList : ActionListT<ActionList> { void ForwardActionKey(const IInspectable &sender, const wux::Input::KeyRoutedEventArgs &args); void ForwardA...
455
C++
.h
13
33.230769
96
0.794989
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,982
ColorPicker.h
TranslucentTB_TranslucentTB/Xaml/Controls/ColorPicker.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/ColorPicker.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { // Explicitly use ColorPicker_base because the XAML compiler generates an empty .xaml.g.h struct ColorPicker : ColorPicker...
14,117
C++
.h
181
74.834254
195
0.829059
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,983
ConstrainedBox.h
TranslucentTB_TranslucentTB/Xaml/Controls/ConstrainedBox.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/ConstrainedBox.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct ConstrainedBox : ConstrainedBoxT<ConstrainedBox> { private: // make DECL_DEPENDENCY_PROPERTY_WITH_METAD...
1,420
C++
.h
31
42.709677
151
0.784627
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,984
SwitchPresenter.h
TranslucentTB_TranslucentTB/Xaml/Controls/SwitchPresenter.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/SwitchPresenter.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct SwitchPresenter : SwitchPresenterT<SwitchPresenter> { private: // make DECL_DEPENDENCY_PROPERTY_WITH_METADAT...
1,726
C++
.h
43
37.27907
119
0.793165
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,985
FocusBorderColorSpectrum.h
TranslucentTB_TranslucentTB/Xaml/Controls/FocusBorderColorSpectrum.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include "Controls/FocusBorderColorSpectrum.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct FocusBorderColorSpectrum : FocusBorderColorSpectrum_base<FocusBorderColorSpectrum> { FocusBorderColorSpectrum() = default; ...
715
C++
.h
18
36.666667
98
0.808973
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,986
colorpickerrendering.hpp
TranslucentTB_TranslucentTB/Xaml/Controls/colorpickerrendering.hpp
#pragma once #include <cstdint> #include <vector> #include "util/color.hpp" constexpr Util::Color GetCheckerPixelColor(int32_t x, int32_t y, Util::Color checkerColor, double renderScale, bool invert = false) noexcept { constexpr int32_t CHECKER_SIZE_PRE_SCALE = 4; const int32_t checkerSize = static_cast<int32_t>(CH...
3,331
C++
.h
69
45.782609
315
0.689231
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,987
ChromeButton.h
TranslucentTB_TranslucentTB/Xaml/Controls/ChromeButton.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/ChromeButton.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { // Explicitly use ChromeButton_base because the XAML compiler generates an empty .xaml.g.h struct ChromeButton : ChromeBu...
981
C++
.h
23
40.391304
91
0.791186
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,988
Case.h
TranslucentTB_TranslucentTB/Xaml/Controls/Case.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/Case.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct Case : CaseT<Case> { Case() = default; DECL_DEPENDENCY_PROPERTY(wux::UIElement, Content); DECL_DEPENDENCY_PROPERTY_...
478
C++
.h
16
27.9375
75
0.764192
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,989
ColorPickerSlider.h
TranslucentTB_TranslucentTB/Xaml/Controls/ColorPickerSlider.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Controls/ColorPickerSlider.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { // Explicitly use ColorPickerSlider_base because the XAML compiler generates an empty .xaml.g.h struct ColorPickerSl...
3,520
C++
.h
60
55.616667
183
0.794767
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,990
UniformGrid.h
TranslucentTB_TranslucentTB/Xaml/Controls/UniformGrid.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include <experimental/generator> #include <tuple> #include <vector> #include "Controls/UniformGrid.g.h" namespace winrt::TranslucentTB::Xaml::Controls::implementation { struct UniformGrid : UniformGridT<UniformGrid> { pr...
3,179
C++
.h
97
29.371134
132
0.752857
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,991
ThicknessFilterConverter.h
TranslucentTB_TranslucentTB/Xaml/Converters/ThicknessFilterConverter.h
#pragma once #include "../dependencyproperty.h" #include "../factory.h" #include "winrt.hpp" #include "Converters/ThicknessFilterConverter.g.h" namespace winrt::TranslucentTB::Xaml::Converters::implementation { struct ThicknessFilterConverter : ThicknessFilterConverterT<ThicknessFilterConverter> { ThicknessFilter...
1,029
C++
.h
19
52
152
0.814741
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,992
ContrastBrushConverter.h
TranslucentTB_TranslucentTB/Xaml/Converters/ContrastBrushConverter.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include "Converters/ContrastBrushConverter.g.h" namespace winrt::TranslucentTB::Xaml::Converters::implementation { struct ContrastBrushConverter : ContrastBrushConverterT<ContrastBrushConverter> { ContrastBrushConverter() = default; uint8_t AlphaThresh...
811
C++
.h
18
42.833333
152
0.811944
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,993
ColorToColorShadeConverter.h
TranslucentTB_TranslucentTB/Xaml/Converters/ColorToColorShadeConverter.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include "Converters/ColorToColorShadeConverter.g.h" namespace winrt::TranslucentTB::Xaml::Converters::implementation { struct ColorToColorShadeConverter : ColorToColorShadeConverterT<ColorToColorShadeConverter> { ColorToColorShadeConverter() = default; ...
789
C++
.h
16
47.25
152
0.816406
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,994
ColorToDisplayNameConverter.h
TranslucentTB_TranslucentTB/Xaml/Converters/ColorToDisplayNameConverter.h
#pragma once #include "../factory.h" #include "winrt.hpp" #include "Converters/ColorToDisplayNameConverter.g.h" namespace winrt::TranslucentTB::Xaml::Converters::implementation { struct ColorToDisplayNameConverter : ColorToDisplayNameConverterT<ColorToDisplayNameConverter> { ColorToDisplayNameConverter() = defaul...
711
C++
.h
14
48.857143
152
0.82684
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,995
testingdata.hpp
TranslucentTB_TranslucentTB/Tests/testingdata.hpp
#pragma once #include <tuple> static constexpr wchar_t numbers[] = { L'0', L'1', L'2', L'3', L'4', L'5', L'6', L'7', L'8', L'9' }; static constexpr std::tuple<wchar_t, wchar_t> alphabet[] = { { L'A', L'a'}, { L'B', L'b'}, { L'C', L'c'}, { L'D', L'd'}, { L'E', L'e'}, { L'F', L'f'}, { L'G', L'g'}, { L'H', L'h'}, { ...
850
C++
.h
20
40.75
60
0.348247
TranslucentTB/TranslucentTB
15,526
1,125
171
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,996
objdump.cpp
RPCS3_rpcs3/objdump.cpp
// objdump injection utility for Linux perf tools. // Profiling JIT generated code is always problematic. // On Linux, perf annotation tools do not automatically // disassemble runtime-generated code. // However, it's possible to override objdump utility // which is used to disassemeble executables. // This tool interc...
4,268
C++
.cpp
172
21.511628
111
0.609317
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
4,997
stb_image.cpp
RPCS3_rpcs3/rpcs3/stb_image.cpp
#include "stdafx.h" // Defines STB_IMAGE_IMPLEMENTATION *once* for stb_image.h includes (Should this be placed somewhere else?) #define STB_IMAGE_IMPLEMENTATION // Sneak in truetype as well. #define STB_TRUETYPE_IMPLEMENTATION // This header generates lots of errors, so we ignore those (not rpcs3 code) #ifdef _MSC_VE...
1,003
C++
.cpp
28
34.75
107
0.795478
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
true
false
4,998
main_application.cpp
RPCS3_rpcs3/rpcs3/main_application.cpp
#include "stdafx.h" #include "main_application.h" #include "display_sleep_control.h" #include "util/types.hpp" #include "util/logs.hpp" #include "util/sysinfo.hpp" #include "Utilities/Thread.h" #include "Utilities/File.h" #include "Input/pad_thread.h" #include "Emu/System.h" #include "Emu/system_config.h" #include "E...
10,547
C++
.cpp
340
27.761765
207
0.701476
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
4,999
main.cpp
RPCS3_rpcs3/rpcs3/main.cpp
// Qt6 frontend implementation for rpcs3. Known to work on Windows, Linux, Mac // by Sacha Refshauge, Megamouse and flash-fire #include <iostream> #include <chrono> #include <clocale> #include <QApplication> #include <QCommandLineParser> #include <QFileInfo> #include <QTimer> #include <QObject> #include <QStyleFactor...
43,224
C++
.cpp
1,182
33.551607
231
0.688901
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
5,000
module_verifier.cpp
RPCS3_rpcs3/rpcs3/module_verifier.cpp
#include "stdafx.h" #include "module_verifier.hpp" #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <Windows.h> #include <Shlwapi.h> #include <util/types.hpp> #include <util/logs.hpp> #include <Utilities/StrUtil.h> #include <Utilities/StrFmt.h> LOG_CHANNEL(sys_log, "SYS"); [[n...
2,803
C++
.cpp
79
32.164557
127
0.693245
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
5,001
headless_application.cpp
RPCS3_rpcs3/rpcs3/headless_application.cpp
#include "headless_application.h" #include "Emu/RSX/Null/NullGSRender.h" #include "Emu/Cell/Modules/cellMsgDialog.h" #include "Emu/Cell/Modules/cellOskDialog.h" #include "Emu/Cell/Modules/cellSaveData.h" #include "Emu/Cell/Modules/sceNpTrophy.h" #include "Emu/Io/Null/null_camera_handler.h" #include "Emu/Io/Null/null_m...
5,789
C++
.cpp
155
34.774194
157
0.69884
RPCS3/rpcs3
15,204
1,895
1,021
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
true
false