mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 23:36:16 +02:00
* added missing macros from lclextensions
git-svn-id: trunk@23477 -
This commit is contained in:
parent
34643c673a
commit
6ed617ebe2
@ -64,9 +64,15 @@ uses
|
||||
// All interface communication (Our additions)
|
||||
{$I lclintfh.inc}
|
||||
|
||||
//-------------------------
|
||||
// Some MACROs
|
||||
//-------------------------
|
||||
function MakeLong(A,B: Word): LongInt; inline;
|
||||
function MakeWord(A,B: Byte): Word; inline;
|
||||
function MakeRop4(fore,back: DWORD): DWORD; inline;
|
||||
function IndexToOverlayMask(iOverlay: UINT): UINT; inline;
|
||||
|
||||
function MakeLong(A,B : Word) : LongInt; inline;
|
||||
function MakeWord(A,B : Byte) : Word; inline;
|
||||
//-------------------------
|
||||
|
||||
function PredefinedClipboardFormat(
|
||||
AFormat: TPredefinedClipboardFormat): TClipboardFormat;
|
||||
@ -190,10 +196,20 @@ begin
|
||||
end;
|
||||
|
||||
function MakeWord(A,B : Byte) : Word; inline;
|
||||
Begin
|
||||
begin
|
||||
Result := A or B shl 8;
|
||||
end;
|
||||
|
||||
function MakeRop4(fore,back: DWORD): DWORD; inline;
|
||||
begin
|
||||
Result := ((back shl 8) and $FF000000) or fore;
|
||||
end;
|
||||
|
||||
function IndexToOverlayMask(iOverlay: UINT): UINT; inline;
|
||||
begin
|
||||
Result := iOverlay shl 8;
|
||||
end;
|
||||
|
||||
function PredefinedClipboardFormat(AFormat: TPredefinedClipboardFormat
|
||||
): TClipboardFormat;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user