From 437a0568dbb4b6ff0b5198db18989b7f67b01241 Mon Sep 17 00:00:00 2001 From: j v Date: Sat, 24 Sep 2022 20:39:04 -0700 Subject: [PATCH] Unique class names --- src/FolderWindow.cpp | 2 +- src/ItemWindow.cpp | 2 +- src/PreviewWindow.cpp | 4 ++-- src/TextWindow.cpp | 2 +- src/ThumbnailWindow.cpp | 2 +- src/TrayWindow.cpp | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/FolderWindow.cpp b/src/FolderWindow.cpp index d8d4ad5..f0a99cb 100644 --- a/src/FolderWindow.cpp +++ b/src/FolderWindow.cpp @@ -14,7 +14,7 @@ namespace chromafiler { -const wchar_t FOLDER_WINDOW_CLASS[] = L"Folder Window"; +const wchar_t FOLDER_WINDOW_CLASS[] = L"ChromaFile Folder"; const wchar_t PROP_VISITED[] = L"Visited"; const wchar_t PROP_SIZE[] = L"Size"; diff --git a/src/ItemWindow.cpp b/src/ItemWindow.cpp index 31e4acb..3412172 100644 --- a/src/ItemWindow.cpp +++ b/src/ItemWindow.cpp @@ -17,7 +17,7 @@ namespace chromafiler { -const wchar_t CHAIN_OWNER_CLASS[] = L"Chain"; +const wchar_t CHAIN_OWNER_CLASS[] = L"ChromaFile Chain"; const wchar_t WINDOW_THEME[] = L"CompositedWindow::Window"; // dimensions diff --git a/src/PreviewWindow.cpp b/src/PreviewWindow.cpp index ac70f48..17d88e3 100644 --- a/src/PreviewWindow.cpp +++ b/src/PreviewWindow.cpp @@ -22,8 +22,8 @@ struct std::hash { namespace chromafiler { -const wchar_t PREVIEW_WINDOW_CLASS[] = L"Preview Window"; -const wchar_t PREVIEW_CONTAINER_CLASS[] = L"Preview Container"; +const wchar_t PREVIEW_WINDOW_CLASS[] = L"ChromaFile Preview"; +const wchar_t PREVIEW_CONTAINER_CLASS[] = L"ChromaFile Preview Container"; enum WorkerUserMessage { MSG_INIT_PREVIEW_REQUEST = WM_USER, diff --git a/src/TextWindow.cpp b/src/TextWindow.cpp index 26a55ab..0b535af 100644 --- a/src/TextWindow.cpp +++ b/src/TextWindow.cpp @@ -9,7 +9,7 @@ namespace chromafiler { -const wchar_t TEXT_WINDOW_CLASS[] = L"Text Window"; +const wchar_t TEXT_WINDOW_CLASS[] = L"ChromaFile Text"; const ULONG MAX_FILE_SIZE = 50'000'000; diff --git a/src/ThumbnailWindow.cpp b/src/ThumbnailWindow.cpp index f402dc6..5321e52 100644 --- a/src/ThumbnailWindow.cpp +++ b/src/ThumbnailWindow.cpp @@ -5,7 +5,7 @@ namespace chromafiler { -const wchar_t THUMBNAIL_WINDOW_CLASS[] = L"Thumbnail Window"; +const wchar_t THUMBNAIL_WINDOW_CLASS[] = L"ChromaFile Thumbnail"; void ThumbnailWindow::init() { WNDCLASS wndClass = createWindowClass(THUMBNAIL_WINDOW_CLASS); diff --git a/src/TrayWindow.cpp b/src/TrayWindow.cpp index 70eff5b..4eba728 100644 --- a/src/TrayWindow.cpp +++ b/src/TrayWindow.cpp @@ -8,8 +8,8 @@ namespace chromafiler { -const wchar_t TRAY_WINDOW_CLASS[] = L"Tray"; -const wchar_t MOVE_GRIP_CLASS[] = L"Move Grip"; +const wchar_t TRAY_WINDOW_CLASS[] = L"ChromaFile Tray"; +const wchar_t MOVE_GRIP_CLASS[] = L"ChromaFile Move Grip"; const int HOTKEY_FOCUS_TRAY = 1;