LavishGUI:Templates

From Lavish Software Wiki
Revision as of 05:14, 22 August 2005 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Introduction

What is a template?

A template is a set of characteristics that can be applied to any ISUI item (yes, including other templates). Templates are considered the "default" characteristics for the item. This means that if a characteristic is not given

Why use templates?

There are many good reasons for using templates, including:

  1. The same characteristics can be applied to any number of items (elements, textures, fonts, other templates, etc) without re-describing them each time
  2. New characteristics for each element type can automatically apply to existing interfaces

What can templates NOT do?

Templates can NOT be individually applied to specific characteristics of items. For example, elements have a characteristic "X" and "Y". The element cannot specify separate templates for these characteristics, only a template for the element itself. However, they can specify separate templates for referenced items, such as fonts or textures. In other words, the element can use a template for fonts or textures that it uses.

Creating Templates

Using Templates

See Also