mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 20:49:24 +02:00
ideintf: ImageList editior: add replace button. Issue #29252. Patch by Janusz Tomczak
git-svn-id: trunk@51054 -
This commit is contained in:
parent
800d968b77
commit
e8bf2b6e97
@ -1,7 +1,7 @@
|
|||||||
object ImageListEditorDlg: TImageListEditorDlg
|
object ImageListEditorDlg: TImageListEditorDlg
|
||||||
Left = 302
|
Left = 453
|
||||||
Height = 379
|
Height = 379
|
||||||
Top = 191
|
Top = 144
|
||||||
Width = 616
|
Width = 616
|
||||||
BorderIcons = [biSystemMenu, biHelp]
|
BorderIcons = [biSystemMenu, biHelp]
|
||||||
Caption = 'ImagesList Editor'
|
Caption = 'ImagesList Editor'
|
||||||
@ -12,27 +12,27 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnDestroy = FormDestroy
|
OnDestroy = FormDestroy
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '1.1'
|
LCLVersion = '1.7'
|
||||||
object GroupBoxR: TGroupBox
|
object GroupBoxR: TGroupBox
|
||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
AnchorSideBottom.Control = BtnPanel
|
AnchorSideBottom.Control = BtnPanel
|
||||||
Left = 376
|
Left = 376
|
||||||
Height = 328
|
Height = 335
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 234
|
Width = 234
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Selected Image'
|
Caption = 'Selected Image'
|
||||||
ClientHeight = 310
|
ClientHeight = 315
|
||||||
ClientWidth = 230
|
ClientWidth = 230
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
object LabelTransparent: TLabel
|
object LabelTransparent: TLabel
|
||||||
Left = 110
|
Left = 110
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 203
|
Top = 208
|
||||||
Width = 92
|
Width = 98
|
||||||
Anchors = [akLeft, akBottom]
|
Anchors = [akLeft, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Transparent Color:'
|
Caption = 'Transparent Color:'
|
||||||
@ -47,11 +47,11 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
end
|
end
|
||||||
object Preview: TScrollBox
|
object Preview: TScrollBox
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 162
|
Height = 167
|
||||||
Top = 32
|
Top = 32
|
||||||
Width = 217
|
Width = 217
|
||||||
HorzScrollBar.Page = 213
|
HorzScrollBar.Page = 1
|
||||||
VertScrollBar.Page = 158
|
VertScrollBar.Page = 1
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Color = clGrayText
|
Color = clGrayText
|
||||||
@ -62,7 +62,7 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
object RadioGroup: TRadioGroup
|
object RadioGroup: TRadioGroup
|
||||||
Left = 7
|
Left = 7
|
||||||
Height = 105
|
Height = 105
|
||||||
Top = 200
|
Top = 205
|
||||||
Width = 96
|
Width = 96
|
||||||
Anchors = [akLeft, akBottom]
|
Anchors = [akLeft, akBottom]
|
||||||
AutoFill = True
|
AutoFill = True
|
||||||
@ -76,7 +76,7 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
ChildSizing.ShrinkVertical = crsScaleChilds
|
ChildSizing.ShrinkVertical = crsScaleChilds
|
||||||
ChildSizing.Layout = cclLeftToRightThenTopToBottom
|
ChildSizing.Layout = cclLeftToRightThenTopToBottom
|
||||||
ChildSizing.ControlsPerLine = 1
|
ChildSizing.ControlsPerLine = 1
|
||||||
ClientHeight = 87
|
ClientHeight = 85
|
||||||
ClientWidth = 92
|
ClientWidth = 92
|
||||||
Enabled = False
|
Enabled = False
|
||||||
ItemIndex = 0
|
ItemIndex = 0
|
||||||
@ -93,8 +93,8 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
AnchorSideTop.Control = LabelTransparent
|
AnchorSideTop.Control = LabelTransparent
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 110
|
Left = 110
|
||||||
Height = 24
|
Height = 22
|
||||||
Top = 224
|
Top = 229
|
||||||
Width = 96
|
Width = 96
|
||||||
Selected = clFuchsia
|
Selected = clFuchsia
|
||||||
Style = [cbStandardColors, cbExtendedColors, cbIncludeDefault, cbCustomColor, cbPrettyNames]
|
Style = [cbStandardColors, cbExtendedColors, cbIncludeDefault, cbCustomColor, cbPrettyNames]
|
||||||
@ -109,25 +109,25 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
AnchorSideBottom.Control = BtnPanel
|
AnchorSideBottom.Control = BtnPanel
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 328
|
Height = 335
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 364
|
Width = 364
|
||||||
Anchors = [akTop, akLeft, akBottom]
|
Anchors = [akTop, akLeft, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Images'
|
Caption = 'Images'
|
||||||
ClientHeight = 310
|
ClientHeight = 315
|
||||||
ClientWidth = 360
|
ClientWidth = 360
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object TreeView: TTreeView
|
object TreeView: TTreeView
|
||||||
AnchorSideLeft.Control = GroupBoxL
|
AnchorSideLeft.Control = GroupBoxL
|
||||||
AnchorSideTop.Control = GroupBoxL
|
AnchorSideTop.Control = GroupBoxL
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 299
|
Height = 304
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 186
|
Width = 186
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
DefaultItemHeight = 16
|
DefaultItemHeight = 18
|
||||||
HideSelection = False
|
HideSelection = False
|
||||||
Images = ImageList
|
Images = ImageList
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
@ -166,15 +166,102 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 198
|
Left = 198
|
||||||
Height = 25
|
Height = 25
|
||||||
Top = 68
|
Top = 99
|
||||||
Width = 156
|
Width = 156
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Clear'
|
Caption = 'Clear'
|
||||||
OnClick = BtnClearClick
|
OnClick = BtnClearClick
|
||||||
TabOrder = 3
|
TabOrder = 4
|
||||||
end
|
end
|
||||||
object BtnDelete: TButton
|
object BtnDelete: TButton
|
||||||
|
AnchorSideLeft.Control = TreeView
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideTop.Control = BtnReplace
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = GroupBoxL
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 198
|
||||||
|
Height = 25
|
||||||
|
Top = 68
|
||||||
|
Width = 156
|
||||||
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = '&Delete'
|
||||||
|
OnClick = BtnDeleteClick
|
||||||
|
TabOrder = 3
|
||||||
|
end
|
||||||
|
object BtnMoveUp: TButton
|
||||||
|
Tag = -1
|
||||||
|
AnchorSideLeft.Control = TreeView
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideTop.Control = BtnClear
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = GroupBoxL
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 198
|
||||||
|
Height = 25
|
||||||
|
Top = 130
|
||||||
|
Width = 156
|
||||||
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'Move Up'
|
||||||
|
OnClick = BtnMoveUpClick
|
||||||
|
TabOrder = 5
|
||||||
|
end
|
||||||
|
object BtnMoveDown: TButton
|
||||||
|
Tag = 1
|
||||||
|
AnchorSideLeft.Control = TreeView
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideTop.Control = BtnMoveUp
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = GroupBoxL
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 198
|
||||||
|
Height = 25
|
||||||
|
Top = 161
|
||||||
|
Width = 156
|
||||||
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'Move Down'
|
||||||
|
OnClick = BtnMoveUpClick
|
||||||
|
TabOrder = 6
|
||||||
|
end
|
||||||
|
object BtnSave: TButton
|
||||||
|
AnchorSideLeft.Control = TreeView
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideTop.Control = BtnMoveDown
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = GroupBoxL
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 198
|
||||||
|
Height = 25
|
||||||
|
Top = 192
|
||||||
|
Width = 156
|
||||||
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'Save...'
|
||||||
|
OnClick = BtnSaveClick
|
||||||
|
TabOrder = 7
|
||||||
|
end
|
||||||
|
object btnSaveAll: TButton
|
||||||
|
AnchorSideLeft.Control = TreeView
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideTop.Control = BtnSave
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = GroupBoxL
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 198
|
||||||
|
Height = 25
|
||||||
|
Top = 223
|
||||||
|
Width = 156
|
||||||
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'Save All...'
|
||||||
|
OnClick = btnSaveAllClick
|
||||||
|
TabOrder = 8
|
||||||
|
end
|
||||||
|
object BtnReplace: TButton
|
||||||
AnchorSideLeft.Control = TreeView
|
AnchorSideLeft.Control = TreeView
|
||||||
AnchorSideLeft.Side = asrBottom
|
AnchorSideLeft.Side = asrBottom
|
||||||
AnchorSideTop.Control = BtnAdd
|
AnchorSideTop.Control = BtnAdd
|
||||||
@ -187,83 +274,15 @@ object ImageListEditorDlg: TImageListEditorDlg
|
|||||||
Width = 156
|
Width = 156
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = '&Delete'
|
Caption = '&Replace...'
|
||||||
OnClick = BtnDeleteClick
|
OnClick = BtnReplaceClick
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
object BtnMoveUp: TButton
|
|
||||||
Tag = -1
|
|
||||||
AnchorSideLeft.Control = TreeView
|
|
||||||
AnchorSideLeft.Side = asrBottom
|
|
||||||
AnchorSideTop.Control = BtnClear
|
|
||||||
AnchorSideTop.Side = asrBottom
|
|
||||||
AnchorSideRight.Control = GroupBoxL
|
|
||||||
AnchorSideRight.Side = asrBottom
|
|
||||||
Left = 198
|
|
||||||
Height = 25
|
|
||||||
Top = 99
|
|
||||||
Width = 156
|
|
||||||
Anchors = [akTop, akLeft, akRight]
|
|
||||||
BorderSpacing.Around = 6
|
|
||||||
Caption = 'Move Up'
|
|
||||||
OnClick = BtnMoveUpClick
|
|
||||||
TabOrder = 4
|
|
||||||
end
|
|
||||||
object BtnMoveDown: TButton
|
|
||||||
Tag = 1
|
|
||||||
AnchorSideLeft.Control = TreeView
|
|
||||||
AnchorSideLeft.Side = asrBottom
|
|
||||||
AnchorSideTop.Control = BtnMoveUp
|
|
||||||
AnchorSideTop.Side = asrBottom
|
|
||||||
AnchorSideRight.Control = GroupBoxL
|
|
||||||
AnchorSideRight.Side = asrBottom
|
|
||||||
Left = 198
|
|
||||||
Height = 25
|
|
||||||
Top = 130
|
|
||||||
Width = 156
|
|
||||||
Anchors = [akTop, akLeft, akRight]
|
|
||||||
BorderSpacing.Around = 6
|
|
||||||
Caption = 'Move Down'
|
|
||||||
OnClick = BtnMoveUpClick
|
|
||||||
TabOrder = 5
|
|
||||||
end
|
|
||||||
object BtnSave: TButton
|
|
||||||
AnchorSideLeft.Control = TreeView
|
|
||||||
AnchorSideLeft.Side = asrBottom
|
|
||||||
AnchorSideTop.Control = BtnMoveDown
|
|
||||||
AnchorSideTop.Side = asrBottom
|
|
||||||
AnchorSideRight.Control = GroupBoxL
|
|
||||||
AnchorSideRight.Side = asrBottom
|
|
||||||
Left = 198
|
|
||||||
Height = 25
|
|
||||||
Top = 161
|
|
||||||
Width = 156
|
|
||||||
Anchors = [akTop, akLeft, akRight]
|
|
||||||
BorderSpacing.Around = 6
|
|
||||||
Caption = 'Save...'
|
|
||||||
OnClick = BtnSaveClick
|
|
||||||
TabOrder = 6
|
|
||||||
end
|
|
||||||
object btnSaveAll: TButton
|
|
||||||
AnchorSideLeft.Control = TreeView
|
|
||||||
AnchorSideLeft.Side = asrBottom
|
|
||||||
AnchorSideRight.Control = GroupBoxL
|
|
||||||
AnchorSideRight.Side = asrBottom
|
|
||||||
Left = 198
|
|
||||||
Height = 25
|
|
||||||
Top = 194
|
|
||||||
Width = 156
|
|
||||||
Anchors = [akTop, akLeft, akRight]
|
|
||||||
BorderSpacing.Around = 6
|
|
||||||
Caption = 'Save All...'
|
|
||||||
OnClick = btnSaveAllClick
|
|
||||||
TabOrder = 7
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
object BtnPanel: TButtonPanel
|
object BtnPanel: TButtonPanel
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 33
|
Height = 26
|
||||||
Top = 340
|
Top = 347
|
||||||
Width = 604
|
Width = 604
|
||||||
OKButton.Name = 'OKButton'
|
OKButton.Name = 'OKButton'
|
||||||
OKButton.DefaultCaption = True
|
OKButton.DefaultCaption = True
|
||||||
|
@ -47,6 +47,7 @@ type
|
|||||||
BtnAdd: TButton;
|
BtnAdd: TButton;
|
||||||
BtnClear: TButton;
|
BtnClear: TButton;
|
||||||
BtnDelete: TButton;
|
BtnDelete: TButton;
|
||||||
|
BtnReplace: TButton;
|
||||||
BtnMoveUp: TButton;
|
BtnMoveUp: TButton;
|
||||||
BtnMoveDown: TButton;
|
BtnMoveDown: TButton;
|
||||||
BtnSave: TButton;
|
BtnSave: TButton;
|
||||||
@ -66,6 +67,7 @@ type
|
|||||||
procedure BtnAddClick(Sender: TObject);
|
procedure BtnAddClick(Sender: TObject);
|
||||||
procedure BtnClearClick(Sender: TObject);
|
procedure BtnClearClick(Sender: TObject);
|
||||||
procedure BtnDeleteClick(Sender: TObject);
|
procedure BtnDeleteClick(Sender: TObject);
|
||||||
|
procedure BtnReplaceClick(Sender: TObject);
|
||||||
procedure BtnMoveUpClick(Sender: TObject);
|
procedure BtnMoveUpClick(Sender: TObject);
|
||||||
procedure btnSaveAllClick(Sender: TObject);
|
procedure btnSaveAllClick(Sender: TObject);
|
||||||
procedure BtnSaveClick(Sender: TObject);
|
procedure BtnSaveClick(Sender: TObject);
|
||||||
@ -85,7 +87,7 @@ type
|
|||||||
procedure LoadFromImageList(AImageList: TImageList);
|
procedure LoadFromImageList(AImageList: TImageList);
|
||||||
procedure SaveToImageList;
|
procedure SaveToImageList;
|
||||||
|
|
||||||
procedure AddImageToList(const FileName: String);
|
procedure AddImageToList(const FileName: String; Insert : Boolean);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//Editor call by Lazarus with 1 verbe only
|
//Editor call by Lazarus with 1 verbe only
|
||||||
@ -192,6 +194,7 @@ begin
|
|||||||
|
|
||||||
BtnAdd.Caption := sccsILEdtAdd;
|
BtnAdd.Caption := sccsILEdtAdd;
|
||||||
BtnDelete.Caption := sccsILEdtDelete;
|
BtnDelete.Caption := sccsILEdtDelete;
|
||||||
|
BtnReplace.Caption := sccsILEdtReplace;
|
||||||
BtnClear.Caption := sccsILEdtClear;
|
BtnClear.Caption := sccsILEdtClear;
|
||||||
BtnMoveUp.Caption := sccsILEdtMoveUp;
|
BtnMoveUp.Caption := sccsILEdtMoveUp;
|
||||||
BtnMoveDown.Caption := sccsILEdtMoveDown;
|
BtnMoveDown.Caption := sccsILEdtMoveDown;
|
||||||
@ -229,13 +232,15 @@ procedure TImageListEditorDlg.BtnAddClick(Sender: TObject);
|
|||||||
var
|
var
|
||||||
I: Integer;
|
I: Integer;
|
||||||
begin
|
begin
|
||||||
|
OpenDialog.Title := sccsILEdtOpenDialog;
|
||||||
|
OpenDialog.Options:=OpenDialog.Options+[ofAllowMultiSelect];
|
||||||
if OpenDialog.Execute then
|
if OpenDialog.Execute then
|
||||||
begin
|
begin
|
||||||
ImageList.BeginUpdate;
|
ImageList.BeginUpdate;
|
||||||
TreeView.BeginUpdate;
|
TreeView.BeginUpdate;
|
||||||
try
|
try
|
||||||
for I := 0 to OpenDialog.Files.Count - 1 do
|
for I := 0 to OpenDialog.Files.Count - 1 do
|
||||||
AddImageToList(TrimRight(OpenDialog.Files[I]));
|
AddImageToList(TrimRight(OpenDialog.Files[I]),False);
|
||||||
finally
|
finally
|
||||||
TreeView.EndUpdate;
|
TreeView.EndUpdate;
|
||||||
ImageList.EndUpdate;
|
ImageList.EndUpdate;
|
||||||
@ -246,8 +251,14 @@ end;
|
|||||||
|
|
||||||
procedure TImageListEditorDlg.BtnClearClick(Sender: TObject);
|
procedure TImageListEditorDlg.BtnClearClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
ImageList.Clear;
|
if TreeView.Items.Count=0 then exit;
|
||||||
TreeView.Items.Clear;
|
if (IDEQuestionDialog(Caption,
|
||||||
|
s_Confirm_Clear, mtConfirmation,
|
||||||
|
[mrYes, mrNo]) = mrYes) then
|
||||||
|
begin
|
||||||
|
ImageList.Clear;
|
||||||
|
TreeView.Items.Clear;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TImageListEditorDlg.BtnDeleteClick(Sender: TObject);
|
procedure TImageListEditorDlg.BtnDeleteClick(Sender: TObject);
|
||||||
@ -280,6 +291,41 @@ begin
|
|||||||
TreeView.SetFocus;
|
TreeView.SetFocus;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TImageListEditorDlg.BtnReplaceClick(Sender: TObject);
|
||||||
|
var
|
||||||
|
S,N: Integer; Node: TTreeNode;
|
||||||
|
begin
|
||||||
|
if Assigned(TreeView.Selected) then
|
||||||
|
begin
|
||||||
|
Node := TreeView.Selected;
|
||||||
|
OpenDialog.Title := sccsILEdtOpenDialogN;
|
||||||
|
OpenDialog.Options:=OpenDialog.Options-[ofAllowMultiSelect];
|
||||||
|
if OpenDialog.Execute then
|
||||||
|
begin
|
||||||
|
ImageList.BeginUpdate;
|
||||||
|
TreeView.BeginUpdate;
|
||||||
|
try
|
||||||
|
AddImageToList(TrimRight(OpenDialog.FileName),True);
|
||||||
|
S:=TreeView.Selected.ImageIndex-1;
|
||||||
|
ImageList.Delete(S);
|
||||||
|
TreeView.Selected.ImageIndex:=S+1;
|
||||||
|
TreeView.Selected.Delete;
|
||||||
|
for N := S to TreeView.Items.Count-1 do
|
||||||
|
begin
|
||||||
|
TreeView.Items[N].Text := IntToStr(N);
|
||||||
|
TreeView.Items[N].ImageIndex := N;
|
||||||
|
TreeView.Items[N].SelectedIndex := N;
|
||||||
|
end;
|
||||||
|
TreeView.Selected:=Node;
|
||||||
|
finally
|
||||||
|
TreeView.EndUpdate;
|
||||||
|
ImageList.EndUpdate;
|
||||||
|
end;
|
||||||
|
TreeView.SetFocus;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TImageListEditorDlg.BtnMoveUpClick(Sender: TObject);
|
procedure TImageListEditorDlg.BtnMoveUpClick(Sender: TObject);
|
||||||
var
|
var
|
||||||
S, D: Integer;
|
S, D: Integer;
|
||||||
@ -514,7 +560,7 @@ begin
|
|||||||
FModified := True;
|
FModified := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TImageListEditorDlg.AddImageToList(const FileName: String);
|
procedure TImageListEditorDlg.AddImageToList(const FileName: String;Insert:boolean);
|
||||||
var
|
var
|
||||||
SrcBmp: TBitmap;
|
SrcBmp: TBitmap;
|
||||||
Picture: TPicture;
|
Picture: TPicture;
|
||||||
@ -557,7 +603,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
//Ask the user if wants to split the source image
|
//Ask the user if wants to split the source image
|
||||||
if ((ImagesPerRow > 1) or (ImagesPerColumn > 1))
|
if ((ImagesPerRow > 1) or (ImagesPerColumn > 1))
|
||||||
and (IDEQuestionDialog(Caption +' - '+ btnAdd.Caption,
|
and (IDEQuestionDialog(Caption,
|
||||||
s_SuggestSplitImage, mtConfirmation,
|
s_SuggestSplitImage, mtConfirmation,
|
||||||
[mrNo, s_AddAsSingle, mrYes, s_SplitImage]) <> mrYes) then
|
[mrNo, s_AddAsSingle, mrYes, s_SplitImage]) <> mrYes) then
|
||||||
begin
|
begin
|
||||||
@ -576,8 +622,16 @@ begin
|
|||||||
P^.Adjustment := gaNone;
|
P^.Adjustment := gaNone;
|
||||||
P^.TransparentColor := clDefault;
|
P^.TransparentColor := clDefault;
|
||||||
|
|
||||||
I := ImageList.Add(P^.Bitmap, nil);
|
if Insert then
|
||||||
Node := TreeView.Items.AddObject(nil, IntToStr(I), P);
|
begin
|
||||||
|
I := TreeView.Selected.ImageIndex+1;
|
||||||
|
ImageList.Insert(I,P^.Bitmap, nil);
|
||||||
|
Node := TreeView.Items.InsertObjectBehind(TreeView.Selected, IntToStr(I), P);
|
||||||
|
end else
|
||||||
|
begin
|
||||||
|
I := ImageList.Add(P^.Bitmap, nil);
|
||||||
|
Node := TreeView.Items.AddObject(nil, IntToStr(I), P);
|
||||||
|
end;
|
||||||
Node.ImageIndex := I;
|
Node.ImageIndex := I;
|
||||||
Node.SelectedIndex := I;
|
Node.SelectedIndex := I;
|
||||||
TreeView.Selected := Node;
|
TreeView.Selected := Node;
|
||||||
|
@ -1349,10 +1349,18 @@ msgstr "Cap"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Afegeix imatges"
|
msgstr "Afegeix imatges"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Color Transparent:"
|
msgstr "Color Transparent:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1579,6 +1587,10 @@ msgstr ""
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1319,10 +1319,18 @@ msgstr "Žádný"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Přidat obrázky"
|
msgstr "Přidat obrázky"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Průhledná barva:"
|
msgstr "Průhledná barva:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1543,6 +1551,10 @@ msgstr "Sejmout klávesu"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Přidat jako samostatný"
|
msgstr "Přidat jako samostatný"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Rozdělit obrázek"
|
msgstr "Rozdělit obrázek"
|
||||||
|
@ -1304,10 +1304,18 @@ msgstr "Keiner"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Bilder hinzufügen"
|
msgstr "Bilder hinzufügen"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Transparente Farbe:"
|
msgstr "Transparente Farbe:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1528,6 +1536,10 @@ msgstr "Taste fangen"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Als Einzelbild hinzufügen"
|
msgstr "Als Einzelbild hinzufügen"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Bild teilen"
|
msgstr "Bild teilen"
|
||||||
|
@ -1303,10 +1303,18 @@ msgstr "Ninguno"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Añadir imágenes"
|
msgstr "Añadir imágenes"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Color transparente:"
|
msgstr "Color transparente:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1527,6 +1535,10 @@ msgstr "Asignar tecla"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Añadir como único"
|
msgstr "Añadir como único"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Dividir imagen"
|
msgstr "Dividir imagen"
|
||||||
|
@ -1296,10 +1296,18 @@ msgstr "Ei mitään"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Lisää Kuvat"
|
msgstr "Lisää Kuvat"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Läpinäkyvä väri:"
|
msgstr "Läpinäkyvä väri:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1520,6 +1528,10 @@ msgstr "Sieppaa näppäin"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Lisää yksittäisenä"
|
msgstr "Lisää yksittäisenä"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Jaa kuva"
|
msgstr "Jaa kuva"
|
||||||
|
@ -1304,10 +1304,18 @@ msgstr "Aucun"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Ajouter des images"
|
msgstr "Ajouter des images"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Couleur de transparence :"
|
msgstr "Couleur de transparence :"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1528,6 +1536,10 @@ msgstr "Touche d'accroche"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Ajouter comme unique"
|
msgstr "Ajouter comme unique"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Diviser l'image"
|
msgstr "Diviser l'image"
|
||||||
|
@ -1369,10 +1369,18 @@ msgstr "ללא"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "הוסף דמויות"
|
msgstr "הוסף דמויות"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "צבע שקוף:"
|
msgstr "צבע שקוף:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1609,6 +1617,10 @@ msgstr "מקש גרירה"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "הוסף כיחיד"
|
msgstr "הוסף כיחיד"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "פצל דמות"
|
msgstr "פצל דמות"
|
||||||
|
@ -1303,10 +1303,18 @@ msgstr "Semmi"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Képek hozzáadása"
|
msgstr "Képek hozzáadása"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Átlátszó szín:"
|
msgstr "Átlátszó szín:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1527,6 +1535,10 @@ msgstr "Bekérés"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Hozzáadás single-ként"
|
msgstr "Hozzáadás single-ként"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Kép szétvágása"
|
msgstr "Kép szétvágása"
|
||||||
|
@ -1353,10 +1353,18 @@ msgstr "Tidak ada"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Tambah Gambar"
|
msgstr "Tambah Gambar"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Warna Transparan:"
|
msgstr "Warna Transparan:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1589,6 +1597,10 @@ msgstr ""
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Tambah sebagai single"
|
msgstr "Tambah sebagai single"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Pisahkan gambar"
|
msgstr "Pisahkan gambar"
|
||||||
|
@ -1304,10 +1304,18 @@ msgstr "Nessuno"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Aggiungi Immagini"
|
msgstr "Aggiungi Immagini"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Colore di Trasparenza:"
|
msgstr "Colore di Trasparenza:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1528,6 +1536,10 @@ msgstr "Cattura tasto"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Aggiungi come singolo"
|
msgstr "Aggiungi come singolo"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Taglia immagine"
|
msgstr "Taglia immagine"
|
||||||
|
@ -1317,10 +1317,18 @@ msgstr "そのまま"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "イメージを追加"
|
msgstr "イメージを追加"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "透明色"
|
msgstr "透明色"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1541,6 +1549,10 @@ msgstr "キーを掴む"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "singleとして追加"
|
msgstr "singleとして追加"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "イメージを分割"
|
msgstr "イメージを分割"
|
||||||
|
@ -1319,10 +1319,18 @@ msgstr "Jiokios"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Pridėti paveikslų"
|
msgstr "Pridėti paveikslų"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Permatoma spalva:"
|
msgstr "Permatoma spalva:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1543,6 +1551,10 @@ msgstr "Registruoti klavišą"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Pridėti vientisą"
|
msgstr "Pridėti vientisą"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Perskelti paveikslą"
|
msgstr "Perskelti paveikslą"
|
||||||
|
@ -1340,10 +1340,18 @@ msgstr "Geen"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Afbeelding toevoegen"
|
msgstr "Afbeelding toevoegen"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Tansparantie kleur"
|
msgstr "Tansparantie kleur"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1576,6 +1584,10 @@ msgstr ""
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1354,10 +1354,18 @@ msgstr ""
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Kolor przezroczystości:"
|
msgstr "Kolor przezroczystości:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1588,6 +1596,10 @@ msgstr "Przechwyć klawisz"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1296,10 +1296,18 @@ msgstr ""
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1520,6 +1528,10 @@ msgstr ""
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1318,10 +1318,18 @@ msgstr "Nenhum"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Adicionar Imagens"
|
msgstr "Adicionar Imagens"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Cor Transparente:"
|
msgstr "Cor Transparente:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1542,6 +1550,10 @@ msgstr "Captura tecla"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Adicionar como simples"
|
msgstr "Adicionar como simples"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Separar imagem"
|
msgstr "Separar imagem"
|
||||||
|
@ -1303,10 +1303,18 @@ msgstr "Нет"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Добавить изображения"
|
msgstr "Добавить изображения"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Прозрачный цвет:"
|
msgstr "Прозрачный цвет:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1527,6 +1535,10 @@ msgstr "Захватить клавишу"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Добавить как одно"
|
msgstr "Добавить как одно"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Разбить изображение"
|
msgstr "Разбить изображение"
|
||||||
|
@ -1371,10 +1371,18 @@ msgstr "Žiadny"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Pridať obrázky"
|
msgstr "Pridať obrázky"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Transparentná farba:"
|
msgstr "Transparentná farba:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1609,6 +1617,10 @@ msgstr "Zachytávací kláves"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Pridať jednotlivý"
|
msgstr "Pridať jednotlivý"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Rozdeliť obrázok"
|
msgstr "Rozdeliť obrázok"
|
||||||
|
@ -1320,10 +1320,18 @@ msgstr "Немає"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "Додати Зображення"
|
msgstr "Додати Зображення"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "Прозорий колір:"
|
msgstr "Прозорий колір:"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
msgctxt "objinspstrconsts.sccsiledtsave"
|
msgctxt "objinspstrconsts.sccsiledtsave"
|
||||||
msgid "&Save ..."
|
msgid "&Save ..."
|
||||||
@ -1544,6 +1552,10 @@ msgstr "Захопити кнопку"
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr "Додати як один"
|
msgstr "Додати як один"
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "Розбити Зображення"
|
msgstr "Розбити Зображення"
|
||||||
|
@ -1370,10 +1370,18 @@ msgstr "无"
|
|||||||
msgid "Add Images"
|
msgid "Add Images"
|
||||||
msgstr "添加图像"
|
msgstr "添加图像"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtopendialogn
|
||||||
|
msgid "New Image"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtransparentcolor
|
#: objinspstrconsts.sccsiledtransparentcolor
|
||||||
msgid "Transparent Color:"
|
msgid "Transparent Color:"
|
||||||
msgstr "透明的颜色"
|
msgstr "透明的颜色"
|
||||||
|
|
||||||
|
#: objinspstrconsts.sccsiledtreplace
|
||||||
|
msgid "&Replace ..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.sccsiledtsave
|
#: objinspstrconsts.sccsiledtsave
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "Save ..."
|
#| msgid "Save ..."
|
||||||
@ -1610,6 +1618,10 @@ msgstr ""
|
|||||||
msgid "Add as single"
|
msgid "Add as single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: objinspstrconsts.s_confirm_clear
|
||||||
|
msgid "Are you sure to clear image list?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: objinspstrconsts.s_splitimage
|
#: objinspstrconsts.s_splitimage
|
||||||
msgid "Split image"
|
msgid "Split image"
|
||||||
msgstr "分割图片"
|
msgstr "分割图片"
|
||||||
|
@ -134,6 +134,7 @@ resourcestring
|
|||||||
sccsILEdtGrpLCaption = 'Images';
|
sccsILEdtGrpLCaption = 'Images';
|
||||||
sccsILEdtGrpRCaption = 'Selected Image';
|
sccsILEdtGrpRCaption = 'Selected Image';
|
||||||
sccsILEdtAdd = '&Add ...';
|
sccsILEdtAdd = '&Add ...';
|
||||||
|
sccsILEdtReplace = '&Replace ...';
|
||||||
sccsILEdtDelete = '&Delete';
|
sccsILEdtDelete = '&Delete';
|
||||||
sccsILEdtApply = '&Apply';
|
sccsILEdtApply = '&Apply';
|
||||||
sccsILEdtClear = '&Clear';
|
sccsILEdtClear = '&Clear';
|
||||||
@ -158,6 +159,7 @@ resourcestring
|
|||||||
rscdVisible = 'Visible';
|
rscdVisible = 'Visible';
|
||||||
rscdAutoSize = 'Auto Size';
|
rscdAutoSize = 'Auto Size';
|
||||||
sccsILEdtOpenDialog = 'Add Images';
|
sccsILEdtOpenDialog = 'Add Images';
|
||||||
|
sccsILEdtOpenDialogN = 'New Image';
|
||||||
sccsILEdtSaveDialog = 'Save Image';
|
sccsILEdtSaveDialog = 'Save Image';
|
||||||
|
|
||||||
// StringGrid Editor
|
// StringGrid Editor
|
||||||
@ -379,6 +381,7 @@ resourcestring
|
|||||||
|
|
||||||
// image list editor
|
// image list editor
|
||||||
s_SuggestSplitImage = 'Do you want to split the image?';
|
s_SuggestSplitImage = 'Do you want to split the image?';
|
||||||
|
s_Confirm_Clear = 'Are you sure to clear image list?';
|
||||||
s_AddAsSingle = 'Add as single';
|
s_AddAsSingle = 'Add as single';
|
||||||
s_SplitImage = 'Split image';
|
s_SplitImage = 'Split image';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user