Phoenard
Classes | Macros | Typedefs | Variables
PHNDisplay.h File Reference

Contains the PHN_Display used for drawing, touch input and widgets. More...

#include "PHNDisplayHardware.h"
#include "PHNSettings.h"
#include "PHNWidget.h"
#include "PHNDate.h"
#include <utility/PHNUtils.h>

Go to the source code of this file.

Classes

struct  Viewport
 Struct to hold the viewport information. More...
 
struct  PressPoint
 Struct to hold the touch screen input information. More...
 
struct  TextOptions
 Struct to hold the screen text drawing options. More...
 
struct  TextBounds
 Struct to hold the information for drawing text inside an area. More...
 
struct  Imageheader_LCD
 Struct to hold the header information of the LCD image format. More...
 
struct  Imageheader_BMP
 Struct to hold the header information of the Bitmap image format. More...
 
struct  Color_ARGB
 Struct to hold ARGB 32-bit color information used in bitmaps. More...
 
class  PHN_Display
 Simplifies the use of the display with drawing, touch input and widgets . More...
 

Macros

#define TFTLCD_TOUCH_PRESSURE_THRESHOLD   90
 
#define TFTLCD_TOUCH_PRESSDELAY   30
 
#define WRAPMODE_DOWN   0x0
 
#define WRAPMODE_UP   0x4
 
#define TFTLCD_TOUCH_SMOOTH(x)   (0.01 * abs(x) * x)
 

Typedefs

typedef struct TextBounds TextBounds
 Struct to hold the information for drawing text inside an area.
 

Variables

PHN_Display display
 Global variable from which the display functions can be accessed.
 

Detailed Description

Contains the PHN_Display used for drawing, touch input and widgets.