Skip to content

Details on Selected ATF Components

gstaas edited this page Nov 5, 2014 · 3 revisions

This topic shows some ATF components that might be useful in your ATF applications.

HistoryLister Component

HistoryLister creates a window with a list of actions in the history stack which can be undone and redone.

A description of each action is listed. The last action that is undoable is highlighted. Undoing and redoing actions moves the highlight. This component is used in several samples, including ATF Circuit Editor Sample, ATF Circuit Editor Sample, and ATF Timeline Editor Sample.

SkinService Component

SkinService allows you to "skin" your application, changing the appearance of its user interface. This component adds the following items to the View menu:

  • Edit Skin: Display a dialog to select a skin file (skn extension) and display the Skin Editor.
  • Load Skin: Display a dialog to select a skin file and change the user interface to use that skin.
  • Reset Skin to Default: Change the user interface to the default skin, that is, the default appearance of all controls.
The Skin Editor dialog has a File menu with these items:
  • New: Create and open a new skin file.
  • Open: Open an existing skin file. This also loads the skin file, applying it the application's user interface so you can immediately observe the effects of changing skin properties.
  • Open Containing Folder: When a skin file is open, display a file selection dialog with the folder showing the files in the currently opened skin file.
  • Save: Save skin changes to the open file.
  • Save As: Display a file save dialog and save skin changes to a selected file.
  • Exit: Close the Skin Editor dialog.
The Skin Editor dialog's left pane lists the categories of controls:

Selecting a category shows the properties of controls in appropriate value editors that allow you to change these properties. Property changes are immediately reflected in the user interface's appearance, both of the Skin Editor dialog itself as well as the running application.

SkinService is used in ATF DOM Property Editor Sample and ATF Target Manager Sample.

Topics in this section

Clone this wiki locally