Attached my / combined version. Some bugs were also fixed.
Usage: Just install lazxicontrols package (in Delphi install xicontrols.pas to new package)
When tested in Linux, icons did not show up, don't know why (Loading from resource worked in Windows, when tested) Resource is not used/needed in Windows.
Btw, loadicon is no longer in graphics, it was moved to LCLIntf.