Исправлен шрифт в редакторе GRUSH
git-svn-id: https://svn.code.sf.net/p/kolmck/code@16 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
@ -266,19 +266,19 @@ begin
|
||||
Result.ButtonOK := PGRushControl(NewGRushButton(Result.Form, 'OK').SetPosition(272, 480).SetSize(105, 33));
|
||||
Result.ButtonOK.Font.FontStyle := [fsBold];
|
||||
Result.GRushButton15 := PGRushControl(NewGRushButton(Result.Form, 'Reset to souce').SetPosition(401, 408).SetSize(104, 17));
|
||||
Result.GRushButton15.Font.FontHeight := 8;
|
||||
//Result.GRushButton15.Font.FontHeight := 8;
|
||||
Result.GRushButton15.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton15.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton15.Down_BorderWidth := 1;
|
||||
Result.GRushButton15.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton20 := PGRushControl(NewGRushButton(Result.Form, 'Reset to default').SetPosition(273, 408).SetSize(104, 17));
|
||||
Result.GRushButton20.Font.FontHeight := 8;
|
||||
//Result.GRushButton20.Font.FontHeight := 8;
|
||||
Result.GRushButton20.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton20.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton20.Down_BorderWidth := 1;
|
||||
Result.GRushButton20.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.StatesList := NewComboBox(Result.Form, [coReadOnly, coNoIntegralHeight]).SetPosition(328, 10).SetSize(113, 0);
|
||||
Result.StatesList.Font.FontHeight := 8;
|
||||
//Result.StatesList.Font.FontHeight := 8;
|
||||
Result.StatesList.Color := clWindow;
|
||||
Result.StatesList.Items[0] := 'All states (w/o)';
|
||||
Result.StatesList.Items[1] := 'Default state';
|
||||
@ -348,98 +348,98 @@ begin
|
||||
Result.Label31.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 272).SetSize(33, 17);
|
||||
Result.B.Ctl3D := False;
|
||||
Result.B.Font.FontHeight := 8;
|
||||
//Result.B.Font.FontHeight := 8;
|
||||
Result.B.Text := '0';
|
||||
Result.GlyphHeight := NewEditBox(Result.GRushPanel1, []).SetPosition(200, 224).SetSize(41, 17);
|
||||
Result.GlyphHeight.Ctl3D := False;
|
||||
Result.GlyphHeight.Font.FontHeight := 8;
|
||||
//Result.GlyphHeight.Font.FontHeight := 8;
|
||||
Result.GlyphHeight.Text := '0';
|
||||
Result.GlyphWidth := NewEditBox(Result.GRushPanel1, []).SetPosition(80, 224).SetSize(41, 17);
|
||||
Result.GlyphWidth.Ctl3D := False;
|
||||
Result.GlyphWidth.Font.FontHeight := 8;
|
||||
//Result.GlyphWidth.Font.FontHeight := 8;
|
||||
Result.GlyphWidth.Text := '0';
|
||||
Result.L := NewEditBox(Result.GRushPanel1, []).SetPosition(28, 272).SetSize(33, 17);
|
||||
Result.L.Ctl3D := False;
|
||||
Result.L.Font.FontHeight := 8;
|
||||
//Result.L.Font.FontHeight := 8;
|
||||
Result.L.Text := '0';
|
||||
Result.R := NewEditBox(Result.GRushPanel1, []).SetPosition(148, 272).SetSize(33, 17);
|
||||
Result.R.Ctl3D := False;
|
||||
Result.R.Font.FontHeight := 8;
|
||||
//Result.R.Font.FontHeight := 8;
|
||||
Result.R.Text := '0';
|
||||
Result.Spacing := NewEditBox(Result.GRushPanel1, []).SetPosition(112, 296).SetSize(81, 17);
|
||||
Result.Spacing.Ctl3D := False;
|
||||
Result.Spacing.Font.FontHeight := 8;
|
||||
//Result.Spacing.Font.FontHeight := 8;
|
||||
Result.Spacing.Text := '0';
|
||||
Result.T := NewEditBox(Result.GRushPanel1, []).SetPosition(88, 272).SetSize(33, 17);
|
||||
Result.T.Ctl3D := False;
|
||||
Result.T.Font.FontHeight := 8;
|
||||
//Result.T.Font.FontHeight := 8;
|
||||
Result.T.Text := '0';
|
||||
Result.GRushButton11 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 104).SetSize(41, 17));
|
||||
Result.GRushButton11.Font.FontHeight := 8;
|
||||
//Result.GRushButton11.Font.FontHeight := 8;
|
||||
Result.GRushButton11.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton11.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton11.Down_BorderWidth := 1;
|
||||
Result.GRushButton11.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton12 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 152).SetSize(41, 17));
|
||||
Result.GRushButton12.Font.FontHeight := 8;
|
||||
//Result.GRushButton12.Font.FontHeight := 8;
|
||||
Result.GRushButton12.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton12.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton12.Down_BorderWidth := 1;
|
||||
Result.GRushButton12.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton13 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 200).SetSize(41, 17));
|
||||
Result.GRushButton13.Font.FontHeight := 8;
|
||||
//Result.GRushButton13.Font.FontHeight := 8;
|
||||
Result.GRushButton13.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton13.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton13.Down_BorderWidth := 1;
|
||||
Result.GRushButton13.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton16 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 248).SetSize(41, 17));
|
||||
Result.GRushButton16.Font.FontHeight := 8;
|
||||
//Result.GRushButton16.Font.FontHeight := 8;
|
||||
Result.GRushButton16.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton16.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton16.Down_BorderWidth := 1;
|
||||
Result.GRushButton16.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton17 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 296).SetSize(41, 17));
|
||||
Result.GRushButton17.Font.FontHeight := 8;
|
||||
//Result.GRushButton17.Font.FontHeight := 8;
|
||||
Result.GRushButton17.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton17.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton17.Down_BorderWidth := 1;
|
||||
Result.GRushButton17.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton19 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 320).SetSize(41, 17));
|
||||
Result.GRushButton19.Font.FontHeight := 8;
|
||||
//Result.GRushButton19.Font.FontHeight := 8;
|
||||
Result.GRushButton19.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton19.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton19.Down_BorderWidth := 1;
|
||||
Result.GRushButton19.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 126).SetSize(57, 0);
|
||||
Result.GlyphHorz.Font.FontHeight := 8;
|
||||
//Result.GlyphHorz.Font.FontHeight := 8;
|
||||
Result.GlyphHorz.Color := clWindow;
|
||||
Result.GlyphHorz.Items[0] := 'Left';
|
||||
Result.GlyphHorz.Items[1] := 'Center';
|
||||
Result.GlyphHorz.Items[2] := 'Right';
|
||||
Result.GlyphHorz.CurIndex := 0;
|
||||
Result.GlyphVert := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(184, 126).SetSize(57, 0);
|
||||
Result.GlyphVert.Font.FontHeight := 8;
|
||||
//Result.GlyphVert.Font.FontHeight := 8;
|
||||
Result.GlyphVert.Color := clWindow;
|
||||
Result.GlyphVert.Items[0] := 'Top';
|
||||
Result.GlyphVert.Items[1] := 'Center';
|
||||
Result.GlyphVert.Items[2] := 'Bottom';
|
||||
Result.GlyphVert.CurIndex := 0;
|
||||
Result.TextHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 174).SetSize(57, 0);
|
||||
Result.TextHorz.Font.FontHeight := 8;
|
||||
//Result.TextHorz.Font.FontHeight := 8;
|
||||
Result.TextHorz.Color := clWindow;
|
||||
Result.TextHorz.Items[0] := 'Left';
|
||||
Result.TextHorz.Items[1] := 'Center';
|
||||
Result.TextHorz.Items[2] := 'Right';
|
||||
Result.TextHorz.CurIndex := 0;
|
||||
Result.TextVert := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(184, 174).SetSize(57, 0);
|
||||
Result.TextVert.Font.FontHeight := 8;
|
||||
//Result.TextVert.Font.FontHeight := 8;
|
||||
Result.TextVert.Color := clWindow;
|
||||
Result.TextVert.Items[0] := 'Top';
|
||||
Result.TextVert.Items[1] := 'Center';
|
||||
Result.TextVert.Items[2] := 'Bottom';
|
||||
Result.TextVert.CurIndex := 0;
|
||||
Result.UpdateSpeed := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(112, 318).SetSize(81, 21);
|
||||
Result.UpdateSpeed.Font.FontHeight := 8;
|
||||
//Result.UpdateSpeed.Font.FontHeight := 8;
|
||||
Result.UpdateSpeed.Color := clWindow;
|
||||
Result.UpdateSpeed.Items[0] := 'Immediately';
|
||||
Result.UpdateSpeed.Items[1] := 'Very fast';
|
||||
@ -608,114 +608,114 @@ begin
|
||||
Result.BorderHe := NewEditBox(Result.GRushPanel2, []).SetPosition(200, 272).SetSize(41, 17);
|
||||
Result.BorderHe.Ctl3D := False;
|
||||
Result.BorderHe.Font.FontStyle := [];
|
||||
Result.BorderHe.Font.FontHeight := 8;
|
||||
//Result.BorderHe.Font.FontHeight := 8;
|
||||
Result.BorderWi := NewEditBox(Result.GRushPanel2, []).SetPosition(80, 272).SetSize(41, 17);
|
||||
Result.BorderWi.Ctl3D := False;
|
||||
Result.BorderWi.Font.FontStyle := [];
|
||||
Result.BorderWi.Font.FontHeight := 8;
|
||||
//Result.BorderWi.Font.FontHeight := 8;
|
||||
Result.BorderWidth := NewEditBox(Result.GRushPanel2, []).SetPosition(112, 200).SetSize(81, 17);
|
||||
Result.BorderWidth.Ctl3D := False;
|
||||
Result.BorderWidth.Font.FontStyle := [];
|
||||
Result.BorderWidth.Font.FontHeight := 8;
|
||||
//Result.BorderWidth.Font.FontHeight := 8;
|
||||
Result.GlyphX := NewEditBox(Result.GRushPanel2, []).SetPosition(80, 320).SetSize(41, 17);
|
||||
Result.GlyphX.Ctl3D := False;
|
||||
Result.GlyphX.Font.FontStyle := [];
|
||||
Result.GlyphX.Font.FontHeight := 8;
|
||||
//Result.GlyphX.Font.FontHeight := 8;
|
||||
Result.GlyphY := NewEditBox(Result.GRushPanel2, []).SetPosition(200, 320).SetSize(41, 17);
|
||||
Result.GlyphY.Ctl3D := False;
|
||||
Result.GlyphY.Font.FontStyle := [];
|
||||
Result.GlyphY.Font.FontHeight := 8;
|
||||
//Result.GlyphY.Font.FontHeight := 8;
|
||||
Result.ShadowOffset := NewEditBox(Result.GRushPanel2, []).SetPosition(112, 224).SetSize(81, 17);
|
||||
Result.ShadowOffset.Ctl3D := False;
|
||||
Result.ShadowOffset.Font.FontStyle := [];
|
||||
Result.ShadowOffset.Font.FontHeight := 8;
|
||||
//Result.ShadowOffset.Font.FontHeight := 8;
|
||||
Result.GRushButton1 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 32).SetSize(41, 17));
|
||||
Result.GRushButton1.Font.FontStyle := [];
|
||||
Result.GRushButton1.Font.FontHeight := 8;
|
||||
//Result.GRushButton1.Font.FontHeight := 8;
|
||||
Result.GRushButton1.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton1.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton1.Down_BorderWidth := 1;
|
||||
Result.GRushButton1.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton10 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 296).SetSize(41, 17));
|
||||
Result.GRushButton10.Font.FontStyle := [];
|
||||
Result.GRushButton10.Font.FontHeight := 8;
|
||||
//Result.GRushButton10.Font.FontHeight := 8;
|
||||
Result.GRushButton10.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton10.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton10.Down_BorderWidth := 1;
|
||||
Result.GRushButton10.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton14 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Reset state').SetPosition(176, 4).SetSize(65, 17));
|
||||
Result.GRushButton14.Font.FontStyle := [];
|
||||
Result.GRushButton14.Font.FontHeight := 8;
|
||||
//Result.GRushButton14.Font.FontHeight := 8;
|
||||
Result.GRushButton14.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton14.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton14.Down_BorderWidth := 1;
|
||||
Result.GRushButton14.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton18 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 176).SetSize(41, 17));
|
||||
Result.GRushButton18.Font.FontStyle := [];
|
||||
Result.GRushButton18.Font.FontHeight := 8;
|
||||
//Result.GRushButton18.Font.FontHeight := 8;
|
||||
Result.GRushButton18.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton18.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton18.Down_BorderWidth := 1;
|
||||
Result.GRushButton18.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton2 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 56).SetSize(41, 17));
|
||||
Result.GRushButton2.Font.FontStyle := [];
|
||||
Result.GRushButton2.Font.FontHeight := 8;
|
||||
//Result.GRushButton2.Font.FontHeight := 8;
|
||||
Result.GRushButton2.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton2.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton2.Down_BorderWidth := 1;
|
||||
Result.GRushButton2.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton3 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 80).SetSize(41, 17));
|
||||
Result.GRushButton3.Font.FontStyle := [];
|
||||
Result.GRushButton3.Font.FontHeight := 8;
|
||||
//Result.GRushButton3.Font.FontHeight := 8;
|
||||
Result.GRushButton3.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton3.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton3.Down_BorderWidth := 1;
|
||||
Result.GRushButton3.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton4 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 104).SetSize(41, 17));
|
||||
Result.GRushButton4.Font.FontStyle := [];
|
||||
Result.GRushButton4.Font.FontHeight := 8;
|
||||
//Result.GRushButton4.Font.FontHeight := 8;
|
||||
Result.GRushButton4.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton4.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton4.Down_BorderWidth := 1;
|
||||
Result.GRushButton4.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton5 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 128).SetSize(41, 17));
|
||||
Result.GRushButton5.Font.FontStyle := [];
|
||||
Result.GRushButton5.Font.FontHeight := 8;
|
||||
//Result.GRushButton5.Font.FontHeight := 8;
|
||||
Result.GRushButton5.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton5.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton5.Down_BorderWidth := 1;
|
||||
Result.GRushButton5.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton6 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 152).SetSize(41, 17));
|
||||
Result.GRushButton6.Font.FontStyle := [];
|
||||
Result.GRushButton6.Font.FontHeight := 8;
|
||||
//Result.GRushButton6.Font.FontHeight := 8;
|
||||
Result.GRushButton6.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton6.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton6.Down_BorderWidth := 1;
|
||||
Result.GRushButton6.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton7 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 200).SetSize(41, 17));
|
||||
Result.GRushButton7.Font.FontStyle := [];
|
||||
Result.GRushButton7.Font.FontHeight := 8;
|
||||
//Result.GRushButton7.Font.FontHeight := 8;
|
||||
Result.GRushButton7.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton7.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton7.Down_BorderWidth := 1;
|
||||
Result.GRushButton7.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton8 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 224).SetSize(41, 17));
|
||||
Result.GRushButton8.Font.FontStyle := [];
|
||||
Result.GRushButton8.Font.FontHeight := 8;
|
||||
//Result.GRushButton8.Font.FontHeight := 8;
|
||||
Result.GRushButton8.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton8.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton8.Down_BorderWidth := 1;
|
||||
Result.GRushButton8.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton9 := PGRushControl(NewGRushButton(Result.GRushPanel2, 'Default').SetPosition(200, 248).SetSize(41, 17));
|
||||
Result.GRushButton9.Font.FontStyle := [];
|
||||
Result.GRushButton9.Font.FontHeight := 8;
|
||||
//Result.GRushButton9.Font.FontHeight := 8;
|
||||
Result.GRushButton9.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton9.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton9.Down_BorderWidth := 1;
|
||||
Result.GRushButton9.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GradStyles := NewComboBox(Result.GRushPanel2, [coReadOnly, coNoIntegralHeight]).SetPosition(112, 174).SetSize(81, 0);
|
||||
Result.GradStyles.Font.FontStyle := [];
|
||||
Result.GradStyles.Font.FontHeight := 8;
|
||||
//Result.GradStyles.Font.FontHeight := 8;
|
||||
Result.GradStyles.Color := clWindow;
|
||||
Result.GradStyles.Items[0] := 'Solid';
|
||||
Result.GradStyles.Items[1] := 'Vertical';
|
||||
@ -1509,7 +1509,7 @@ end;
|
||||
|
||||
procedure TButtonEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1521,7 +1521,7 @@ end;
|
||||
|
||||
procedure TButtonEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user