Picture Control

Microchip Graphics Library

Microchip Graphics Library
Picture Control

It supports only Keyboard inputs, replying to any touch screen events with the message: PICT_MSG_SELECTED. 

 

The Picture Object is rendered using the assigned style scheme. The following figure illustrates the color assignments. 

 

 

Functions
 
Name 
Description 
 
This function creates a PICTURE object with the parameters given. It automatically attaches the new object into a global linked list of objects and returns the address of the object. 
 
This function renders the object on the screen using the current parameter settings. Location of the object is determined by the left, top, right and bottom parameters. The colors used are dependent on the state of the object.
When rendering objects of the same type, each object must be rendered completely before the rendering of the next object is started. This is to avoid incomplete object rendering. 
 
This function evaluates the message from a user if the message will affect the object or not. The table below enumerates the translated messages for each event accepted by the PICTURE Object.
 
Macros
Name 
Description 
This macro sets the bitmap used in the object. 
This macro returns the pointer to the bitmap used in the object. 
This macro returns the current scale factor used to render the bitmap. 
This macro sets the scale factor used to render the bitmap used in the object. 
Structures
Name 
Description 
The structure contains data for picture control 
Topics
Name 
Description 
List of Picture Control bit states. 
Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved