FreePM/API

Материал из OS8.

Window API (Win_***)

Initialize/Terminate Interface

  • WinInitialize
  • WinTerminate

Message handling

General Window functions

Window positioning

Pointer management

Keyboard and mouse

Graphic API (Gpi_***)

global primitive functions

  • GpiSetColor
  • GpiQueryColor

line primitive functions

  • GpiBox
  • GpiMove
  • GpiLine
  • GpiPolyLine
  • GpiPolyLineDisjoint

area primitive functions

character primitive functions

bitmap functions

logical lColor table functions

Palette manager functions

Structures

RECTL Rectangle structure.

typedef struct _RECTL 
{
    LONG   xLeft;    /*  X-coordinate of left-hand edge of rectangle. */
    LONG   yBottom;  /*  Y-coordinate of bottom edge of rectangle. */
    LONG   xRight;   /*  X-coordinate of right-hand edge of rectangle. */
    LONG   yTop;     /*  Y-coordinate of top edge of rectangle. */
} RECTL;
typedef RECTL *PRECTL;