mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
41 lines
842 B
C
41 lines
842 B
C
/**
|
|
* File: demo_main.c
|
|
* Author: AWTK Develop Team
|
|
* Brief: demo main
|
|
*
|
|
* Copyright (c) 2018 - 2020 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:
|
|
* ================================================================
|
|
* 2018-02-16 Li XianJing <xianjimli@hotmail.com> created
|
|
*
|
|
*/
|
|
|
|
#include "awtk.h"
|
|
#include "assets.h"
|
|
|
|
ret_t application_init(void) {
|
|
window_open("edit");
|
|
|
|
return RET_OK;
|
|
}
|
|
|
|
ret_t application_exit() {
|
|
log_debug("application_exit\n");
|
|
return RET_OK;
|
|
}
|
|
|
|
#define LCD_WIDTH 800
|
|
#define LCD_HEGHT 600
|
|
#define AWTK_APP_TYPE APP_DESKTOP
|
|
|
|
#include "awtk_main.inc"
|