LCL: renamed TBaseOwnerDrawState to TOwnerDrawState

git-svn-id: trunk@21657 -
This commit is contained in:
mattias 2009-09-11 22:05:53 +00:00
parent f9ce3b06a8
commit 5f5e0ff648
3 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ var
ItemIndex: Integer;
ColumnIndex: Integer;
AreaRect: TRect;
State: TBaseOwnerDrawState;
State: TOwnerDrawState;
Msg: TLMDrawListItem;
DCWidget: PGtkWidget;
LVTarget: TCustomDrawTarget;

View File

@ -932,14 +932,14 @@ type
odNoFocusRect, odReserved1, odReserved2, odComboBoxEdit,
odPainted // item already painted
);
TBaseOwnerDrawState = set of TOwnerDrawStateType;
TOwnerDrawState = set of TOwnerDrawStateType;
PDrawListItemStruct = ^TDrawListItemStruct;
TDrawListItemStruct = record
ItemID: UINT;
Area: TRect;
DC: HDC;
ItemState: TBaseOwnerDrawState;
ItemState: TOwnerDrawState;
end;
PMeasureItemStruct = ^TMeasureItemStruct;

View File

@ -246,7 +246,7 @@ type
csOwnerDrawVariable // like csDropDownList, but custom drawn and with each item can have another height
);
TOwnerDrawState = TBaseOwnerDrawState;
TOwnerDrawState = LCLType.TOwnerDrawState;
TDrawItemEvent = procedure(Control: TWinControl; Index: Integer;
ARect: TRect; State: TOwnerDrawState) of object;