diff options
Diffstat (limited to 'plugins/IEView/src/ieview_main.cpp')
-rw-r--r-- | plugins/IEView/src/ieview_main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp index b949bed4f3..5ac7146d98 100644 --- a/plugins/IEView/src/ieview_main.cpp +++ b/plugins/IEView/src/ieview_main.cpp @@ -57,6 +57,14 @@ static int ModulesLoaded(WPARAM, LPARAM) return 0;
}
+IconItem iconList[] =
+{
+ { LPGEN("RTL On"), "RTL_ON", IDI_RTL_ON },
+ { LPGEN("RTL Off"), "RTL_OFF", IDI_RTL_OFF },
+ { LPGEN("Group On"), "GROUP_ON", IDI_GROUP_ON },
+ { LPGEN("Group Off"), "GROUP_OFF", IDI_GROUP_OFF }
+};
+
extern "C" int __declspec(dllexport) Load(void)
{
int wdsize = GetCurrentDirectory(0, NULL);
@@ -77,6 +85,7 @@ extern "C" int __declspec(dllexport) Load(void) CreateServiceFunction(MS_IEVIEW_NAVIGATE, HandleIENavigate);
CreateServiceFunction("IEView/ReloadOptions", ReloadOptions);
hHookOptionsChanged = CreateHookableEvent(ME_IEVIEW_OPTIONSCHANGED);
+ Icon_Register(hInstance, ieviewModuleName, iconList, _countof(iconList), ieviewModuleName);
return 0;
}
|