Add EXR registry key, add images filter to file->open dialog

* I doubt anyone will notice the file->open filter unless they look for
  it so it's no good for 'discovering' the image viewing capability, but
  it might be convenient for people who know about it.
This commit is contained in:
baldurk
2015-02-26 18:24:49 +00:00
parent f8e8ae1391
commit 372647709a
3 changed files with 11 additions and 1 deletions
+5
View File
@@ -173,6 +173,9 @@
<RegistryValue Root="HKLM" Id="RDCOpenWithPNG" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.png' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithEXR" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.exr' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithTGA" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.tga' Value='' Type="string" />
@@ -196,6 +199,8 @@
Key="Software\Classes\.jpeg\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidPNG" Action="write"
Key="Software\Classes\.png\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidEXR" Action="write"
Key="Software\Classes\.exr\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidTGA" Action="write"
Key="Software\Classes\.tga\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidBMP" Action="write"
+5
View File
@@ -200,6 +200,9 @@
<RegistryValue Root="HKLM" Id="RDCOpenWithPNG" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.png' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithEXR" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.exr' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithTGA" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.tga' Value='' Type="string" />
@@ -222,6 +225,8 @@
Key="Software\Classes\.jpeg\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidPNG" Action="write"
Key="Software\Classes\.png\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidEXR" Action="write"
Key="Software\Classes\.exr\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidTGA" Action="write"
Key="Software\Classes\.tga\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidBMP" Action="write"
+1 -1
View File
@@ -620,7 +620,7 @@
// openDialog
//
this.openDialog.DefaultExt = "rdc";
this.openDialog.Filter = "Log Files (*.rdc)|*.rdc|All Files (*.*)|*.*";
this.openDialog.Filter = "Log Files (*.rdc)|*.rdc|Image Files|*.dds;*.hdr;*.exr;*.bmp;*.jpg;*.jpeg;*.png;*.tga;*.gif;*.psd|All Files (*.*)|*.*";
this.openDialog.Title = "Select Logfile to open";
//
// toolStripContainer1