Working With Templates
182
TPDesign4 Touch Panel Design Software (v2.10 or higher)
They must be either JPG or PNG files.
To create preview images for your G4 PanelBuilder template:
1.
Open a page in a Design View window.
2.
Select
Page > Create Template Preview Image
to open the Create Template Preview Image
dialog. The preview Image will be created using the page that currently has edit focus.
3.
Select the type of preview image you want to create from the
Element Type
drop-down menu. This
menu lists all of the types of project elements that are recognized by G4 PanelBuilder. Pick the one
that best describes the type of element you are creating a preview image for.
4.
The first item in the list is
Main Preview
, which represents the main preview image that is required
by G4 PanelBuilder for the template to be valid.
5.
If you have selected any element other than
Main Preview
, then you can enter an alternative name
for it in the
Element Name
text field. The alternate name that is entered here will be used as the
default on-screen text when the template is added to a project in G4 PanelBuilder.
6.
Use the up and down arrows next to the
Scale%
field to scale the image, if desired. For example, in
order to minimize the file size of the template, you may decide to reduce the zoom on your preview
image(s) to 25%.
7.
In the
File Format
drop-down, select either JPG or PNG as the file format for the image file.
If you select JPG, you can specify the compression setting using the Compression slider bar.
The
Size
side of the bar optimizes the file size of the image file (typically at the expense of
image quality). Conversely, the
Quality
side of the bar optimizes the file for image quality,
which usually results in a larger file size.
8.
Click
OK
to create the preview image.
Once the preview image has been generated, it appears in the Resource Manager (Images tab). If you
created a Main Preview image, it will be named
[preview].jpg
or
[preview].png
. Otherwise, it will be
named according to the name specified above. Select the image and click the
Export
button to export the
image to another directory, if desired.
Alternate Screen Names for Template Elements
Template elements can now be given an alternate name that will be used as the default on-screen text
when added to a project in G4 PanelBuilder. The text will be taken from the name that follows the '[info]'
tag on an Info button's name. For instance, to use a shorter name for the Audio Conference element,
name your Info button '[info]Audio Conf'.
Element Specific Conventions
Mode Pages: A template may contain one or more Mode elements, which must be
composed of a page and may contain multiple popup pages.
mode#modeName]pageName
•
modeName
- The name of the Mode as it will appear in G4
PanelBuilder.
•
pageName
- The base page name that will be used in the generated
TP4 project.
Info Button:
One and only one of the pages in a Mode element may contain an Info
button which contains the page flip information for displaying the Mode
element and may also contain an optional icon image.
[info]buttonName
•
buttonName
- Unused; The button is deleted in the generated TP4
project.
Содержание Modero NXD-1200VG
Страница 20: ...xviii TPDesign4 Touch Panel Design Software v2 10 or higher Table of Contents ...
Страница 130: ...List Box Buttons 110 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 160: ...Working With States 140 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 166: ...Working With Function Codes 146 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 174: ...Colors and Palettes 154 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 186: ...Animations and Tweening 166 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 208: ...Working With Templates 188 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 236: ...File Transfer Operations 216 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 248: ...Program Preferences 228 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 266: ...Appendix B G4 PanelBuilder 246 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 272: ...Appendix C TakeNote 252 TPDesign4 Touch Panel Design Software v2 10 or higher ...
Страница 273: ...Appendix C TakeNote 253 TPDesign4 Touch Panel Design Software v2 10 or higher ...