• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

circle_spe.h

Go to the documentation of this file.
00001 /****************** COPYRIGHT (C) 2007-2010 RAISONANCE S.A.S. *****************/
00012 /******************************************************************************/
00013 
00014 /* Define to prevent recursive inclusion -------------------------------------*/
00015 #ifndef __CIRSPE_H
00016 #define __CIRSPE_H
00017 
00018 /* Primers 1 & 2 -------------------------*/
00019 #ifdef PRIMER1
00020 #define SCREEN_WIDTH        128         /*< Default application Width of visible screen in pixels. */
00021 #define SCREEN_HEIGHT       128         /*< Default application Height of visible screen in pixels. */
00022 #define CHIP_SCREEN_WIDTH   128         /*< Width of screen driven by LCD controller in pixels. */
00023 #define CHIP_SCREEN_HEIGHT  128         /*< Height of screen driven by LCD controller in pixels. */
00024 typedef enum                            /* Offset between physical and virtual screen   */
00025 {
00026     OFFSET_OFF = 0,
00027     OFFSET_ON = 0
00028 } ENUM_Offset;
00029 #endif
00030 
00031 #ifdef PRIMER2
00032 #define BUTTON_HEIGHT       32          /*< Height of toolbar button.  */
00033 #define BUTTON_WIDTH        32          /*< Width of toolbar button.  */
00034 #define ICON_HEIGHT         32          /*< Height of toolbar icon.  */
00035 #define ICON_WIDTH          32          /*< Width of toolbar icon.  */
00036 #define SCREEN_WIDTH        128         /*< Default application Width of visible screen in pixels.   */
00037 #define SCREEN_HEIGHT       128         /*< Default application Height of visible screen in pixels.  */
00038 #define CHIP_SCREEN_WIDTH   132         /*< Width of screen driven by LCD controller in pixels.  */
00039 #define CHIP_SCREEN_HEIGHT  132         /*< Height of screen driven by LCD controller in pixels.  */
00040 typedef enum                            /* Offset between physical and virtual screen   */
00041 {
00042     OFFSET_OFF = 0,
00043     OFFSET_ON = 0
00044 } ENUM_Offset;
00045 #endif
00046 
00047 /* Open4 (STM32E/STM32C...)---------------*/
00048 #ifdef OPEN4
00049 #define BUTTON_HEIGHT       80          /*< Height of toolbar button.  */
00050 #define BUTTON_WIDTH        60          /*< Width of toolbar button.  */
00051 #define ICON_HEIGHT         60          /*< Height of toolbar icon.  */
00052 #define ICON_WIDTH          60          /*< Width of toolbar icon.  */
00053 #define SCREEN_WIDTH        240         /*< Default application Width of visible screen in pixels.   */
00054 #define SCREEN_HEIGHT       240         /*< Default application Height of visible screen in pixels.  */
00055 #define CHIP_SCREEN_WIDTH   240         /*< Width of screen driven by LCD controller in pixels.  */
00056 #define CHIP_SCREEN_HEIGHT  320         /*< Height of screen driven by LCD controller in pixels.  */
00057 typedef enum                            /* Offset between physical and virtual screen   */
00058 {
00059     OFFSET_OFF = 0,
00060     OFFSET_ON = ( 240 - 128 ) / 2
00061 } ENUM_Offset;
00062 #endif
00063 
00064 #endif /*__CIRSPE_H */