mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 07:50:43 +01:00
* Added XGetVisualInfo
This commit is contained in:
parent
b3a33a40b8
commit
eb178568eb
@ -1,3 +1,5 @@
|
||||
{$MODE objfpc} // get integer sizes right
|
||||
|
||||
Unit XUtil;
|
||||
|
||||
interface
|
||||
@ -302,6 +304,14 @@ type TXContext = Integer;
|
||||
XStringToContext(string) ((XContext) XrmStringToQuark(string))
|
||||
}
|
||||
|
||||
const _xlib = 'X11';
|
||||
|
||||
function XGetVisualInfo(display: PDisplay; vinfo_mask: LongInt;
|
||||
vinfo_template: PXVisualInfo; var nitems_return: Integer): PXVisualInfo;
|
||||
cdecl; external _xlib;
|
||||
|
||||
|
||||
|
||||
Implementation
|
||||
|
||||
end.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user