Skip to content

Commit

Permalink
Rename app once again
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjac committed Sep 25, 2022
1 parent 823eeae commit 0fcda78
Show file tree
Hide file tree
Showing 37 changed files with 141 additions and 140 deletions.
8 changes: 4 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"version": "0.2.0",
"configurations": [
{
"name": "chromafile",
"name": "ChromaFiler",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}\\build\\chromafile.exe",
"program": "${workspaceFolder}\\build\\ChromaFiler.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}\\build",
Expand All @@ -19,7 +19,7 @@
"name": "Tray",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}\\build\\chromafile.exe",
"program": "${workspaceFolder}\\build\\ChromaFiler.exe",
"args": ["/tray"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}\\build",
Expand All @@ -30,7 +30,7 @@
"name": "Scratch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}\\build\\chromafile.exe",
"program": "${workspaceFolder}\\build\\ChromaFiler.exe",
"args": ["/scratch"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}\\build",
Expand Down
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
"/Zi", // debug only
"/EHsc", // debug only
"/MTd", // debug only
"/D", "CHROMAFILE_DEBUG", // debug only
// "/D", "CHROMAFILE_MEMLEAKS", // debug only
"/D", "CHROMAFILER_DEBUG", // debug only
// "/D", "CHROMAFILER_MEMLEAKS", // debug only
"/nologo",
"/MP", // https://randomascii.wordpress.com/2014/03/22/make-vc-compiles-fast-through-parallel-compilation/
"/W4",
"/Fe:", "${workspaceFolder}\\build\\chromafile.exe",
"/Fe:", "${workspaceFolder}\\build\\ChromaFiler.exe",
"/I", "${workspaceFolder}\\src",
"/I", "${workspaceFolder}\\build", // for message.h
"${workspaceFolder}\\src\\*.cpp",
Expand Down Expand Up @@ -88,7 +88,7 @@
"/nologo",
"/MP",
"/W4",
"/Fe:", "${workspaceFolder}\\build\\chromafile.exe",
"/Fe:", "${workspaceFolder}\\build\\ChromaFiler.exe",
"/I", "${workspaceFolder}\\src",
"/I", "${workspaceFolder}\\build",
"${workspaceFolder}\\src\\*.cpp",
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# chromafile
# ChromaFiler

