Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/src/lcd/lcd_mem_fragment.h

66 lines
1.5 KiB
C
Raw Normal View History

2023-11-09 20:19:51 +08:00
/**
* File: lcd_mem_fragment.h
* Author: AWTK Develop Team
* Brief: mem fragment based implemented lcd interface
*
* Copyright (c) 2018 - 2023 Guangzhou ZHIYUAN Electronics Co.,Ltd.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* license file for more details.
*
*/
/**
* history:
* ================================================================
* 2019-11-14 li xianjing <xianjimli@hotmail.com> created
*
*/
#ifndef LCD_MEM_FRAGMENT_H
#define LCD_MEM_FRAGMENT_H
#include "base/lcd.h"
BEGIN_C_DECLS
/**
* @class lcd_mem_fragment_t
* @parent lcd_t
* LCD
*
* framebufferframebuffer
*
*
*/
/**
* @method lcd_mem_fragment_create
* @export none
* lcd对象
*
* @param {wh_t} w
* @param {wh_t} h
*
* @return {lcd_t*} lcd对象
*/
lcd_t* lcd_mem_fragment_create(wh_t w, wh_t h);
/**
* @method lcd_mem_fragment_get_buff
* @export none
*
* framebuffer的地址
*
* @param {lcd_t*} lcd lcd对象
*
* @return {uint8_t*} framebuffer的地址
*/
uint8_t* lcd_mem_fragment_get_buff(lcd_t* lcd);
END_C_DECLS
#endif /*LCD_MEM_FRAGMENT_H*/