You've already forked lazarus-ccr
SpkToolbar: Simplification of RTL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -151,7 +151,6 @@ type
|
||||
FDisabledLargeImages: TImageList;
|
||||
FImagesWidth: Integer;
|
||||
FLargeImagesWidth: Integer;
|
||||
FIsRightToLeft: Boolean;
|
||||
procedure SetToolbarDispatch(const Value: TSpkBaseToolbarDispatch);
|
||||
function GetItems(AIndex: integer): TSpkTab; reintroduce;
|
||||
procedure SetAppearance(const Value: TSpkToolbarAppearance);
|
||||
@ -160,7 +159,6 @@ type
|
||||
procedure SetLargeImages(const Value: TImageList);
|
||||
procedure SetDisabledLargeImages(const Value: TImageList);
|
||||
procedure SetImagesWidth(const Value: Integer);
|
||||
procedure SetIsRightToLeft(const Value: Boolean);
|
||||
procedure SetLargeImagesWidth(const Value: Integer);
|
||||
public
|
||||
function Add: TSpkTab;
|
||||
@ -177,7 +175,6 @@ type
|
||||
property DisabledLargeImages: TImageList read FDisabledLargeImages write SetDisabledLargeImages;
|
||||
property ImagesWidth: Integer read FImagesWidth write SetImagesWidth;
|
||||
property LargeImagesWidth: Integer read FLargeImagesWidth write SetLargeImagesWidth;
|
||||
property IsRightToLeft: boolean read FIsRightToLeft write SetIsRightToLeft;
|
||||
end;
|
||||
|
||||
|
||||
@ -767,16 +764,6 @@ begin
|
||||
Items[i].ImagesWidth := Value;
|
||||
end;
|
||||
|
||||
procedure TSpkTabs.SetIsRightToLeft(const Value: Boolean);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
if FIsRightToLeft = Value then exit;
|
||||
FIsRightToLeft := Value;
|
||||
for i := 0 to Count-1 do
|
||||
Items[i].Panes.IsRightToLeft := Value;
|
||||
end;
|
||||
|
||||
procedure TSpkTabs.SetLargeImages(const Value: TImageList);
|
||||
var
|
||||
i: Integer;
|
||||
|
Reference in New Issue
Block a user