Skip to content

Commit 7bdf6bd

Browse files
authored
Merge pull request #175 from end2endzone/feature-issue161 #161
Feature issue161
2 parents 9c20b9e + 088f5aa commit 7bdf6bd

25 files changed

+433
-12
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Changes for 0.10.0
1010
* Fixed issue #157: Compilation fails on Github Action: `fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory`.
1111
* Fixed issue #158: Compilation fails on Github Action: `CPack error : Problem running WiX.`.
1212
* Fixed issue #159: Unit test fails on Github Actions: TestPlugins.testServices().
13+
* Fixed issue #161: Create tools to help quickly find a system icon when creating a menu.
1314
* Fixed issue #164: Fails to identify icon for HTML files.
1415
* Fixed issue #167: Improve the quality and accuracy of icon's fileextension attribute resolution (Icon::ResolveFileExtensionIcon()).
1516

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ set(SHELLANYTHING_INSTALL_ROOT_DIR "/")
162162
set(SHELLANYTHING_INSTALL_BIN_DIR "bin")
163163
set(SHELLANYTHING_INSTALL_LIB_DIR "lib/shellanything-${SHELLANYTHING_VERSION}")
164164
set(SHELLANYTHING_INSTALL_INCLUDE_DIR "include/shellanything-${SHELLANYTHING_VERSION}")
165+
set(SHELLANYTHING_INSTALL_RESOURCE_DIR "resources")
165166
set(SHELLANYTHING_INSTALL_CMAKE_DIR ${SHELLANYTHING_INSTALL_LIB_DIR}) # CMake files (*.cmake) should have the same destination as the library files. Some also prefers to use "cmake".
166167
set(SHELLANYTHING_INSTALL_DOC_DIR "docs")
167168

@@ -376,6 +377,9 @@ install(FILES ${CMAKE_SOURCE_DIR}/resources/register.bat
376377
${CMAKE_SOURCE_DIR}/resources/unregister.bat
377378
DESTINATION ${SHELLANYTHING_INSTALL_BIN_DIR})
378379

380+
# Resources
381+
install(DIRECTORY "${CMAKE_SOURCE_DIR}/resources/Windows Icon Tables" DESTINATION ${SHELLANYTHING_INSTALL_RESOURCE_DIR})
382+
379383
install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/shellanything DESTINATION ${SHELLANYTHING_INSTALL_INCLUDE_DIR})
380384
install(FILES ${SHELLANYTHING_EXPORT_HEADER}
381385
${SHELLANYTHING_VERSION_HEADER}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The main features of ShellAnything are:
9292
* Easily integrate any third party application with custom menus.
9393
* Supports windows [keyboard mnemonics](https://en.wikipedia.org/wiki/Mnemonics_(keyboard)).
9494

95-
For more details about ShellAnything features, please refer to the [User Manual](UserManual.md).
95+
**_For more details about ShellAnything features, please refer to the [User Manual](UserManual.md)._**
9696

9797

9898

UserManual.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ This manual includes a description of the system functionalities and capabilitie
5050
* [Tools](#tools)
5151
* [file_explorer_renew](#file_explorer_renew)
5252
* [arguments.debugger](#argumentsdebugger)
53+
* [Windows icons preview images](#windows-icons-preview-images)
5354
* [Plugins](#plugins)
5455
* [Plugin overview](#plugin-overview)
5556
* [C API](#c-api)
@@ -685,16 +686,7 @@ For instance, the following icon definition uses the same icon as the clicked fi
685686
<icon fileextension="${selection.filename.extension}" />
686687
```
687688

688-
689-
*_Hint_*: you can use Windows own icons to assign your &lt;icon&gt; with familiar Windows icons.
690-
The following links shows a visual representation and the index of each icons:
691-
* [Windows 7 icons in shell32.dll](https://help4windows.com/windows_7_shell32_dll.shtml)
692-
* [Windows 7 icons in imageres.dll](https://help4windows.com/windows_7_imageres_dll.shtml)
693-
* [Windows 8 icons in shell32.dll](https://help4windows.com/windows_8_shell32_dll.shtml)
694-
* [Windows 8 icons in imageres.dll](https://help4windows.com/windows_8_imageres_dll.shtml)
695-
* [Windows 10 icons in shell32.dll](https://help4windows.com/)
696-
* [Windows 10 icons in imageres.dll](https://help4windows.com/)
697-
689+
*_Hint_*: Windows have a variety of built-in icons available. You can assign a Windows built-in icons to an &lt;icon&gt; to give a familiar Windows looks and feel to your menus. See the [Windows icons preview](#windows-icons-preview) section in Tools for more details.
698690

699691

700692

@@ -1873,6 +1865,29 @@ argv[33]=Ψψ
18731865
argv[34]=Ωω.
18741866
```
18751867

1868+
1869+
1870+
### Windows icons preview images ###
1871+
1872+
Windows have a variety of built-in icons available. You can assign a Windows built-in icons to an &lt;icon&gt; to give a familiar Windows looks and feel to your menus. ShellAnything has preview images of the icons in most Windows dll. It allows one to quickly identify the file and the index of a desired icon.
1873+
1874+
The following images show all icons within popular Windows dll files:
1875+
1876+
Microsoft Windows 10 Home:
1877+
* [shell32.dll](resources/Windows%20Icon%20Tables/Win%2010%20Home%20-%20shell32.dll%20icons.png)
1878+
* [imageres.dll](resources/Windows%20Icon%20Tables/Win%2010%20Home%20-%20imageres.dll%20icons.png)
1879+
* [ieframe.dll](resources/Windows%20Icon%20Tables/Win%2010%20Home%20-%20ieframe.dll%20icons.png)
1880+
* [netshell.dll](resources/Windows%20Icon%20Tables/Win%2010%20Home%20-%20netshell.dll%20icons.png)
1881+
1882+
Microsoft Windows 11 Pro:
1883+
* [shell32.dll](resources/Windows%20Icon%20Tables/Win%2011%20Pro%20-%20shell32.dll%20icons.png)
1884+
* [imageres.dll](resources/Windows%20Icon%20Tables/Win%2011%20Pro%20-%20imageres.dll%20icons.png)
1885+
* [ieframe.dll](resources/Windows%20Icon%20Tables/Win%2011%20Pro%20-%20ieframe.dll%20icons.png)
1886+
* [netshell.dll](resources/Windows%20Icon%20Tables/Win%2011%20Pro%20-%20netshell.dll%20icons.png)
1887+
1888+
1889+
1890+
18761891
# Plugins #
18771892

18781893

30.1 KB
Loading
161 KB
Loading
349 KB
Loading
134 KB
Loading
411 KB
Loading
24 KB
Loading

0 commit comments

Comments
 (0)