home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
RdLang32.CZE
/
EXVW
/
10019
< prev
next >
Wrap
Text File
|
2003-07-19
|
6KB
|
127 lines
gCropMarginWidth = max(
zstring_width(zstring: '$$$avCropCustomMargins'),
zstring_width(zstring: '$$$avCropBoundingBox'),
zstring_width(zstring: '$$$avNone'));
gCropWhichWidth = max(
zstring_width(zstring: '$$$avCropEvenAndOdd'),
zstring_width(zstring: '$$$avCropOddOnly'),
zstring_width(zstring: '$$$avCropEvenOnly'));
gBWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Bottom');
gRWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Right');
gTWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/top');
gLWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/Left');
gTLWidth = max( gTWidth, gLWidth ) + (max_char_width() * 1);
gBRWidth = max( gBWidth , gRWidth ) + (max_char_width() * 1);
gSetValuesWidth = zstring_width(zstring: '$$$/Dialogs/CropDlg/SetValues');
gFromToWidth = max_digit_width() * 10;
gOfWidth = max_digit_width() * 10 + 6 * max_char_width();
gMaxTopBottom = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/top'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/Bottom'));
gMaxLeftRight = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/Left'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/Right'));
gMaxButtonWidth = max(
zstring_width(zstring: '$$$/Dialogs/CropDlg/RemoveWhiteMargins'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/SetValues'),
zstring_width(zstring: '$$$/Dialogs/CropDlg/SetToZero'));
gSpinEditWidth = max_digit_width() * 6 + 32;
gBoxWidth = 8 + max(
zstring_width(zstring: '$$$avArtBox'),
zstring_width(zstring: '$$$avCropBox'),
zstring_width(zstring: '$$$avTrimBox'),
zstring_width(zstring: '$$$avBleedBox'));
gMaxUnits = max(
zstring_width(zstring: '$$$avPageSizeStringPoints'),
zstring_width(zstring: '$$$avPageSizeStringPicas'),
zstring_width(zstring: '$$$avPageSizeStringInches'),
zstring_width(zstring: '$$$avPageSizeStringMillimeters'),
zstring_width(zstring: '$$$avPageSizeStringCentimeters'));
dialog(name: '$$$/Dialogs/CropDlg')
{
view( align_children: align_left)
{
cluster(item_id: 'gbx1', name: '$$$/Dialogs/CropDlg/MarginsGrp', align_children: align_left,
alignment: align_left)
{
user_item( item_id: 'thmb', width: 100, height: 100, alignment: align_center);
view(align_children: align_row, alignment: align_left)
{
static_text(item_id: 'boxl', name: '$$$/Prefs/DisplayDlg');
popup(item_id: 'boxs', width: gBoxWidth);
static_text(item_id: 'psiz', width: max_char_width() * 25);
}
view(align_children: align_row, alignment: align_center)
{
static_text(item_id: 'Ltop', name: '$$$/Dialogs/CropDlg/top', width: gMaxTopBottom, alignment: align_right);
edit_text(item_id: 'top ', SpinEdit: true, width: gSpinEditWidth, alignment: align_center);
}
view(align_children: align_row, alignment: align_center)
{
static_text(item_id: 'Llef', name: '$$$/Dialogs/CropDlg/Left', width: gMaxLeftRight, alignment: align_right);
edit_text(item_id: 'left', SpinEdit: true, width: gSpinEditWidth);
static_text(item_id: 'Lrig', name: '$$$/Dialogs/CropDlg/Right', width: gMaxLeftRight, alignment: align_right);
edit_text(item_id: 'rght', SpinEdit: true, width: gSpinEditWidth);
}
view(align_children: align_row, alignment: align_center)
{
static_text(item_id: 'Lbot', name: '$$$/Dialogs/CropDlg/Bottom', width: gMaxTopBottom, alignment: align_right);
edit_text(item_id: 'bttm', SpinEdit: true, width: gSpinEditWidth, alignment: align_center);
}
view(align_children: align_row, alignment: align_left)
{
static_text(name: '$$$/Dialogs/CropDlg/SetValues', width: gSetValuesWidth, alignment: align_right);
button(item_id: 'zero', name: '$$$/Dialogs/CropDlg/SetToZero', width: gMaxButtonWidth);
button(item_id: 'revt', name: '$$$/Dialogs/CropDlg/Revert', width: gMaxButtonWidth);
static_text(item_id: 'ulab', name: '$$$/Prefs/Display/PageUnits');
popup(item_id: 'unit', width: gMaxUnits);
}
view(align_children: align_row, alignment: align_left)
{
static_text(name: '$$$/Dialogs/CropDlg/EmptyStr', width: gSetValuesWidth, alignment: align_right);
check_box(item_id: 'whit', name: '$$$/Dialogs/CropDlg/RemoveWhiteMargins');
static_text(name: '$$$/Dialogs/CropDlg/EmptyStr', width: gSetValuesWidth, alignment: align_right);
check_box(item_id: 'albo', name: '$$$/Dialogs/CropDlg/ShowAll');
}
}
cluster(item_id: 'gbx2', name: '$$$/Dialogs/CropDlg/Range', align_children: align_distribute,
alignment: align_fill)
{
view(align_children: align_top)
{
view(align_children: align_left)
{
radio(item_id: 'all ', group_id: 'rgrp', name: '$$$/Dialogs/PageNumbering/Pages/All', height: gEditTextHeight, margin_height: 0);
radio(item_id: 'slct', group_id: 'rgrp', name: '$$$/Dialogs/PageNumbering/Pages/Selected', height: gEditTextHeight, margin_height: 0);
view(align_children: align_row)
{
radio(item_id: 'from', group_id: 'rgrp', name: '$$$/Dialogs/PageNumbering/Pages/From');
edit_text(item_id: 'FrPg', width: gFromToWidth);
static_text(item_id: 'ToLb', name: '$$$/Dialogs/PageNumbering/Pages/To');
edit_text(item_id: 'ToPg', width: gFromToWidth);
static_text(item_id: 'NumP', width: gOfWidth);
}
view(align_children: align_row)
{
static_text(item_id: 'Lwic', name: '$$$/Dialogs/CropDlg/Which', alignment: align_right);
popup(item_id: 'whch', width: gCropWhichWidth);
}
}
}
}
ok_cancel();
}
}