mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-22 12:39:31 +01:00
* Fixed some wrong argument lists
This commit is contained in:
parent
e9c7ec7213
commit
873c2718e0
@ -86,13 +86,13 @@ type
|
|||||||
PGGIColor = ^TGGIColor;
|
PGGIColor = ^TGGIColor;
|
||||||
|
|
||||||
TGGIColor = record
|
TGGIColor = record
|
||||||
r, g, b, a: SmallInt;
|
r, g, b, a: Word;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
PGGIClut = ^TGGIClut;
|
PGGIClut = ^TGGIClut;
|
||||||
|
|
||||||
TGGIClut = record
|
TGGIClut = record
|
||||||
size: SmallInt;
|
size: Word;
|
||||||
data: PGGIColor;
|
data: PGGIColor;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -566,22 +566,22 @@ function ggiParseMode(s: PChar; var m: TGGIMode): Integer; cdecl; external libg
|
|||||||
// Normal flush
|
// Normal flush
|
||||||
function ggiFlush(vis: TGGIVisual): Integer; cdecl; external libggi;
|
function ggiFlush(vis: TGGIVisual): Integer; cdecl; external libggi;
|
||||||
|
|
||||||
// Flush only the specified region if it would improve performance */
|
// Flush only the specified region if it would improve performance
|
||||||
function ggiFlushRegion(vis: TGGIVisual; x, y, w, h: Integer): Integer; cdecl; external libggi;
|
function ggiFlushRegion(vis: TGGIVisual; x, y, w, h: Integer): Integer; cdecl; external libggi;
|
||||||
|
|
||||||
|
|
||||||
// Graphics context
|
// Graphics context
|
||||||
|
|
||||||
function ggiSetGCForeground(vis: TGGIVisual; Color: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiSetGCForeground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
function ggiGetGCForeground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiGetGCForeground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
function ggiSetGCBackground(vis: TGGIVisual; Color: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiSetGCBackground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
function ggiGetGCBackground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiGetGCBackground(vis: TGGIVisual; var Color: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
function ggiSetGCClipping(vis: TGGIVisual; left, top, right, bottom: Integer): Integer; cdecl; external libggi;
|
function ggiSetGCClipping(vis: TGGIVisual; left, top, right, bottom: Integer): Integer; cdecl; external libggi;
|
||||||
function ggiGetGCClipping(vis: TGGIVisual; var left, top, right, bottom: Integer): Integer; cdecl; external libggi;
|
function ggiGetGCClipping(vis: TGGIVisual; var left, top, right, bottom: Integer): Integer; cdecl; external libggi;
|
||||||
|
|
||||||
|
|
||||||
// Color palette manipulation
|
// Color palette manipulation
|
||||||
function ggiMapColor(vis: TGGIVisual; Color: TGGIColor): TGGIPixel; cdecl; external libggi;
|
function ggiMapColor(vis: TGGIVisual; var Color: TGGIColor): TGGIPixel; cdecl; external libggi;
|
||||||
function ggiUnmapPixel(vis: TGGIVisual; pixel: TGGIPixel; var Color: TGGIColor): Integer; cdecl; external libggi;
|
function ggiUnmapPixel(vis: TGGIVisual; pixel: TGGIPixel; var Color: TGGIColor): Integer; cdecl; external libggi;
|
||||||
function ggiPackColors(vis: TGGIVisual; var buf; var cols: TGGIColor; len: Integer): Integer; cdecl; external libggi;
|
function ggiPackColors(vis: TGGIVisual; var buf; var cols: TGGIColor; len: Integer): Integer; cdecl; external libggi;
|
||||||
function ggiUnpackPixels(vis: TGGIVisual; var buf; var cols: TGGIColor; len: Integer): Integer; cdecl; external libggi;
|
function ggiUnpackPixels(vis: TGGIVisual; var buf; var cols: TGGIColor; len: Integer): Integer; cdecl; external libggi;
|
||||||
@ -623,7 +623,7 @@ function ggiFillscreen(vis: TGGIVisual): Integer; cdecl; external libggi;
|
|||||||
|
|
||||||
function ggiDrawPixel(vis: TGGIVisual; x, y: Integer): Integer; cdecl; external libggi;
|
function ggiDrawPixel(vis: TGGIVisual; x, y: Integer): Integer; cdecl; external libggi;
|
||||||
function ggiPutPixel(vis: TGGIVisual; x, y: Integer; pixel: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiPutPixel(vis: TGGIVisual; x, y: Integer; pixel: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
function ggiGutPixel(vis: TGGIVisual; x, y: Integer; var pixel: TGGIPixel): Integer; cdecl; external libggi;
|
function ggiGetPixel(vis: TGGIVisual; x, y: Integer; var pixel: TGGIPixel): Integer; cdecl; external libggi;
|
||||||
|
|
||||||
function ggiDrawLine(vis: TGGIVisual; x, y, xe, ye: Integer): Integer; cdecl; external libggi;
|
function ggiDrawLine(vis: TGGIVisual; x, y, xe, ye: Integer): Integer; cdecl; external libggi;
|
||||||
function ggiDrawHLine(vis: TGGIVisual; x, y, w: Integer): Integer; cdecl; external libggi;
|
function ggiDrawHLine(vis: TGGIVisual; x, y, w: Integer): Integer; cdecl; external libggi;
|
||||||
@ -788,7 +788,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.2 1999-11-12 18:47:34 sg
|
Revision 1.3 2000-04-14 16:57:58 sg
|
||||||
|
* Fixed some wrong argument lists
|
||||||
|
|
||||||
|
Revision 1.2 1999/11/12 18:47:34 sg
|
||||||
* Fixed a small typo...
|
* Fixed a small typo...
|
||||||
|
|
||||||
Revision 1.1 1999/11/10 14:14:34 sg
|
Revision 1.1 1999/11/10 14:14:34 sg
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user