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:
@ -31,7 +31,6 @@ type
|
||||
FDisabledLargeImages: TImageList;
|
||||
FImagesWidth: Integer;
|
||||
FLargeImagesWidth: Integer;
|
||||
FIsRightToLeft: Boolean;
|
||||
|
||||
// *** Getters and setters ***
|
||||
procedure SetToolbarDispatch(const Value: TSpkBaseToolbarDispatch);
|
||||
@ -43,7 +42,6 @@ type
|
||||
procedure SetDisabledLargeImages(const Value: TImageList);
|
||||
procedure SetImagesWidth(const Value: Integer);
|
||||
procedure SetLargeImagesWidth(const Value: Integer);
|
||||
procedure SetIsRightToLeft(const Value: Boolean);
|
||||
|
||||
public
|
||||
function AddLargeButton: TSpkLargeButton;
|
||||
@ -64,7 +62,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;
|
||||
|
||||
implementation
|
||||
@ -184,12 +181,6 @@ begin
|
||||
Items[i].ImagesWidth := Value;
|
||||
end;
|
||||
|
||||
procedure TSpkItems.SetIsRightToLeft(const Value: Boolean);
|
||||
begin
|
||||
if FIsRightToLeft = Value then exit;
|
||||
FIsRightToLeft := Value;
|
||||
end;
|
||||
|
||||
procedure TSpkItems.SetLargeImages(const Value: TImageList);
|
||||
var
|
||||
i: Integer;
|
||||
|
Reference in New Issue
Block a user