GRID Structure

Microchip Graphics Library

Microchip Graphics Library
GRID Structure
C
typedef struct {
  OBJ_HEADER hdr;
  SHORT numColumns;
  SHORT numRows;
  SHORT cellHeight;
  SHORT cellWidth;
  SHORT focusX;
  SHORT focusY;
  GRIDITEM * gridObjects;
} GRID;
Overview

Defines the parameters required for a grid Object. Clipping is not supported in grid object.

Members
Members 
Description 
OBJ_HEADER hdr; 
Generic header for all Objects (see OBJ_HEADER). 
SHORT numColumns; 
Number of columns drawn for the Grid
SHORT numRows; 
Number of rows drawn for the Grid
SHORT cellHeight; 
The height of each cell in pixels. 
SHORT cellWidth; 
The width of each cell in pixels. 
SHORT focusX; 
The x position of the cell to be focused. 
SHORT focusY; 
The y position of the cell to be focused. 
GRIDITEM * gridObjects; 
The pointer to grid items 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved