Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

LgiDefs.h File Reference

Defines and types Copyright (C) 1999-2004, Matthew Allen. More...

Go to the source code of this file.

Defines

#define LGI_OS_UNKNOWN   0
 Unknown OS.
#define LGI_OS_WIN9X   1
 Windows 95, 98[se] or ME. (95 isnt't really supported but mostly works anyway).
#define LGI_OS_WINNT   2
 Windows NT, 2k, XP or later. (Supported).
#define LGI_OS_BEOS   3
 BeOS r5. (Used to be supported).
#define LGI_OS_LINUX   4
 Linux. (Kernels v2.4 and up supported).
#define LGI_OS_ATHEOS   5
 Atheos. (Not supported).
#define LGI_OS_MAC_OS_9   6
 Mac OS-9. (Not supported).
#define LGI_OS_MAC_OS_X   7
 Mac OS-X. (Don't do it! Think of Be, Inc!).
#define LGI_OS_MAX   8
 One higher than the maximum OS define.
#define LC_BLACK   LgiColour(0)
 Black.
#define LC_DKGREY   LgiColour(1)
 Dark grey.
#define LC_MIDGREY   LgiColour(2)
 Medium grey.
#define LC_LTGREY   LgiColour(3)
 Light grey.
#define LC_WHITE   LgiColour(4)
 White.
#define LC_SHADOW   LgiColour(5)
 3d dark shadow
#define LC_LOW   LgiColour(6)
 3d light shadow
#define LC_MED   LgiColour(7)
 Flat colour for dialogs, windows and buttons.
#define LC_HIGH   LgiColour(8)
 3d dark hilight
#define LC_LIGHT   LgiColour(9)
 3d light hilight
#define LC_DIALOG   LgiColour(10)
 Dialog colour.
#define LC_WORKSPACE   LgiColour(11)
 Workspace area.
#define LC_TEXT   LgiColour(12)
 Default text colour.
#define LC_SELECTION   LgiColour(13)
 Selection colour.
#define LC_SEL_TEXT   LgiColour(14)
 Selected text colour.
#define LCUR_Normal   0
 Normal arrow.
#define LCUR_UpArrow   1
 Upwards arrow.
#define LCUR_Cross   2
 Crosshair.
#define LCUR_Wait   3
 Hourglass/watch.
#define LCUR_Ibeam   4
 Ibeam/text entry.
#define LCUR_SizeVer   5
 Vertical resize (|).
#define LCUR_SizeHor   6
 Horizontal resize (-).
#define LCUR_SizeBDiag   7
 Diagonal resize (/).
#define LCUR_SizeFDiag   8
 Diagonal resize (\).
#define LCUR_SizeAll   9
 All directions resize.
#define LCUR_Blank   10
 Blank/invisible cursor (don't use!).
#define LCUR_SplitV   11
 Vertical splitting.
#define LCUR_SplitH   12
 Horziontal splitting.
#define LCUR_PointingHand   13
 A pointing hand.
#define LCUR_Forbidden   14
 A slashed circle.
#define LCUR_DropCopy   15
 Copy Drop.
#define LCUR_DropMove   16
 Copy Move.
#define LGI_MET_DECOR_X   1
#define LGI_MET_DECOR_Y   2
#define LGI_MET_MENU   3

Typedefs

typedef char int8
 8-bit signed int type (size safe, garenteed to be 8 bits)
typedef unsigned char uint8
 8-bit unsigned int type (size safe, garenteed to be 8 bits)
typedef short int16
 16-bit signed int type (size safe, garenteed to be 16 bits)
typedef unsigned short uint16
 16-bit unsigned int type (size safe, garenteed to be 16 bits)
typedef int int32
 32-bit signed int type (size safe, garenteed to be 32 bits)
typedef unsigned int uint32
 32-bit unsigned int type (size safe, garenteed to be 32 bits)
typedef signed long long int64
 64-bit signed int type (size safe, garenteed to be 64 bits)
typedef unsigned long long uint64
 64-bit unsigned int type (size safe, garenteed to be 64 bits)
typedef unsigned int char16
 Wide unicode char.


Detailed Description

Defines and types Copyright (C) 1999-2004, Matthew Allen.

Author:
Matthew Allen
Date:
24/9/1999

Define Documentation

#define LGI_MET_DECOR_X   1
 

Get the standard window horizontal border size

See also:
GApp::GetMetric()

#define LGI_MET_DECOR_Y   2
 

Get the standard window vertical border size

See also:
GApp::GetMetric()

#define LGI_MET_MENU   3
 

Get the height of a single line menu bar

See also:
GApp::GetMetric()

#define LGI_OS_ATHEOS   5
 

Atheos. (Not supported).

See also:
LgiGetOs

#define LGI_OS_BEOS   3
 

BeOS r5. (Used to be supported).

See also:
LgiGetOs

#define LGI_OS_LINUX   4
 

Linux. (Kernels v2.4 and up supported).

See also:
LgiGetOs

#define LGI_OS_MAC_OS_9   6
 

Mac OS-9. (Not supported).

See also:
LgiGetOs

#define LGI_OS_MAC_OS_X   7
 

Mac OS-X. (Don't do it! Think of Be, Inc!).

See also:
LgiGetOs

#define LGI_OS_UNKNOWN   0
 

Unknown OS.

See also:
LgiGetOs

#define LGI_OS_WIN9X   1
 

Windows 95, 98[se] or ME. (95 isnt't really supported but mostly works anyway).

See also:
LgiGetOs

#define LGI_OS_WINNT   2
 

Windows NT, 2k, XP or later. (Supported).

See also:
LgiGetOs


Typedef Documentation

typedef unsigned int char16
 

Wide unicode char.

This is 16 bits on Win32 and 32 bits on unix platforms. There are a number of wide character string function available for manipulating wide char strings.

Firstly to convert to and from utf-8 there is:

Wide versions of standard library functions are available:


Generated on Wed Oct 26 14:46:54 2005 for Lgi by  doxygen 1.4.1