PDA

View Full Version : DGIndex New GUI


flock
22nd December 2007, 14:17
being DGIndex a GPL-licensed software, with a resource editor I have modified (ONLY) the GUI to use the standard MS Shell Dlg font and to support the Windows current theme

in the picture the result for the "Open" menu entry (on Windows XP, with MS Shell Dlg mapped to Tahoma):

http://haxbox.stashbox.org/65034/1/dgindex.png (http://haxbox.stashbox.org/65034/dgindex.png)

download here: http://haxbox.stashbox.org/65052/DGIndex%20New%20GUI.zip

DGIndex New GUI 1.50 RC2

INSTALLATION:
unpack the archive in the DGIndex directory

CHANGES FROM THE OFFICIAL RELEASE:
- Courier 10 replaced by MS Shell Dlg 8
- Tahoma 8 replaced by MS Shell Dlg 8
- added the manifest file to support the Windows themes
- ClearType support if supported by the fonts

by default on Windows XP MS Shell Dlg is mapped to Arial, on Windows Vista is mapped to Segoe UI; to change this behaviour, go in Registry Editor and modify the "MS Shell Dlg" value's string in the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" key

PS: this hack is related to DGIndex 1.50 RC2 only!
PS: the file is clean, but a antivirus check is recommended

Rainy
22nd December 2007, 17:51
by default on Windows XP MS Shell Dlg is mapped to Arial, on Windows Vista is mapped to Segoe UI

That's not correct: Windows XP maps MS Shell Dlg to 'Microsoft Sans Serif' and MS Shell Dlg 2 to Tahoma, which is XP's default fontface. On Windows Vista no substitution by Segoe UI is done. This needs to be done programmatically. ;)

http://msdn2.microsoft.com/en-us/library/aa366904.aspx

flock
22nd December 2007, 23:06
@ Rainy
thank you for the clarification and for pointing me the link :) of course this doesn't affect the validity of the hack

@ the others:
forget the part "by default on Windows XP MS Shell Dlg is mapped to Arial, on Windows Vista is mapped to Segoe UI"

happy Christmas ;)

neuron2
5th January 2008, 04:15
I split this to a thread of its own as it has nothing to do with my development thread.

neuron2
23rd February 2008, 19:59
I cannot use this without source code.

hajj_3
24th February 2008, 15:34
buttons look nice and modern hopefully you can make 1.5.0 final to look like this neuron, would be very nice:)

hkazemi
25th February 2008, 22:47
I cannot use this without source code.

being DGIndex a GPL-licensed software, with a resource editor I have modified (ONLY) the GUI to use the standard MS Shell Dlg font and to support the Windows current theme".

Looks like the original poster didn't use the source to make the changes...it sounds like it was all resource editor work.

neuron2
25th February 2008, 22:51
Looks like anybody can just drop the manifest file in with the current DGIndex EXE and get the new button look, etc.

flock
26th February 2008, 20:07
Looks like the original poster didn't use the source to make the changes...it sounds like it was all resource editor work.

yes, hkazemi is right! no code because is a resource hacking...

I love the DGIndex, but in some circumstances (e.g. ClearType enabled system-wide on a LCD monitor) the original font cause eye-strain

anyway... adding the manifest file with no resource hacking doesn't change nothing (on Windows XP, at least)

with this hack the DGIndex GUI follows dynamically the Windows standard font (with the manifest file the look of < | | > buttons follows the selected theme)

my hack will be useless (to me, at least) when the original project will support such modifications

neuron2
26th February 2008, 20:15
anyway... adding the manifest file with no resource hacking doesn't change nothing (on Windows XP, at least) Sure it does. The button looks, etc., change.

my hack will be useless (to me, at least) when the original project will support such modifications Unless you give me the hacked files, I can't do anything. :confused:

All the source code is available. Can't you just submit the changed files?

hkazemi
26th February 2008, 20:50
Sure it does. The button looks, etc., change.

Unless you give me the hacked files, I can't do anything. :confused:

All the source code is available. Can't you just submit the changed files?

What I understand flock to be saying is he used a tool like 'PE Explorer' or 'Resource Tuner' or 'XN Resource Editor' to modify your already compiled .exe file. There is a link to the modified file in the first post. Resource editors let people make minor, mostly cosmetic, changes to .exe files without needing the source code. They let you change buttons, window sizes, and GUI object names and properties.

neuron2
26th February 2008, 21:28
I need source code to absorb the changes! I'm not going to try to hack resources out of his modified EXE.

If flock wants these changes in the mainline, he can send me diffs for the gui.rc file. It's not rocket science.

hkazemi
26th February 2008, 22:58
I need source code to absorb the changes! I'm not going to try to hack resources out of his modified EXE.

If flock wants these changes in the mainline, he can send me diffs for the gui.rc file. It's not rocket science.

The newest DGIndex source code that I see available is for 1.4.9 final. Will that make any difference for submitting the changes to you? If it would, maybe you can post a link to the RC sources as well?

neuron2
26th February 2008, 23:48
It won't make any difference, because I'll compare what is submitted against 1.4.9 and propagate the changes.