Can someone explain why many programs have their icon paths as follows: / usr / share / program / icons / hicolor / 16x16 / ...
I do not understand why hicolor and why 16x16, 32x32 , etc.
Are there any functions (e.g. in GTK) that automatically get the correct icon from such paths?
Thank!
"" . , hicolor ( , , , hicolor.)
hicolor
, , , , , 37x37, (, 32x32) .
32x32
- , , - , , , - , hicolor.
, , . GTK , const gchar *icon_name, gtk_image_new_from_icon_name(). , , , hicolor.
const gchar *icon_name
gtk_image_new_from_icon_name()
"hicolor" - , , , (, /usr/share/icons/oxygen), hicolor .
/usr/share/icons/oxygen
16x16, 32x32 , , PNG, ( , ,.icns mac).
"" hicolor "?" , " ?" , unix ( ) , 1000 .
.
Some more modern file systems support O (log N) lookups and can efficiently handle higher rates.