chromafile is an experimental file manager with a unique interface, borrowing ideas from [Spatial file managers](https://en.wikipedia.org/wiki/Spatial_file_manager) and [Miller Column browsers](https://en.wikipedia.org/wiki/Miller_columns).
ChromaFiler is an experimental file manager with a unique interface, borrowing ideas from [Spatial file managers](https://en.wikipedia.org/wiki/Spatial_file_manager) and [Miller Column browsers](https://en.wikipedia.org/wiki/Miller_columns).

![Screenshot showing a series of chromafile windows](https://user-images.githubusercontent.com/8228102/181705394-48504968-4526-4e73-a4f1-d4924e41ec00.png)
![Screenshot showing a series of ChromaFiler windows](https://user-images.githubusercontent.com/8228102/181705394-48504968-4526-4e73-a4f1-d4924e41ec00.png)

It functions similar to a column-view browser (eg. [Finder](https://en.wikipedia.org/wiki/Finder_(software))), but each column can be broken off into its own window by dragging and dropping. You can use it as a popup menu docked to your taskbar for quickly locating a file, or as a complete replacement for Windows File Explorer (and Notepad).

chromafile works on Windows 8 through 11. Windows 7 support may be added eventually.
ChromaFiler works on Windows 8 through 11. Windows 7 support may be added eventually.

## Download

Check the [Releases](https://github.com/vanjac/chromafile/releases) page for the latest beta build. See [installation instructions](https://github.com/vanjac/chromafile/wiki/Installation) for additional information.
Check the [Releases](https://github.com/vanjac/chromafiler/releases) page for the latest beta build. See [installation instructions](https://github.com/vanjac/chromafiler/wiki/Installation) for additional information.

## Tutorial

See the [wiki](https://github.com/vanjac/chromafile/wiki/Tutorial) for an introduction to the app.
See the [wiki](https://github.com/vanjac/chromafiler/wiki/Tutorial) for an introduction to the app.

## Building

Building requires the [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) and [Visual Studio Code](https://code.visualstudio.com/). The installer is built using [NSIS](https://nsis.sourceforge.io/Main_Page). (You will need to [clone all submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules).)

VS Code must be launched from the "x64 Native Tools Command Prompt" (search in Start menu) to access the correct MSVC build tools. Type `code` in this prompt to launch VS Code. Open the chromafile directory, then open `src/main.cpp` and press `Ctrl+Shift+B` to build the app in the Debug configuration.
VS Code must be launched from the "x64 Native Tools Command Prompt" (search in Start menu) to access the correct MSVC build tools. Type `code` in this prompt to launch VS Code. Open the ChromaFiler directory, then open `src/main.cpp` and press `Ctrl+Shift+B` to build the app in the Debug configuration.

## Suggested pairings

- [Everything](https://www.voidtools.com/) by voidtools (recommend installing with folder context menus)
- [Microsoft PowerToys](https://github.com/microsoft/PowerToys) (see notes on [preview handlers](https://github.com/vanjac/chromafile/wiki/Installation#preview-handlers))
- [Microsoft PowerToys](https://github.com/microsoft/PowerToys) (see notes on [preview handlers](https://github.com/vanjac/chromafiler/wiki/Installation#preview-handlers))
115 changes: 58 additions & 57 deletions installer/install.nsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name "chromafile"
OutFile "..\build\chromafile-install.exe"
Name "ChromaFiler"
OutFile "..\build\ChromaFiler-install.exe"
Unicode True
SetCompressor LZMA
!addplugindir plugins
Expand All @@ -8,27 +8,27 @@ SetCompressor LZMA
!define MULTIUSER_MUI
!define MULTIUSER_INSTALLMODE_COMMANDLINE
!define MULTIUSER_USE_PROGRAMFILES64
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\chromafile"
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\ChromaFiler"
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME "InstallMode"
!define MULTIUSER_INSTALLMODE_INSTDIR "chromafile"
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\chromafile"
!define MULTIUSER_INSTALLMODE_INSTDIR "ChromaFiler"
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\ChromaFiler"
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME "Install_Dir"
!include MultiUser.nsh

!include MUI2.nsh
!include EnumUsersReg.nsh
!include "nsis-shortcut-properties\shortcut-properties.nsh"

!define REG_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\chromafile"
!define CONTEXT_MENU_TEXT "Open in chromafile"
!define REG_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\ChromaFiler"
!define CONTEXT_MENU_TEXT "Open in ChromaFiler"

!define MUI_ICON "..\src\res\folder.ico"
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION StartProgram

!getdllversion /productversion ..\build\chromafile.exe PRODUCT_VERSION_
BrandingText "chromafile v${PRODUCT_VERSION_1}.${PRODUCT_VERSION_2}.${PRODUCT_VERSION_3}"
!getdllversion /productversion ..\build\ChromaFiler.exe PRODUCT_VERSION_
BrandingText "ChromaFiler v${PRODUCT_VERSION_1}.${PRODUCT_VERSION_2}.${PRODUCT_VERSION_3}"

!insertmacro MULTIUSER_PAGE_INSTALLMODE
!insertmacro MUI_PAGE_COMPONENTS
Expand All @@ -51,7 +51,7 @@ Function un.onInit
!insertmacro MULTIUSER_UNINIT
FunctionEnd

Section "chromafile" SecBase
Section "ChromaFiler" SecBase
SectionIn RO
SetOutPath $INSTDIR
WriteUninstaller "$INSTDIR\uninstall.exe"
Expand All @@ -60,9 +60,9 @@ Section "chromafile" SecBase
; MultiUser.nsh never actually writes this value
WriteRegStr SHCTX "${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY}" "${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME}" $MultiUser.InstallMode

WriteRegStr SHCTX Software\chromafile "Install_Dir" "$INSTDIR"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayName" "chromafile"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayIcon" "$INSTDIR\chromafile.exe,0"
WriteRegStr SHCTX Software\ChromaFiler "Install_Dir" "$INSTDIR"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayName" "ChromaFiler"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ChromaFiler.exe,0"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "InstallLocation" "$INSTDIR"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "Publisher" "chroma zone"
WriteRegStr SHCTX "${REG_UNINST_KEY}" "VersionMajor" "${PRODUCT_VERSION_1}"
Expand All @@ -72,118 +72,119 @@ Section "chromafile" SecBase
WriteRegDWORD SHCTX "${REG_UNINST_KEY}" "NoModify" 1
WriteRegDWORD SHCTX "${REG_UNINST_KEY}" "NoRepair" 1

File ..\build\chromafile.exe
File ..\build\ChromaFiler.exe
SectionEnd

Section "Start Menu shortcut" SecStart
; SMPROGRAMS will be set by MultiUser
CreateShortcut /NoWorkingDir "$SMPROGRAMS\chromafile.lnk" "$INSTDIR\chromafile.exe"
!insertmacro ShortcutSetToastProperties "$SMPROGRAMS\chromafile.lnk" "{bcf1926f-5819-497a-93b6-dc2b165ddd9c}" "chroma.file"
CreateShortcut /NoWorkingDir "$SMPROGRAMS\ChromaFiler.lnk" "$INSTDIR\ChromaFiler.exe"
!insertmacro ShortcutSetToastProperties "$SMPROGRAMS\ChromaFiler.lnk" "{bcf1926f-5819-497a-93b6-dc2b165ddd9c}" "chroma.file"
SectionEnd

Section "Add to Open With menu" SecProgID
SetRegView 64
WriteRegStr SHCTX "Software\Classes\Applications\chromafile.exe\DefaultIcon" "" "C:\Windows\System32\imageres.dll,-102"
WriteRegStr SHCTX "Software\Classes\Applications\chromafile.exe\shell\open\command" "" '"$INSTDIR\chromafile.exe" "%1"'
WriteRegStr SHCTX "Software\Classes\Applications\ChromaFiler.exe\DefaultIcon" "" "C:\Windows\System32\imageres.dll,-102"
WriteRegStr SHCTX "Software\Classes\Applications\ChromaFiler.exe\shell\open\command" "" '"$INSTDIR\ChromaFiler.exe" "%1"'
SectionEnd

Section "Add to folder context menu" SecContext
SetRegView 64

Var /GLOBAL default_browser
; clear shell defaults if NOT chromafile
; clear shell defaults if NOT chromafiler
ReadRegStr $default_browser SHCTX "Software\Classes\Directory\Shell" ""
StrCmp $default_browser "chromafile" +2 0
StrCmp $default_browser "chromafiler" +2 0
WriteRegStr SHCTX "Software\Classes\Directory\Shell" "" "none"
ReadRegStr $default_browser SHCTX "Software\Classes\CompressedFolder\Shell" ""
StrCmp $default_browser "chromafile" +2 0
StrCmp $default_browser "chromafiler" +2 0
WriteRegStr SHCTX "Software\Classes\CompressedFolder\Shell" "" "none"
ReadRegStr $default_browser SHCTX "Software\Classes\Drive\Shell" ""
StrCmp $default_browser "chromafile" +2 0
StrCmp $default_browser "chromafiler" +2 0
WriteRegStr SHCTX "Software\Classes\Drive\Shell" "" "none"

WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler "" "${CONTEXT_MENU_TEXT}"
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler "" "${CONTEXT_MENU_TEXT}"

WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile "Icon" "$INSTDIR\chromafile.exe"
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile "Icon" "$INSTDIR\chromafile.exe"
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile "Icon" "$INSTDIR\chromafile.exe"
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile "Icon" "$INSTDIR\chromafile.exe"
WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe"
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe"
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe"
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe"

Var /GLOBAL context_menu_command
StrCpy $context_menu_command '"$INSTDIR\chromafile.exe" "%v"'
WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile\command "" '$context_menu_command'
StrCpy $context_menu_command '"$INSTDIR\ChromaFiler.exe" "%v"'
WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler\command "" '$context_menu_command'
WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler\command "" '$context_menu_command'
SectionEnd

Function StartProgram
; TODO will this work on non-English systems?
InitPluginsDir
File "/ONAME=$PLUGINSDIR\ShellExecAsUser.dll" "plugins\ShellExecAsUser.dll"
CallAnsiPlugin::Call "$PLUGINSDIR\ShellExecAsUser.dll" ShellExecAsUser 2 "" '$INSTDIR\chromafile.exe'
CallAnsiPlugin::Call "$PLUGINSDIR\ShellExecAsUser.dll" ShellExecAsUser 2 "" '$INSTDIR\ChromaFiler.exe'
FunctionEnd

Section "un.Uninstall"
Delete $INSTDIR\*.exe
RMDir $INSTDIR
SetRegView 64
DeleteRegKey SHCTX "${REG_UNINST_KEY}"
DeleteRegKey SHCTX Software\chromafile
DeleteRegKey SHCTX "Software\Classes\Applications\chromafile.exe"
DeleteRegKey SHCTX Software\Classes\Directory\shell\chromafile
DeleteRegKey SHCTX Software\Classes\Directory\Background\shell\chromafile
DeleteRegKey SHCTX Software\Classes\CompressedFolder\shell\chromafile
DeleteRegKey SHCTX Software\Classes\Drive\shell\chromafile
DeleteRegKey SHCTX Software\ChromaFiler
DeleteRegKey SHCTX "Software\Classes\Applications\ChromaFiler.exe"
DeleteRegKey SHCTX Software\Classes\Directory\shell\chromafiler
DeleteRegKey SHCTX Software\Classes\Directory\Background\shell\chromafiler
DeleteRegKey SHCTX Software\Classes\CompressedFolder\shell\chromafiler
DeleteRegKey SHCTX Software\Classes\Drive\shell\chromafiler

Delete $SMPROGRAMS\chromafile.lnk
Delete $SMPROGRAMS\ChromaFiler.lnk

${If} $MultiUser.InstallMode == "CurrentUser"
Call un.CleanupCurrentUser
${Else}
${un.EnumUsersReg} un.CleanupUser chromafile.temp
${un.EnumUsersReg} un.CleanupUser chromafiler.temp
${EndIf}
SectionEnd

Function un.CleanupCurrentUser
DeleteRegKey HKCU "Software\chromafile"
DeleteRegValue HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "chromafile"
DeleteRegKey HKCU "Software\ChromaFiler"
DeleteRegValue HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "ChromaFiler"

; clear shell defaults if set to chromafile (reverse of SecContext)
; clear shell defaults if set to chromafiler (reverse of SecContext)
ReadRegStr $default_browser HKCU "Software\Classes\Directory\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKCU "Software\Classes\Directory\Shell" "" "none"
ReadRegStr $default_browser HKCU "Software\Classes\CompressedFolder\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKCU "Software\Classes\CompressedFolder\Shell" "" "none"
ReadRegStr $default_browser HKCU "Software\Classes\Drive\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKCU "Software\Classes\Drive\Shell" "" "none"
FunctionEnd

Function un.CleanupUser
Pop $0
DeleteRegKey HKU "$0\Software\chromafile"
DeleteRegValue HKU "$0\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "chromafile"
DeleteRegKey HKU "$0\Software\ChromaFiler"
DeleteRegValue HKU "$0\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "ChromaFiler"

; clear shell defaults if set to chromafiler (reverse of SecContext)
ReadRegStr $default_browser HKU "$0\Software\Classes\Directory\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKU "$0\Software\Classes\Directory\Shell" "" "none"
ReadRegStr $default_browser HKU "$0\Software\Classes\CompressedFolder\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKU "$0\Software\Classes\CompressedFolder\Shell" "" "none"
ReadRegStr $default_browser HKU "$0\Software\Classes\Drive\Shell" ""
StrCmp $default_browser "chromafile" 0 +2
StrCmp $default_browser "chromafiler" 0 +2
WriteRegStr HKU "$0\Software\Classes\Drive\Shell" "" "none"
FunctionEnd

LangString DESC_SecBase ${LANG_ENGLISH} "The main application and required components."
LangString DESC_SecStart ${LANG_ENGLISH} "Add a shortcut to the Start Menu to launch chromafile."
LangString DESC_SecStart ${LANG_ENGLISH} "Add a shortcut to the Start Menu to launch ChromaFiler."
LangString DESC_SecProgID ${LANG_ENGLISH} "Add an entry to the 'Open with' menu for all file types. (Does not change the default app for any file type.)"
LangString DESC_SecContext ${LANG_ENGLISH} "Add an 'Open in chromafile' command when right-clicking a folder."
LangString DESC_SecContext ${LANG_ENGLISH} "Add an 'Open in ChromaFiler' command when right-clicking a folder."

!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecBase} $(DESC_SecBase)
Expand Down
2 changes: 1 addition & 1 deletion src/COMUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "COMUtils.h"
#include <shlwapi.h>

namespace chromafile {
namespace chromafiler {

// https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/implementing-iunknown-in-c-plus-plus

Expand Down
2 changes: 1 addition & 1 deletion src/COMUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <Unknwn.h>

namespace chromafile {
namespace chromafiler {

class IUnknownImpl : public IUnknown {
public:
Expand Down
2 changes: 1 addition & 1 deletion src/CreateItemWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <shellapi.h>
#include <strsafe.h>

namespace chromafile {
namespace chromafiler {

const wchar_t IPreviewHandlerIID[] = L"{8895b1c6-b41f-4c1c-a562-0d564250836f}";
const wchar_t CONTROL_PANEL_PATH[] = L"::{26EE0668-A00A-44D7-9371-BEB064C98683}";
Expand Down
2 changes: 1 addition & 1 deletion src/CreateItemWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "ItemWindow.h"

namespace chromafile {
namespace chromafiler {

void initCreateItemWindow();
CComPtr<ItemWindow> createItemWindow(CComPtr<ItemWindow> parent, CComPtr<IShellItem> item);
Expand Down
2 changes: 1 addition & 1 deletion src/DPI.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "DPI.h"

namespace chromafile {
namespace chromafiler {

// https://github.com/tringi/win32-dpi

Expand Down
2 changes: 1 addition & 1 deletion src/DPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <windows.h>

namespace chromafile {
namespace chromafiler {

// modern DPI scaling methods were added in Windows 10 1607, but we are targeting Windows 7

Expand Down
2 changes: 1 addition & 1 deletion src/FolderWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Example of how to host an IExplorerBrowser:
// https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/winui/shell/appplatform/ExplorerBrowserCustomContents

namespace chromafile {
namespace chromafiler {

const wchar_t FOLDER_WINDOW_CLASS[] = L"Folder Window";

Expand Down
2 changes: 1 addition & 1 deletion src/FolderWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "ItemWindow.h"

namespace chromafile {
namespace chromafiler {

class FolderWindow : public ItemWindow, public IServiceProvider, public ICommDlgBrowser2,
public IExplorerBrowserEvents {
Expand Down
Loading

0 comments on commit 0fcda78

Please sign in to comment.