fix identifier violation

This commit is contained in:
idea4good 2019-02-02 11:30:40 +08:00
parent 7c24c78575
commit b4ceabfc92
24 changed files with 95 additions and 95 deletions

View File

@ -73,7 +73,7 @@ GuiLite只是一个框架本身并不能生成UI。为了能够展示如何
| HelloAnimation | Windows, Linux | 动画的应用 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HelloAnimation/README.md) | 初级 |
| HelloParticle | Windows, Linux, STM32F103, STM32F429 | 粒子效果的应用 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HelloParticle/README.md) | 初级 |
| HelloSlide | Windows, Linux | 滑屏界面的应用 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HelloSlide/README.md) | 中级 |
| HelloWave | Windows, Linux, STM32F103, STM32F429 | 波形控件的应用 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HelloWave/README.md) | 中级 |
| HelloWave | Windows, Linux, STM32F103, STM32F429 | 波形控件的应用,及单片机移植办法 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HelloWave/README.md) | 中级 |
| HostMonitor | iOS, Mac, Android, Windows, Linux | 创建复杂界面,扩展自定义控件,适配全平台 | [编译/运行](https://gitee.com/idea4good/GuiLiteSamples/blob/master/HostMonitor/README.md) | 高级 |
## 开发文档

View File

@ -1,5 +1,5 @@
#ifndef _API_H_
#define _API_H_
#ifndef API_H
#define API_H
#define REAL_TIME_TASK_CYCLE_MS 50
#define XXX -999

View File

@ -1,5 +1,5 @@
#ifndef __AUDIO_MANGE_H__
#define __AUDIO_MANGE_H__
#ifndef AUDIO_MANGE_H
#define AUDIO_MANGE_H
enum AUDIO_TYPE
{

View File

@ -1,5 +1,5 @@
#ifndef _BITMAP_UNIT_H_
#define _BITMAP_UNIT_H_
#ifndef BITMAP_UNIT_H
#define BITMAP_UNIT_H
class c_surface;
class c_bitmap

View File

@ -1,5 +1,5 @@
#ifndef _DISPLAY_H_
#define _DISPLAY_H_
#ifndef DISPLAY_H
#define DISPLAY_H
#define SURFACE_CNT_MAX 6//root + pages

View File

@ -1,5 +1,5 @@
#ifndef _MSG_H
#define _MSG_H
#ifndef MSG_H
#define MSG_H
typedef struct
{

View File

@ -1,5 +1,5 @@
#ifndef _RECT_H
#define _RECT_H
#ifndef RECT_H
#define RECT_H
#define ALIGN_HCENTER 0x00000000L
#define ALIGN_LEFT 0x01000000L

View File

@ -1,5 +1,5 @@
#ifndef _RESOURCE_H_
#define _RESOURCE_H_
#ifndef RESOURCE_H
#define RESOURCE_H
//BITMAP
typedef struct struct_bitmap_info

View File

@ -1,5 +1,5 @@
#ifndef _GAL_H_
#define _GAL_H_
#ifndef GAL_H
#define GAL_H
struct FRAME_LAYER
{

View File

@ -1,5 +1,5 @@
#ifndef _WAVE_BUFFER_H_
#define _WAVE_BUFFER_H_
#ifndef WAVE_BUFFER_H
#define WAVE_BUFFER_H
#define WAVE_BUFFER_LEN 1024
#define WAVE_READ_CACHE_LEN 8

View File

@ -1,5 +1,5 @@
#ifndef _WAVE_CTRL_H_
#define _WAVE_CTRL_H_
#ifndef WAVE_CTRL_H
#define WAVE_CTRL_H
typedef enum
{

View File

@ -1,5 +1,5 @@
#ifndef _GUI_WND_H_
#define _GUI_WND_H_
#ifndef GUI_WND_H
#define GUI_WND_H
//Window attribution
#define GL_ATTR_VISIBLE 0x80000000L

View File

@ -1,5 +1,5 @@
#ifndef _WORD_UNIT_H_
#define _WORD_UNIT_H_
#ifndef WORD_UNIT_H
#define WORD_UNIT_H
class c_surface;
class c_word

View File

@ -1,5 +1,5 @@
#ifndef _BUTTON_H_
#define _BUTTON_H_
#ifndef BUTTON_H
#define BUTTON_H
#define GL_BN_CLICKED 0x1111
#define ON_GL_BN_CLICKED(ctrlId, func) \

View File

@ -1,5 +1,5 @@
#ifndef _DIALOG_H_
#define _DIALOG_H_
#ifndef DIALOG_H
#define DIALOG_H
class c_surface;
class c_dialog;

View File

@ -1,5 +1,5 @@
#ifndef _EDIT_H_
#define _EDIT_H_
#ifndef EDIT_H
#define EDIT_H
#define KEY_BOARD_STYLE 0x00001000L
#define NUM_BOARD_STYLE 0x00002000L

View File

@ -1,5 +1,5 @@
#ifndef _GESTURE_H_
#define _GESTURE_H_
#ifndef GESTURE_H
#define GESTURE_H
typedef enum{
TOUCH_MOVE,

View File

@ -1,5 +1,5 @@
#ifndef _KEYBOARD_H_
#define _KEYBOARD_H_
#ifndef KEYBOARD_H
#define KEYBOARD_H
#define KEYBORAD_CLICK 0x5014
#define ON_KEYBORAD_UPDATE(ctrlId, func) \

View File

@ -1,5 +1,5 @@
#ifndef _LABEL_H_
#define _LABEL_H_
#ifndef LABEL_H
#define LABEL_H
class c_label : public c_wnd
{

View File

@ -1,5 +1,5 @@
#ifndef _LIST_BOX_H_
#define _LIST_BOX_H_
#ifndef LIST_BOX_H
#define LIST_BOX_H
#define MAX_ITEM_NUM 12

View File

@ -1,5 +1,5 @@
#ifndef _MY_RESOURCE_H_
#define _MY_RESOURCE_H_
#ifndef MY_RESOURCE_H
#define MY_RESOURCE_H
typedef struct struct_font_info FONT_INFO;
typedef struct struct_color_rect COLOR_RECT;

View File

@ -1,5 +1,5 @@
#ifndef PAGE_GROUP_H_
#define PAGE_GROUP_H_
#ifndef PAGE_GROUP_H
#define PAGE_GROUP_H
#define MAX_PAGES 5

View File

@ -1,5 +1,5 @@
#ifndef _SPIN_BOX_H_
#define _SPIN_BOX_H_
#ifndef SPIN_BOX_H
#define SPIN_BOX_H
#define GL_SPIN_SELECT 0x2222
#define GL_SPIN_CONFIRM 0x3333

View File

@ -1,5 +1,5 @@
#ifndef _TABLE_H_
#define _TABLE_H_
#ifndef TABLE_H
#define TABLE_H
#define MAX_COL_NUM 30
#define MAX_ROW_NUM 30