mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-06 11:40:35 +01:00
lcl: add CreateIconIndirect prototype
git-svn-id: trunk@15452 -
This commit is contained in:
parent
6e1292252c
commit
f30d0ed590
@ -161,6 +161,11 @@ begin
|
||||
Result := CreateFontIndirect(LogFont);
|
||||
end;
|
||||
|
||||
function TWidgetSet.CreateIconIndirect(IconInfo: PIconInfo): HICON;
|
||||
begin
|
||||
Result := 0;
|
||||
end;
|
||||
|
||||
function TWidgetSet.CreatePalette(const LogPalette: TLogPalette): HPalette;
|
||||
begin
|
||||
Result := 0;
|
||||
@ -212,6 +217,11 @@ begin
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
function TWidgetSet.DestroyIcon(Handle: HICON): Boolean;
|
||||
begin
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
function TWidgetSet.DrawFrameControl(DC: HDC; const Rect : TRect; uType, uState : Cardinal) : Boolean;
|
||||
var
|
||||
Details: TThemedElementDetails;
|
||||
|
||||
@ -131,6 +131,11 @@ begin
|
||||
Result := WidgetSet.CreateFontIndirectEx(LogFont,LongFontName);
|
||||
end;
|
||||
|
||||
function CreateIconIndirect(IconInfo: PIconInfo): HICON;
|
||||
begin
|
||||
Result := WidgetSet.CreateIconIndirect(IconInfo);
|
||||
end;
|
||||
|
||||
function CreatePalette(const LogPalette: TLogPalette): HPalette;
|
||||
begin
|
||||
Result := WidgetSet.CreatePalette(LogPalette);
|
||||
@ -186,6 +191,11 @@ begin
|
||||
Result := WidgetSet.DestroyCursor(Handle);
|
||||
end;
|
||||
|
||||
function DestroyIcon(Handle: HICON): Boolean;
|
||||
begin
|
||||
Result := WidgetSet.DestroyIcon(Handle);
|
||||
end;
|
||||
|
||||
function DrawFrameControl(DC: HDC; const Rect : TRect; uType, uState : Cardinal) : Boolean;
|
||||
Begin
|
||||
Result := WidgetSet.DrawFrameControl(DC, Rect, uType, uState);
|
||||
|
||||
@ -65,6 +65,7 @@ function CreateEllipticRgn(p1, p2, p3, p4: Integer): HRGN; {$IFDEF IF_BASE_MEMBE
|
||||
//function CreateFont --> independent
|
||||
function CreateFontIndirect(const LogFont: TLogFont): HFONT; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function CreateFontIndirectEx(const LogFont: TLogFont; const LongFontName: string): HFONT; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function CreateIconIndirect(IconInfo: PIconInfo): HICON; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function CreatePalette(const LogPalette: TLogPalette): HPalette; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function CreatePatternBrush(ABitmap: HBITMAP): HBRUSH; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
//function CreatePen --> independent
|
||||
@ -78,6 +79,7 @@ function DeleteDC(hDC: HDC): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function DeleteObject(GDIObject: HGDIOBJ): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function DestroyCaret(Handle : HWND): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function DestroyCursor(Handle: hCursor): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function DestroyIcon(Handle: HICON): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
|
||||
function DPtoLP(DC: HDC; var Points; Count: Integer): BOOL; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
function DrawFrameControl(DC: HDC; const Rect : TRect; uType, uState : Cardinal) : Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user