Gaffer Docs

gaskin - GUI Skin File Format

gaskin files describe the look and feel of a GUI skin.

Ex:

%YAML 1.2
---
name: standard
widgets: 
  - name: standard_button
    type: button
    states:
      enabled:
        background: purple4x4.gab 
        top_left_corner: blue4x4.gab
        top_side: yellow4x4.gab
        top_right_corner: green4x4.gab
        right_side: red4x4.gab
        bottom_right_corner: yellow4x4.gab
        bottom_side: blue4x4.gab
        bottom_left_corner: red4x4.gab
        left_side: green4x4.gab
      disabled:
        background: red4x4.gab 
        top_left_corner: blue4x4.gab
        top_side: yellow4x4.gab
        top_right_corner: green4x4.gab
        right_side: purple4x4.gab
        bottom_right_corner: yellow4x4.gab
        bottom_side: blue4x4.gab
        bottom_left_corner: red4x4.gab
        left_side: green4x4.gab
      activated:
        background: blue4x4.gab 
        top_left_corner: purple4x4.gab
        top_side: yellow4x4.gab
        top_right_corner: green4x4.gab
        right_side: red4x4.gab
        bottom_right_corner: yellow4x4.gab
        bottom_side: blue4x4.gab
        bottom_left_corner: red4x4.gab
        left_side: green4x4.gab
...