Eskin block include - accident12123/eversion GitHub Wiki

Overview:

The include and shared blocks are used to combine other eskin files into your code. Include is used for files located inside your eskin/code/ folder and shared includes files in the shared skin/code/ folder.

Format:

<include>filename</include> <shared>filename</shared>

Filename does not include the .eskin extension.

Design considerations

includes have been primarily tested outside of tiles and segments. I'm not even sure they would work inside a segment. When designing your includes, try to avoid shared segment code as it would really slow things down if we tried to do that.

Example:

Including a file called codec.eskin

<eskin> <include>codec</include> </eskin>

Including a file called popup.eskin from the shared skin

<eskin> <shared>popup</shared> </eskin>

⚠️ **GitHub.com Fallback** ⚠️