FileSystemIcons
classin packageklyn.gui.windows.filesystem
public class FileSystemIcons
FileSystemIcons

Shared vector filesystem icons for Klyn applications and tree fallbacks. Native SystemIcon snapshots may still take precedence on supported hosts. These drawings need no image files, font symbols or filesystem lookups. Semantic file colors remain stable; document paper follows the session theme.

Example

FileSystemIcons.draw(painter, "folder", 8, 8, 24)

Methods
Modifier and Type Member Description
public static draw
draw(painter as Painter, kind as String, x as Int, y as Int, size as Int, expanded as Boolean = false, foreground as Color = null) as Boolean
Draws a shared icon and restores the complete painter state.
public static kindFor
kindFor(path as Path, folder as Boolean = false, volume as Boolean = false) as String
Classifies an already known entry without checking its existence or type.