You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

#pragma once
#include <stdint.h>
#if defined(EEZ_PLATFORM_STM32)
static const uint32_t DISPLAY_WIDTH = 800;
static const uint32_t DISPLAY_HEIGHT = 480;
static const uint32_t DISPLAY_BPP = 16; // RGB565
#endif
#if defined(EEZ_PLATFORM_SIMULATOR)
static const uint32_t DISPLAY_WIDTH = 1000;
static const uint32_t DISPLAY_HEIGHT = 680;
static const uint32_t DISPLAY_BPP = 32; // RGBA8888
static const char *TITLE = "STM32F746G-DISCO Template";
static const char *ICON = "icon.png";
#endif
#define MAX_NUM_OF_Y_AXES 18
#define MAX_NUM_OF_Y_VALUES MAX_NUM_OF_Y_AXES
#define OPTION_KEYBOARD 0
#define OPTION_MOUSE 0
#define CUSTOM_VALUE_TYPES
#define DISPLAY_BACKGROUND_LUMINOSITY_STEP_MIN 0
#define DISPLAY_BACKGROUND_LUMINOSITY_STEP_MAX 20
#define DISPLAY_BACKGROUND_LUMINOSITY_STEP_DEFAULT 10
#define UTF8_SUPPORT 0
#if defined(EEZ_PLATFORM_STM32)
static const uint32_t GUI_STATE_BUFFER_SIZE = 64 * 1024;
#endif
#if defined(EEZ_PLATFORM_SIMULATOR)
static const uint32_t GUI_STATE_BUFFER_SIZE = 128 * 1024;
#endif
#define OPTION_KEYPAD 1