Component evidence

display/lv_display.h

lvgl · include/lvgl/display/lv_display.h · c · MIT
ui

Header defining LVGL display API for creating and managing displays.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/lvgl/lvgl | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * @file lv_display.h
 *
 */

#ifndef LV_DISPLAY_H
#define LV_DISPLAY_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/
#include "../lv_types.h"
#include "../core/lv_timer.h"
#include "../core/lv_event.h"
#include "../draw/lv_color.h"
#include "../core/lv_area.h"

/*********************
 *      DEFINES
 *********************/

#ifndef LV_ATTRIBUTE_FLUSH_READY
#define LV_ATTRIBUTE_FLUSH_READY
#endif

/**********************
 *      TYPEDEFS
 **********************/

typedef enum {
    /**
     * Use the buffer(s) to render the screen is smaller parts.
     * This way the buffers can be smaller then the display to

... (truncated -- full source via MCP)