Forum > General

What the icon in the unit dependencies window means?

(1/2) > >>

stoffman:
In the unit dependencies window each unit has 1 of 3 possible icons ( as far as I can tell) but I couldn't find an explanation about their meaning.

What each icon means? 


 

https://wiki.freepascal.org/IDE_Window:_Unit_dependencies

howardpc:
Looking at the sources shows that the red x icon overlay indicates that the unit has a uses clause in the implementation section.
A yellow c icon overlay indicates that there is an interface uses cycle.
A red c icon overlay (not shown in your images) indicates that there is an implementation uses cycle.

stoffman:
Thanks!

Can you point me to the source code and the exact line?

howardpc:
in file.../lazarus/ide/unitdependencies.pas
line 2180 (approximately, depends slightly on your version of course)
procedure TUnitDependenciesWindow.CreateTVNodes(...);

JuhaManninen:
This and some other windows should have a "legend" section or button to explain the meaning of icons. They are not intuitive always.
Patches are welcome.

Navigation

[0] Message Index

[#] Next page

Go to full version