LMDThemes Editor

From LMD
Revision as of 21:26, 19 September 2010 by Bocharov (talk | contribs)

Jump to: navigation, search

Overview

LMD Gradient Theme Editor program allows to load, browse, edit and save theme files for LMD Gradient Theme Renderer. <p>The main window containes several area:

Image:te_overview.png

The structure tree (1) allows to easily navigate through XML code of the theme. Click the element in the structure tree on the left, and syntax edit on the right (2) will show you this element within XML code on Source tab. Doubleclick the element in the structure to fully expand the corresponding block in XML code. Doubleclick a tag or an attribute in the XML code to see if there is a description or hint for it in hint area (4). The Detail editor tab allows to change params for currenly chosen themed detail. The Preview controls tab contains controls rendered with a color scheme active at the moment.

Note: You can edit theme properties via controls placed on Detail editor tab (direct in-memory changes) or via SyntaxEdit on Source tab (source changes). Once started with one kind of editing, you have to apply changes in order to switch to another method of editing.

Toolbar

Toolbar contains follo


wing buttons:

  • Open - opens XML theme file.
  • Undo, Redo - undo or redo changes in source editor. Have n
  • o effect in detail editor.
  • Save color scheme - allows to save color scheme into current theme file. If there is no color scheme name in current theme, then new color scheme block will be created.
  • Apply changes - applies pending changes, either made in detail editor or in source editor. Note: this command does not save theme into current file.
  • Cancel direct changes - undoes any change made in detail editor from the moment when "Apply changes" button was pressed.
  • Save changes - applies changes and then saves theme into file.
  • Refresh theme - use this button to force controls in preview tab to refresh theme.

Detail editor

Open Detail editor tab in order to change detail look in a convenient way. Detail look is defined by

  • filler params and descriptor;
  • frame params and descriptor.

Image:te_detail.png

FillDescriptor allows to specify render mode and fillers for one main and four additional fill parts (decorators). <p>FrameDescriptor allows to params and fillers for three frame parts: outer border, inner space and inner border (see http://wiki.lmd.de/index.php/LMDThemes_GradientRenderer#Frame_descriptors).

After changing any descriptor via detail editor, press "Apply changes" botton in the toolbar.

Source editor

Open Source editor tab in order to change underlying XML code.