mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 20:56:31 +02:00
LCL: renamed TBaseOwnerDrawState to TOwnerDrawState
git-svn-id: trunk@21657 -
This commit is contained in:
parent
f9ce3b06a8
commit
5f5e0ff648
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user