Contains the non-GUI dependent parts of LCL Platform definition.
lclplatformdef.pas
contains types, constants, variables and routines used in non-GUI dependent parts of LCL Platform definition. This file is part of the Lazarus Component Library (LCL).
Represents the platforms supported in the LCL.
GIMP ToolKit.
GTK version 2.
GTK version 3.
Windows API (formerly called Win32 API).
Windows CE.
MacOS Carbon API.
QT version 4.
QT version 5.
FreePascal GUI.
No GUI.
MacOS Cocoa API.
Custom-drawn.
Magic User Interface (MUI) for AmigaOS, AROS.
Set type used to store TLCLPlatform value(s).
Gets the platform enumeration value for the specified directory name.
TLCLPlatform enumeration value for the given directory name.
Directory name to convert to a TLCLPlatform enumeration value.
Gets the value in the BuildLCLWidgetType variable.

Used in the lazbuild utility to get the target widgetset using the platform defines.

TLCLPlatform enumeration value for the platform.
Array constant with the directory names for supported LCL platforms.

LCLPlatformDirNames is a array of Strings with directory names for the supported LCL platforms. The directory names are relative to the './lcl/interfaces/' base path. Values in the array are indexed by TLCLPlatform enumeration values. For example:

// var SDir, SName: String;

// SDir contains 'win32' SDir := LCLPlatformDirNames[lpWin32];

// SName contains 'win32/win64' SName := LCLPlatformDisplayNames[lpWin32];

Use LCLPlatformDisplayNames to get the display name for a given TLCLPlatform enumeration value.

Array constant with the display names for supported LCL platforms.

LCLPlatformDisplayNames is a array of Strings with display names for the supported LCL platforms. Values in the array are indexed by TLCLPlatform enumeration values. For example:

// var SDir, SName: String;

// SDir contains 'win32' SDir := LCLPlatformDirNames[lpWin32];

// SName contains 'win32/win64' SName := LCLPlatformDisplayNames[lpWin32];

Use LCLPlatformDirNames to get the directory name for a given TLCLPlatform enumeration value.

Gets the TLCLPlatform enumeration value for the current platform.