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; ItemIndex: Integer;
ColumnIndex: Integer; ColumnIndex: Integer;
AreaRect: TRect; AreaRect: TRect;
State: TBaseOwnerDrawState; State: TOwnerDrawState;
Msg: TLMDrawListItem; Msg: TLMDrawListItem;
DCWidget: PGtkWidget; DCWidget: PGtkWidget;
LVTarget: TCustomDrawTarget; LVTarget: TCustomDrawTarget;

View File

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

View File

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