📄 gr32_reg.pas
字号:
unit GR32_Reg;
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Graphics32
*
* The Initial Developer of the Original Code is
* Alex A. Denisov
*
* Portions created by the Initial Developer are Copyright (C) 2000-2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* ***** END LICENSE BLOCK ***** *)
interface
{$I GR32.inc}
uses
Classes, TypInfo,
{$IFDEF COMPILER6}
DesignIntf
{$ELSE}
DsgnIntf
{$ENDIF};
procedure Register;
implementation
uses
GR32,
GR32_Dsgn_Color,
GR32_Dsgn_Bitmap,
GR32_Dsgn_Misc,
GR32_Image,
{$IFNDEF CLX}
GR32_ExtImage,
{$ENDIF}
GR32_Layers,
GR32_RangeBars,
GR32_Resamplers;
{ Registration }
procedure Register;
begin
RegisterComponents('Graphics32', [TPaintBox32, TImage32, TBitmap32List,
TRangeBar, TGaugeBar, TImgView32{$IFNDEF CLX}, TSyntheticImage32{$ENDIF}]);
RegisterPropertyEditor(TypeInfo(TColor32), nil, '', TColor32Property);
RegisterPropertyEditor(TypeInfo(TBitmap32), nil, '', TBitmap32Property);
RegisterComponentEditor(TCustomImage32, TImage32Editor);
RegisterPropertyEditor(TypeInfo(string), TBitmap32, 'ResamplerClassName', nil);
RegisterPropertyEditor(TypeInfo(TCustomResampler), TBitmap32, 'Resampler', TResamplerClassProperty);
RegisterPropertyEditor(TypeInfo(string), TKernelResampler, 'KernelClassName', nil);
RegisterPropertyEditor(TypeInfo(TCustomKernel), TKernelResampler, 'Kernel', TKernelClassProperty);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -