Исправлен шрифт в редакторе GRUSH
git-svn-id: https://svn.code.sf.net/p/kolmck/code@16 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
@ -170,6 +170,7 @@ type
|
||||
, ctRadioBox { $23}, ctSplitter { $24}, ctProgressBar { $25});
|
||||
TGRushSpeed = (usImmediately, usVeryFast, usFast, usNormal, usSlow, usVerySlow);
|
||||
// 64(1) 13(5) 10(7) 8(8) 6(11) 4(16)
|
||||
TGRushVAlign = TVerticalAlign;
|
||||
TGRushHAlign = (haLeft, haCenter, haRight);
|
||||
|
||||
TGRushPaintState = packed record
|
||||
@ -218,9 +219,9 @@ type
|
||||
fCheckMetric: DWORD;
|
||||
fColorCheck: TColor;
|
||||
//208
|
||||
fGlyphVAlign: TVerticalAlign;
|
||||
fGlyphVAlign: TGRushVAlign;
|
||||
fGlyphHAlign: TGRushHAlign;
|
||||
fTextVAlign: TVerticalAlign;
|
||||
fTextVAlign: TGRushVAlign;
|
||||
fTextHAlign: TGRushHAlign;
|
||||
{?}fDrawGlyph: Boolean;
|
||||
{?}fDrawText: Boolean;
|
||||
@ -278,9 +279,9 @@ type
|
||||
fCheckMetric: DWORD;
|
||||
fColorCheck: TColor;
|
||||
//208
|
||||
fGlyphVAlign: TVerticalAlign;
|
||||
fGlyphVAlign: TGRushVAlign;
|
||||
fGlyphHAlign: TGRushHAlign;
|
||||
fTextVAlign: TVerticalAlign;
|
||||
fTextVAlign: TGRushVAlign;
|
||||
fTextHAlign: TGRushHAlign;
|
||||
fDrawGlyph: Boolean;
|
||||
fDrawText: Boolean;
|
||||
@ -390,9 +391,9 @@ type
|
||||
function GetDis_GlyphItemY: DWORD; procedure SetDis_GlyphItemY(Val: DWORD);
|
||||
|
||||
function GetAll_CheckMetric: DWORD; procedure SetAll_CheckMetric(Val: DWORD);
|
||||
function GetAll_GlyphVAlign: TVerticalAlign; procedure SetAll_GlyphVAlign(Val: TVerticalAlign);
|
||||
function GetAll_GlyphVAlign: TGRushVAlign; procedure SetAll_GlyphVAlign(Val: TGRushVAlign);
|
||||
function GetAll_GlyphHAlign: TGRushHAlign; procedure SetAll_GlyphHAlign(Val: TGRushHAlign);
|
||||
function GetAll_TextVAlign: TVerticalAlign; procedure SetAll_TextVAlign(Val: TVerticalAlign);
|
||||
function GetAll_TextVAlign: TGRushVAlign; procedure SetAll_TextVAlign(Val: TGRushVAlign);
|
||||
function GetAll_TextHAlign: TGRushHAlign; procedure SetAll_TextHAlign(Val: TGRushHAlign);
|
||||
function GetAll_DrawText: Boolean; procedure SetAll_DrawText(Val: Boolean);
|
||||
function GetAll_DrawGlyph: Boolean; procedure SetAll_DrawGlyph(Val: Boolean);
|
||||
@ -591,7 +592,7 @@ type
|
||||
read GetAll_GlyphHAlign write SetAll_GlyphHAlign;
|
||||
{* }
|
||||
{= }
|
||||
property All_GlyphVAlign: TVerticalAlign
|
||||
property All_GlyphVAlign: TGRushVAlign
|
||||
read GetAll_GlyphVAlign write SetAll_GlyphVAlign;
|
||||
{* }
|
||||
{= }
|
||||
@ -599,7 +600,7 @@ type
|
||||
read GetAll_TextHAlign write SetAll_TextHAlign;
|
||||
{* }
|
||||
{= }
|
||||
property All_TextVAlign: TVerticalAlign
|
||||
property All_TextVAlign: TGRushVAlign
|
||||
read GetAll_TextVAlign write SetAll_TextVAlign;
|
||||
{* }
|
||||
{= }
|
||||
@ -976,7 +977,7 @@ begin
|
||||
((((Color shr 3) and $1f) * 541052) shr 16);
|
||||
end;
|
||||
|
||||
procedure AlignRect(var Result: TRect; const Container: TRect; VA: TVerticalAlign; HA: TGRushHAlign);
|
||||
procedure AlignRect(var Result: TRect; const Container: TRect; VA: TGRushVAlign; HA: TGRushHAlign);
|
||||
var Wi, He: integer;
|
||||
begin
|
||||
Wi := Result.Right - Result.Left;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -278,19 +278,19 @@ begin
|
||||
Result.ButtonOK := PGRushControl(NewGRushButton(Result.Form, 'OK').SetPosition(272, 504).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';
|
||||
@ -368,113 +368,113 @@ begin
|
||||
Result.Label33.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 320).SetSize(33, 17);
|
||||
Result.B.Ctl3D := False;
|
||||
Result.B.Font.FontHeight := 8;
|
||||
//Result.B.Font.FontHeight := 8;
|
||||
Result.B.Text := '0';
|
||||
Result.CheckMetric := NewEditBox(Result.GRushPanel1, []).SetPosition(112, 128).SetSize(81, 17);
|
||||
Result.CheckMetric.Ctl3D := False;
|
||||
Result.CheckMetric.Font.FontHeight := 8;
|
||||
//Result.CheckMetric.Font.FontHeight := 8;
|
||||
Result.GlyphHeight := NewEditBox(Result.GRushPanel1, []).SetPosition(200, 272).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, 272).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, 320).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, 320).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, 344).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, 320).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, 152).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, 200).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, 248).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, 296).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, 344).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, 368).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.GRushButton21 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 104).SetSize(41, 17));
|
||||
Result.GRushButton21.Font.FontHeight := 8;
|
||||
//Result.GRushButton21.Font.FontHeight := 8;
|
||||
Result.GRushButton21.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton21.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton21.Down_BorderWidth := 1;
|
||||
Result.GRushButton21.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton22 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 128).SetSize(41, 17));
|
||||
Result.GRushButton22.Font.FontHeight := 8;
|
||||
//Result.GRushButton22.Font.FontHeight := 8;
|
||||
Result.GRushButton22.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton22.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton22.Down_BorderWidth := 1;
|
||||
Result.GRushButton22.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 174).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, 174).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, 222).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, 222).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, 366).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';
|
||||
@ -635,114 +635,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';
|
||||
@ -1544,7 +1544,7 @@ end;
|
||||
|
||||
procedure TCheckBoxEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1556,7 +1556,7 @@ end;
|
||||
|
||||
procedure TCheckBoxEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
@ -16,12 +16,12 @@ uses Windows,
|
||||
Messages,
|
||||
Classes,
|
||||
Controls,
|
||||
KOL,
|
||||
KOLGRushControls,
|
||||
mirror,
|
||||
mckCtrls,
|
||||
KOL,
|
||||
Graphics,
|
||||
Forms,
|
||||
KOLGRushControls,
|
||||
SysUtils,
|
||||
mckObjs,
|
||||
dialogs,
|
||||
@ -132,9 +132,9 @@ type
|
||||
fSplitterDotsCount: DWORD;
|
||||
fCheckMetric: DWORD;
|
||||
fColorCheck: TColor;
|
||||
fGlyphVAlign: KOL.TVerticalAlign;
|
||||
fGlyphVAlign: TGRushVAlign;
|
||||
fGlyphHAlign: TGRushHAlign;
|
||||
fTextVAlign: KOL.TVerticalAlign;
|
||||
fTextVAlign: TGRushVAlign;
|
||||
fTextHAlign: TGRushHAlign;
|
||||
fDrawGlyph: Boolean;
|
||||
fDrawText: Boolean;
|
||||
@ -158,9 +158,9 @@ type
|
||||
procedure SetSplitterDotsCount ( Value: DWORD );
|
||||
procedure SetCheckMetric ( Value: DWORD );
|
||||
procedure SetColorCheck ( Value: TColor );
|
||||
procedure SetGlyphVAlign ( Value: KOL.TVerticalAlign );
|
||||
procedure SetGlyphVAlign ( Value: TGRushVAlign );
|
||||
procedure SetGlyphHAlign ( Value: TGRushHAlign );
|
||||
procedure SetTextVAlign ( Value: KOL.TVerticalAlign );
|
||||
procedure SetTextVAlign ( Value: TGRushVAlign );
|
||||
procedure SetTextHAlign ( Value: TGRushHAlign );
|
||||
procedure SetDrawGlyph ( Value: Boolean );
|
||||
procedure SetDrawText ( Value: Boolean );
|
||||
@ -191,9 +191,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
//property CheckMetric: DWORD read fCheckMetric write SetCheckMetric;
|
||||
//property ColorCheck: TColor read fColorCheck write SetColorCheck;
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaCenter;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaCenter;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haCenter;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -223,9 +223,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
//property CheckMetric: DWORD read fCheckMetric write SetCheckMetric;
|
||||
//property ColorCheck: TColor read fColorCheck write SetColorCheck;
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaTop;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaTop;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haCenter;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -255,9 +255,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
property CheckMetric: DWORD read fCheckMetric write SetCheckMetric default 13;
|
||||
property ColorCheck: TColor read fColorCheck write SetColorCheck default integer($F3706C);
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaCenter;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaCenter;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haLeft;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -287,9 +287,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
property CheckMetric: DWORD read fCheckMetric write SetCheckMetric default 13;
|
||||
property ColorCheck: TColor read fColorCheck write SetColorCheck default integer($F3706C);
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaCenter;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaCenter;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haLeft;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -319,9 +319,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
//property CheckMetric: DWORD read fCheckMetric write SetCheckMetric;
|
||||
//property ColorCheck: TColor read fColorCheck write SetColorCheck;
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaCenter;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaCenter;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haCenter;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -352,9 +352,9 @@ type
|
||||
{-} property GlyphHeight: DWORD read fGlyphHeight write SetGlyphHeight default 0;
|
||||
//property CheckMetric: DWORD read fCheckMetric write SetCheckMetric;
|
||||
//property ColorCheck: TColor read fColorCheck write SetColorCheck;
|
||||
{-} property GlyphVAlign: KOL.TVerticalAlign read fGlyphVAlign write SetGlyphVAlign default KOL.vaCenter;
|
||||
{-} property GlyphVAlign: TGRushVAlign read fGlyphVAlign write SetGlyphVAlign default vaCenter;
|
||||
{-} property GlyphHAlign: TGRushHAlign read fGlyphHAlign write SetGlyphHAlign default haLeft;
|
||||
{-} property TextVAlign: KOL.TVerticalAlign read fTextVAlign write SetTextVAlign default KOL.vaCenter;
|
||||
{-} property TextVAlign: TGRushVAlign read fTextVAlign write SetTextVAlign default vaCenter;
|
||||
{-} property TextHAlign: TGRushHAlign read fTextHAlign write SetTextHAlign default haCenter;
|
||||
{-} property DrawGlyph: Boolean read fDrawGlyph write SetDrawGlyph default TRUE;
|
||||
{-} property DrawText: Boolean read fDrawText write SetDrawText default TRUE;
|
||||
@ -996,7 +996,7 @@ end;
|
||||
constructor TKOLGRushPanelStyles.Create;
|
||||
begin
|
||||
inherited;
|
||||
fTextVAlign := KOL.vaTop;
|
||||
fTextVAlign := vaTop;
|
||||
fPSDef.fBorderRoundWidth := 6;
|
||||
fPSDef.fBorderRoundHeight := 6;
|
||||
fPSDis.fBorderRoundWidth := 6;
|
||||
@ -1122,7 +1122,7 @@ end;
|
||||
procedure SetUpCommon (aOwner: TComponent; Styles: TKOLGrushStyles;
|
||||
SL: TStringList; const AName, Prefix: String; DefStyles: TKOLGrushStyles;
|
||||
ImageCollection: TKOLGRushImageCollection);
|
||||
const TVAligns: array [KOL.TVerticalAlign] of String = ('KOL.vaTop', 'KOL.vaCenter', 'vaBottom');
|
||||
const TVAligns: array [TGRushVAlign] of String = ('vaTop', 'vaCenter', 'vaBottom');
|
||||
THAligns: array [TGRushHAlign] of String = ('haLeft', 'haCenter', 'haRight');
|
||||
Booleans: array [Boolean] of String = ('FALSE', 'TRUE');
|
||||
begin
|
||||
|
@ -261,19 +261,19 @@ begin
|
||||
Result.ButtonOK.Font.FontStyle := [fsBold];
|
||||
|
||||
Result.GRushButton15 := PGRushControl(NewGRushButton(Result.Form, 'Reset to souce').SetPosition(400, 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(272, 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';
|
||||
@ -338,85 +338,85 @@ begin
|
||||
Result.Label31.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 248).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, 200).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, 200).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, 248).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, 248).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, 272).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, 248).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, 80).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, 128).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, 176).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, 224).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, 272).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.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 102).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, 102).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, 150).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, 150).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';
|
||||
@ -576,114 +576,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';
|
||||
@ -1325,7 +1325,7 @@ end;
|
||||
|
||||
procedure TPanelEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1337,7 +1337,7 @@ end;
|
||||
|
||||
procedure TPanelEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
@ -272,19 +272,19 @@ begin
|
||||
Result.ButtonOK := PGRushControl(NewGRushButton(Result.Form, 'OK').SetPosition(272, 512).SetSize(105, 33));
|
||||
Result.ButtonOK.Font.FontStyle := [fsBold];
|
||||
Result.GRushButton15 := PGRushControl(NewGRushButton(Result.Form, 'Reset to souce').SetPosition(400, 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(272, 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';
|
||||
@ -349,85 +349,85 @@ begin
|
||||
Result.Label31.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 296).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, 248).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, 248).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, 296).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, 296).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, 320).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, 296).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, 128).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, 176).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, 224).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, 272).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, 320).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.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 150).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, 150).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, 198).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, 198).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';
|
||||
@ -623,114 +623,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';
|
||||
@ -1393,7 +1393,7 @@ end;
|
||||
|
||||
procedure TProgressBarEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1405,7 +1405,7 @@ end;
|
||||
|
||||
procedure TProgressBarEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
@ -278,19 +278,19 @@ begin
|
||||
Result.ButtonOK := PGRushControl(NewGRushButton(Result.Form, 'OK').SetPosition(272, 504).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';
|
||||
@ -368,113 +368,113 @@ begin
|
||||
Result.Label33.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 320).SetSize(33, 17);
|
||||
Result.B.Ctl3D := False;
|
||||
Result.B.Font.FontHeight := 8;
|
||||
//Result.B.Font.FontHeight := 8;
|
||||
Result.B.Text := '0';
|
||||
Result.CheckMetric := NewEditBox(Result.GRushPanel1, []).SetPosition(112, 128).SetSize(81, 17);
|
||||
Result.CheckMetric.Ctl3D := False;
|
||||
Result.CheckMetric.Font.FontHeight := 8;
|
||||
//Result.CheckMetric.Font.FontHeight := 8;
|
||||
Result.GlyphHeight := NewEditBox(Result.GRushPanel1, []).SetPosition(200, 272).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, 272).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, 320).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, 320).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, 344).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, 320).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, 152).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, 200).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, 248).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, 296).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, 344).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, 368).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.GRushButton21 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 104).SetSize(41, 17));
|
||||
Result.GRushButton21.Font.FontHeight := 8;
|
||||
//Result.GRushButton21.Font.FontHeight := 8;
|
||||
Result.GRushButton21.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton21.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton21.Down_BorderWidth := 1;
|
||||
Result.GRushButton21.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GRushButton22 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 128).SetSize(41, 17));
|
||||
Result.GRushButton22.Font.FontHeight := 8;
|
||||
//Result.GRushButton22.Font.FontHeight := 8;
|
||||
Result.GRushButton22.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton22.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton22.Down_BorderWidth := 1;
|
||||
Result.GRushButton22.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 174).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, 174).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, 222).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, 222).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, 366).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';
|
||||
@ -635,114 +635,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';
|
||||
@ -1544,7 +1544,7 @@ end;
|
||||
|
||||
procedure TRadioBoxEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1556,7 +1556,7 @@ end;
|
||||
|
||||
procedure TRadioBoxEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
@ -268,19 +268,19 @@ begin
|
||||
Result.ButtonOK := PGRushControl(NewGRushButton(Result.Form, 'OK').SetPosition(272, 512).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';
|
||||
@ -353,108 +353,108 @@ begin
|
||||
Result.Label32.Color := $E8D6CE;
|
||||
Result.B := NewEditBox(Result.GRushPanel1, []).SetPosition(208, 248).SetSize(33, 17);
|
||||
Result.B.Ctl3D := False;
|
||||
Result.B.Font.FontHeight := 8;
|
||||
//Result.B.Font.FontHeight := 8;
|
||||
Result.B.Text := '0';
|
||||
Result.DotsCount := NewEditBox(Result.GRushPanel1, []).SetPosition(112, 272).SetSize(81, 17);
|
||||
Result.DotsCount.Ctl3D := False;
|
||||
Result.DotsCount.Font.FontHeight := 8;
|
||||
//Result.DotsCount.Font.FontHeight := 8;
|
||||
Result.DotsCount.Text := '0';
|
||||
Result.GlyphHeight := NewEditBox(Result.GRushPanel1, []).SetPosition(200, 200).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, 200).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, 248).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, 248).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, 248).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, 80).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, 128).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, 176).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, 224).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.GRushButton21 := PGRushControl(NewGRushButton(Result.GRushPanel1, 'Default').SetPosition(200, 272).SetSize(41, 17));
|
||||
Result.GRushButton21.Font.FontHeight := 8;
|
||||
//Result.GRushButton21.Font.FontHeight := 8;
|
||||
Result.GRushButton21.All_BorderRoundWidth := 0;
|
||||
Result.GRushButton21.All_BorderRoundHeight := 0;
|
||||
Result.GRushButton21.Down_BorderWidth := 1;
|
||||
Result.GRushButton21.All_ContentOffsets := MakeRect(0, 0, 0, 0);
|
||||
Result.GlyphHorz := NewComboBox(Result.GRushPanel1, [coReadOnly, coNoIntegralHeight]).SetPosition(64, 102).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, 102).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, 150).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, 150).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';
|
||||
@ -607,114 +607,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';
|
||||
@ -1519,7 +1519,7 @@ end;
|
||||
|
||||
procedure TSplitterEditor.GlyphVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_GlyphVAlign := TVerticalAlign(GlyphVert.CurIndex);
|
||||
Control.All_GlyphVAlign := TGRushVAlign(GlyphVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
@ -1531,7 +1531,7 @@ end;
|
||||
|
||||
procedure TSplitterEditor.TextVertSelChange(Sender: PObj);
|
||||
begin
|
||||
Control.All_TextVAlign := TVerticalAlign(TextVert.CurIndex);
|
||||
Control.All_TextVAlign := TGRushVAlign(TextVert.CurIndex);
|
||||
Control.Invalidate;
|
||||
end;
|
||||
|
||||
|
2973
Addons/MZLib.pas
2973
Addons/MZLib.pas
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,7 @@ package ADDONS;
|
||||
{$DESCRIPTION 'KOLADDONS7'}
|
||||
{$DESIGNONLY}
|
||||
{$IMPLICITBUILD ON}
|
||||
{$DEFINE INPACKAGE}
|
||||
|
||||
requires
|
||||
rtl,
|
||||
|
@ -125,7 +125,7 @@
|
||||
<Directories Name="PackageDCPOutputDir"></Directories>
|
||||
<Directories Name="SearchPath"></Directories>
|
||||
<Directories Name="Packages"></Directories>
|
||||
<Directories Name="Conditionals"></Directories>
|
||||
<Directories Name="Conditionals">INPACKAGE</Directories>
|
||||
<Directories Name="DebugSourceDirs"></Directories>
|
||||
<Directories Name="UsePackages">False</Directories>
|
||||
</Directories>
|
||||
|
@ -28,6 +28,7 @@ package addons2006;
|
||||
{$DESCRIPTION 'KOLAddons2006'}
|
||||
{$DESIGNONLY}
|
||||
{$IMPLICITBUILD ON}
|
||||
{$DEFINE INPACKAGE}
|
||||
|
||||
requires
|
||||
rtl,
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
19.08.09
|
||||
-------------------------------------------------------------------
|
||||
* GRUSH ���������� ��������� �����������
|
||||
|
||||
-------------------------------------------------------------------
|
||||
6.08.09
|
||||
-------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user