1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-12 22:07:39 +02:00

Added Views Framework support #244

Added ToolBoxBrowser2 demo
Added TCEFBrowserViewComponent.
Added TCEFLabelButtonComponent.
Added TCEFMenuButtonComponent.
Added TCEFPanelComponent.
Added TCEFTextfieldComponent.
Added TCEFScrollViewComponent.
Added TCEFWindowComponent.
This commit is contained in:
Salvador Díaz Fau
2020-05-05 18:10:33 +02:00
parent ccdb41b357
commit 318318c85c
79 changed files with 8145 additions and 86 deletions

View File

@ -122,8 +122,18 @@ begin
end;
class function TCefScrollViewRef.CreateScrollView(const delegate: ICefViewDelegate): ICefScrollView;
var
TempScrollView : PCefScrollView;
begin
UnWrap(cef_scroll_view_create(CefGetData(delegate)));
Result := nil;
if (delegate <> nil) then
begin
TempScrollView := cef_scroll_view_create(CefGetData(delegate));
if (TempScrollView <> nil) then
Result := Create(TempScrollView) as ICefScrollView;
end;
end;
end.