Changing default DTree node image?

Hey, i hate those folders… Can i get a different image for them somehow?

http://luabin.foszor.com/code/addons/derma/lua/vgui/DTree_Node.lua#44
[cpp]
self.Icon = vgui.Create( “DImage”, self )
self.Icon:SetImage( “vgui/spawnmenu/folder” )
self.Icon:SizeToContents()
[/cpp]

Not easily. You’d have to iterate through the DTree’s items and set each one’s icon image.

It couldn’t hurt to make your own DTree/DTree_Node implementation that just sets the image to what you want.

And how would i make the implementation? Arent those files base files?

Make edits to the file that VoideD posted earlier. Save it with a different filename obviously, register it as a different vgui object and use that.